Manage your saved collections, adding & removing items via API.
Create a new saved collection.
POST
https://stevesie.com/cloud/api/v1/collections
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
}
]
}
https://stevesie.com/cloud/api/v1/collections
https://stevesie.com/cloud/api/v1/collections/COLLECTION_ID
https://stevesie.com/cloud/api/v1/collections/COLLECTION_ID
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
}
]
}