Get collection
Description
Retrieve a single collection by ID
Url
1 |
GET /api/v0/collection/UUID/ |
Parameters
optional
- uuid: collection's unique identifier
Example
Get the collection identified by UUID 806e54535ffd464f83545c902e664aca
Request
1 |
curl 'https://my.craftar.net/api/v0/collection/806e54535ffd464f83545c902e664aca/?api_key=123456789abcdefghijk123456789abcdefghijk' |
Response
HTTP Status code: 200 OK
1 2 3 4 5 |
{ "uuid": "806e54535ffd464f83545c902e664aca", "resource_uri": "/api/v0/collection/806e54535ffd464f83545c902e664aca/", "name": "My paintings" } |
Errors
Collection not found
HTTP Status code: 404 Not Found