Gifts
2 routes. Paths are relative to https://api.intersink.com/v1.
List
GET/gifts
Needs a signed-in user (Bearer token or access_token cookie).
List the catalog (the picker). ?status=&search=&min_price=&max_price=&page=&limit=.
Parameters
| Name | Type | Description |
|---|---|---|
| status | string, query | One of: "published", "draft", "archived". |
| search | string, query | At most 150 characters. |
| min_price | number, query | Minimum 0. |
| max_price | number, query | Minimum 0. |
| page | number, query | Minimum 1. |
| limit | number, query | Minimum 1. |
Response
200. The payload in data is not described in the spec yet.
Get one
GET/gifts/{id}
Needs a signed-in user (Bearer token or access_token cookie).
One catalog item + file_url.
Parameters
| Name | Type | Description |
|---|---|---|
| idrequired | number, path |
Response
200. The payload in data is of type object.