Skip to content

Commit

Permalink
POST|PUT v1/collections, KIND of collection
Browse files Browse the repository at this point in the history
  • Loading branch information
vovko committed Jun 28, 2012
1 parent 82ab6dd commit b02455e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions endpoints/collections/POST_collections.md
Expand Up @@ -17,6 +17,7 @@ Essential information:

- **title** _(required)_ — Title for the collection.
- **path** _(required)_ — Path where the collection will be accessible at 500px.com/user/sets/:path.
- **kind** — Kind of the Collection to be created Recognized values: 1 - Portfolio Set (default), 2 - Profile Set.
- **photo_ids** — Comma separated list of Photo ID values to post with the blog.

Optional information:
Expand All @@ -33,6 +34,7 @@ A JSON object with **collections** — An indexed array of Collection objects in
## Errors

- **path** — path of the collection has already been taken.
- **403 Forbidden** — You have to upgrade to create portfolios and sets.

***

Expand Down
1 change: 1 addition & 0 deletions endpoints/collections/PUT_collections_id.md
Expand Up @@ -18,6 +18,7 @@ Essential information:
- **title** _(required)_ — Title for the collection.
- **path** _(required)_ — Path where the collection will be accessible at 500px.com/user/sets/:path.
- **photo_ids** — Comma separated list of Photo ID values to post with the blog.
- **kind** — Change kind of the Collection. Recognized values: 1 - Portfolio Set, 2 - Profile Set.

Optional information:

Expand Down

0 comments on commit b02455e

Please sign in to comment.