Saved Collections API

Manage your saved collections, adding & removing items via API.


Create

Create a new saved collection.

POST https://stevesie.com/cloud/api/v1/collections
Request Body
  • name: Name of the collection
  • items: Initial items to store in the collection (Maximum is 100,000 at a time)

Examples

{ "name": "My Blank Collection" }
{ "name": "My Collection With One Item", "items": [ "New York" ] }
{ "name": "My Collection With a JSON Item", "items": [ { "latitude": 123, "longitude": 456.33, "radius": 0 } ] }

List

GET https://stevesie.com/cloud/api/v1/collections

Destroy

DELETE https://stevesie.com/cloud/api/v1/collections/COLLECTION_ID

Edit

POST https://stevesie.com/cloud/api/v1/collections/COLLECTION_ID
Request Body
  • method: Either "add" or "remove"
  • items: Items to add to or remove from the collection (Maximum is 100,000 at a time)

Examples

{ "method": "add", "items": [ "New York" ] }
{ "method": "add", "items": [ { "latitude": 123, "longitude": 456.33, "radius": 0 } ] }