Skip to content

Commit

Permalink
remove references to deleted JSON endpoint for logged-in user data
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed May 17, 2024
1 parent 51c9436 commit d807ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions source/includes/json/_intro.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# JSON API Endpoints

The JSONP API is a simple way to embed ControlShift petition content in external sites. It's intended for use by a front-end developer embed content on web pages outside of the platform. For example, a developer could:
The JSONP API is a simple way to embed ControlShift petition content in external sites. It's intended for use by a front-end developer to embed content on web pages outside of the platform. For example, a developer could:

* Show petitions
* Allow a user to search for near by petitions
* List petition categories
* Show petitions within an effort
* If a site visitor is logged in, show a users past actions and created petitions

Many of the endpoints can be consumed as JSONP instead of JSON by adding callback or variable parameters to the URLs.

Expand Down
2 changes: 1 addition & 1 deletion source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Welcome to the [ControlShift Labs](http://www.controlshiftlabs.com/) Developer d

We offer several APIs to customers to cover different integration use cases.

- __JSONP API__ Unauthenticated API designed to be consumed by javascript clients written by front-end engineers. Quickly display public information about petitions, efforts, and users on external sites.
- __JSONP API__ Unauthenticated API designed to be consumed by javascript clients written by front-end engineers. Quickly display public information about petitions, efforts, and events on external sites.

- __Webhooks__ Get notified when changes happen so external systems can react.

Expand Down

0 comments on commit d807ec1

Please sign in to comment.