ASI/appdata/:app_id/@collections
GET ^top
Retrieves a list of all collections accessible in the current session. The list may be empty.
Parameters
- tags
Limits the list to this collections whose tags are an exact match to this parameter.
Returns
- 200 - OK
POST ^top
Creates a collection. All parameters are optional.
Parameters
- collection
- read_only
Whether the collection is read-only. Read-only collections can be written to only by their owner; other collections are writable by all users with read access
- title
A title describing the collection.
- metadata
- any_key
Any string
- another_key
Another string
- id
You can set the id for the collection yourself if you want. Must be a globally unique (GUID) string, 8-22 characters (preferably 22), and only letters, numbers and underscores allowed.
- tags
Keywords for the collection.
- owner_id
The id of the user owning the collection. If unspecified, the collection will belong to the application (and will be visible to all users).
- indestructible
Whether the collection is indestructible. Indestructible collections cannot be deleted. Can be set only for collections without an owner.
- priv
Whether the collection is private. A private collection is visible to only the owner and their friends.
Returns
- 201 - Created