Get Snippets
Changed onLists snippets newest first. Every snippet is public. Rows omit code -- read a single snippet for the markup. users_id narrows to one owner, q is a case-insensitive substring search over name, slug and description. limit is capped at 50.
Request
- Base URLhttps://api.sidequestvr.com
- URLhttps://api.sidequestvr.com/v2/snippets
- Authnone declared
Query parameters
Skips a number of objects from the start of the list. Used for paging.
Limits the number of objects returned.
Filters the returned rows by the ID of the user that owns the snippet
Filters the returned rows by the unique lowercase handle used by the public code endpoint (GET /v2/snippets/code/{slug}). The % (url encoded as %25) can be included in the string as a wildcard.
Filters the returned rows by Case-insensitive substring search over name, slug and description. The % (url encoded as %25) can be included in the string as a wildcard.
Sorts the returned object by one or more parameters. Multiple values can be separated by a comma for sorting on multiple fields.
- name - The name of the snippet
- created_at - When the snippet was created
Orders the results in descending order based on the sortOn specified. If there are multiple sortOns specified, multiple values can be separated by a comma for each corresponding sortOn.
Response
Success
Example response
[
{
"created_at": "1970-04-20 07:10:00+00",
"last_modified": "1970-04-20 07:10:00+00"
}
]Changes
- info
endpoint added
- info