unsplash v1.0.0 Unsplash.Collections View Source
Link to this section Summary
Functions
POST /collections/:collection_id/add
GET /collections
POST /collections
GET /collections/curated
GET /collections/curated/:id/photos
DELETE /collections/:id
GET /collections/featured
GET /collections/:id
GET /collections/curated/:id
GET /collections/:id/related
GET /collections/:id/photos
GET /collections/:id/related
DELETE /collections/:collection_id/add
PUT /collections/:id
Link to this section Functions
POST /collections/:collection_id/add
Args:
collection_id
- The collection’s ID. Required.photo_id
- The photo’s ID. Required.
Requires write_collections
scope
GET /collections
POST /collections
Args:
opts
- Keyword list of options
Options:
title
- The title of the collection. (Required.)description
- The collection’s description. (Optional.)private
- Whether to make this collection private. (Optional; default false).
Requires write_collections
scope
GET /collections/curated
GET /collections/curated/:id/photos
Args:
id
- The collections ID
DELETE /collections/:id
Requires write_collections
scope
GET /collections/featured
GET /collections/:id
Args:
id
- The collections ID
GET /collections/curated/:id
Args:
id
- The collections ID
GET /collections/:id/photos
Args:
id
- The collections ID
DELETE /collections/:collection_id/add
Args:
collection_id
- The collection’s ID. Required.photo_id
- The photo’s ID. Required.
Requires write_collections
scope
PUT /collections/:id
Args:
opts
- Keyword list of options
Options:
title
- The title of the collection. (Required.)description
- The collection’s description. (Optional.)private
- Whether to make this collection private. (Optional; default false).
Requires write_collections
scope