Skip to content

Commit

Permalink
update cors supported
Browse files Browse the repository at this point in the history
  • Loading branch information
lavaturtle committed Aug 2, 2024
1 parent 5b3cb2a commit bfd2bb0
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/includes/json/_calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This retrieves a JSON object representing a calendar.

Where slug is the slug of the calendar you're retrieving.

- × CORS not supported
- ✓ CORS supported
- ✓ JSONP supported

<div></div>
2 changes: 1 addition & 1 deletion source/includes/json/_categories_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This retrieves a JSON array of category objects.

`GET https://demo.controlshiftlabs.com/categories.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Working Example
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_category_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ This retrieves a paginated list of petitions in a category.

`GET https://demo.controlshiftlabs.com/categories/<category slug>.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_effort_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Additionally, successful petitions will have the `successful` attribute set to `

`GET https://demo.controlshiftlabs.com/efforts/<effort slug>.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

Parameter | Default | Description
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_effort_petitions_near.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Depending on how the effort is configured, you can search either by location, or

`GET https://demo.controlshiftlabs.com/efforts/<effort slug>/lookup/query.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_featured_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ This retrieves a JSON object compliant with the [JSON API](http://jsonapi.org/)

`GET https://demo.controlshiftlabs.com/petitions/featured.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_local_details.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ It can be used alongside the `/api/local/points` endpoint; the criteria for incl

`GET https://demo.controlshiftlabs.com/api/local.json`

- &times; CORS not supported
- &check; CORS supported
- &times; JSONP not supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_local_points.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This JSON endpoint returns a complete list of latitude/longitude coordinates for

`GET https://demo.controlshiftlabs.com/api/local/points.json`

- &times; CORS not supported
- &check; CORS supported
- &times; JSONP not supported

<div></div>
2 changes: 1 addition & 1 deletion source/includes/json/_partnership_petitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ This retrieves a paginated list of petitions in a partnership.

`GET https://demo.controlshiftlabs.com/partnerships/<partnership slug>/petitions.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_petitions_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ This JSON endpoint allows you to build an interface where users can search throu

`GET https://demo.controlshiftlabs.com/petitions/search.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down
2 changes: 1 addition & 1 deletion source/includes/json/_single_petition.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This retrieves a single petition object.

`GET https://demo.controlshiftlabs.com/petitions/<slug>.json`

- &times; CORS not supported
- &check; CORS supported
- &check; JSONP supported

#### Query Parameters
Expand Down

0 comments on commit bfd2bb0

Please sign in to comment.