Skip to content

Commit

Permalink
Remove favorites and old docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Micacchi committed Dec 18, 2015
1 parent c644607 commit 0e7dee2
Show file tree
Hide file tree
Showing 29 changed files with 37 additions and 1,258 deletions.
395 changes: 2 additions & 393 deletions 500px-api.xml

Large diffs are not rendered by default.

18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,17 @@ See [status.500px.com](http://status.500px.com) for API status updates, outages,
- **[<code>GET</code> photos/search](https://github.com/500px/api-documentation/blob/master/endpoints/photo/GET_photos_search.md)**
- **[<code>GET</code> photos/:id](https://github.com/500px/api-documentation/blob/master/endpoints/photo/GET_photos_id.md)**
- **[<code>GET</code> photos/:id/comments](https://github.com/500px/api-documentation/blob/master/endpoints/photo/GET_photos_id_comments.md)**
- **[<code>GET</code> photos/:id/favorites](https://github.com/500px/api-documentation/blob/master/endpoints/photo/GET_photos_id_favorites.md)**
- **[<code>GET</code> photos/:id/votes](https://github.com/500px/api-documentation/blob/master/endpoints/photo/GET_photos_id_votes.md)**
- **[<code>PUT</code> photos/:id](https://github.com/500px/api-documentation/blob/master/endpoints/photo/PUT_photos_id.md)**
- **[<code>POST</code> photos](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos.md)**
- **[<code>POST</code> photos/upload](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_upload.md)**
- **[<code>POST</code> photos/:id/vote](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_id_vote.md)**
- **[<code>DELETE</code> photos/:id/vote](https://github.com/500px/api-documentation/blob/master/endpoints/photo/DELETE_photos_id_vote.md)**
- **[<code>POST</code> photos/:id/tags](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_id_tags.md)**
- **[<code>POST</code> photos/:id/favorite](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_id_favorite.md)**
- **[<code>POST</code> photos/:id/comments](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_id_comments.md)**
- **[<code>POST</code> photos/:id/report](https://github.com/500px/api-documentation/blob/master/endpoints/photo/POST_photos_id_report.md)**
- **[<code>DELETE</code> photos/:id](https://github.com/500px/api-documentation/blob/master/endpoints/photo/DELETE_photos_id.md)**
- **[<code>DELETE</code> photos/:id/tags](https://github.com/500px/api-documentation/blob/master/endpoints/photo/DELETE_photos_id_tags.md)**
- **[<code>DELETE</code> photos/:id/favorite](https://github.com/500px/api-documentation/blob/master/endpoints/photo/DELETE_photos_id_favorite.md)**

#### Upload Method

Expand Down Expand Up @@ -93,19 +91,9 @@ See [status.500px.com](http://status.500px.com) for API status updates, outages,
- **[<code>POST</code> users/:user_id/galleries](https://github.com/500px/api-documentation/blob/master/endpoints/galleries/POST_galleries.md)**
- **[<code>DELETE</code> users/:user_id/galleries/:id](https://github.com/500px/api-documentation/blob/master/endpoints/galleries/DELETE_galleries_id.md)**

#### Blog Resources
#### Collections/Sets Resources

- **[<code>GET</code> blogs](https://github.com/500px/api-documentation/blob/master/endpoints/blog/GET_blogs.md)**
- **[<code>GET</code> blogs/:id](https://github.com/500px/api-documentation/blob/master/endpoints/blog/GET_blogs_id.md)**
- **[<code>GET</code> blogs/:id/comments](https://github.com/500px/api-documentation/blob/master/endpoints/blog/GET_blogs_id_comments.md)**
- **[<code>POST</code> blogs/:id/comments](https://github.com/500px/api-documentation/blob/master/endpoints/blog/POST_blogs_id_comments.md)**
- **[<code>POST</code> blogs](https://github.com/500px/api-documentation/blob/master/endpoints/blog/POST_blogs.md)**
- **[<code>PUT</code> blogs/:id](https://github.com/500px/api-documentation/blob/master/endpoints/blog/PUT_blogs_id.md)**
- **[<code>DELETE</code> blogs/:id](https://github.com/500px/api-documentation/blob/master/endpoints/blog/DELETE_blogs_id.md)**

#### Collections Resources

- **DEPRECATED** for [Gallery Resources](#gallery-resources)
- **DEPRECATED**. Please use [Gallery Resources](#gallery-resources) instead

#### Comment Resources

Expand Down
40 changes: 3 additions & 37 deletions basics/formats_and_terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Accessing the following streams is possible though means of the API:

### User-based streams:
- [User’s Photos][], all active public photos of a given user
- [User’s Favorites][], all photos a user has added to their favourites
- [User’s Friends’ Photos][Week], a collection of User’s Photos streams from all followings of a given user

### Special streams:
Expand All @@ -33,7 +32,6 @@ Accessing the following streams is possible though means of the API:
[Yesterday]: http://500px.com/fresh/yesterday
[Week]: http://500px.com/fresh/week
[User’s Photos]: http://500px.com/iansobolev
[User’s Favorites]: http://500px.com/iansobolev/favorites
[Editors’ Choice]: http://500px.com/editors

***
Expand Down Expand Up @@ -155,7 +153,7 @@ Categories of photos may be specified by their ID or string name, depending on t
<tr><td>1</td><td>Lightbox</td><td>Marketplace photos</td></tr>
<tr><td>3</td><td>Portfolio<sup>*</sup></td><td>Photos displayed on the portfolio page</td></tr>
<tr><td>4</td><td>Profile<sup>*</sup></td><td>Photos uploaded by the gallery owner</td></tr>
<tr><td>5</td><td>Favorite</td><td>Photos favorited by the gallery owner</td></tr>
<tr><td>5</td><td>Favorite</td><td>Photos favorited by the gallery owner via the old API.</td></tr>
</table>
<sub>* Can only contain photos uploaded by the gallery owner</sub>

Expand Down Expand Up @@ -188,9 +186,7 @@ The short format of a Photo object includes the following data:
- **width** - The width of the original, unresized photo, integer
- **height** - The height of the origin, unresized photo, integer
- **votes\_count** — Number of votes cast on this photo, integer
- **favorites\_count** — Number of times this photo was added as a favorite on the website, integer
- **comments\_count** — Number of comments this photo has, integer
- **positive_votes_count** - Number of positive votes (likes) this photo has received, integer
- **nsfw** - Boolean value whether the current photo is NSFW
- **sales_count** - The number of sales this photo has
- **highest_rating** - The highest rating this photo has had, decimal
Expand All @@ -200,7 +196,7 @@ The short format of a Photo object includes the following data:
- **image\_url** — URL of the image, string, **deprecated**
- **images** - Array with images URL and sizes
- **user** — Author’s profile in [short format][], object
- **collections_count** - Number of collections this photo is present in, integer
- **galleries_count** - Number of galleries this photo is present in, integer

[Category]: #categories
[License type]: #license_types
Expand Down Expand Up @@ -231,9 +227,7 @@ The full format of a Photo object includes the following data:
- **width** - The width of the original, unresized photo, integer
- **height** - The height of the origin, unresized photo, integer
- **votes\_count** — Number of votes cast on this photo, integer
- **favorites\_count** — Number of times this photo was added as a favorite on the website, integer
- **comments\_count** — Number of comments this photo has, integer
- **positive_votes_count** - Number of positive votes (likes) this photo has received, integer
- **nsfw** - Boolean value whether the current photo is NSFW
- **sales_count** - The number of sales this photo has
- **highest_rating** - The highest rating this photo has had, decimal
Expand All @@ -248,11 +242,10 @@ The full format of a Photo object includes the following data:
- **store_print** - Boolean value indicating whether or not the photo is for sale as a canvas print.
- **editors_choice** - Boolean value indicating whether or not the photo is in Editors' Choice.
- **feature** - The section of the site this photo appears under, string. Possible values are popular upcoming fresh_today fresh_yesterday fresh_week
- **collections_count** - Number of collections this photo is present in, integer
- **galleries_count** - Number of galleries this photo is present in, integer

If you are authenticated when making the request. These additional fields will be returned:
- **voted** — Boolean value whether the current user has voted for this photo
- **favorited** — Boolean value whether the current user has favorited this photo
- **purchased** — Boolean value whether the current user has bought this photo

***
Expand Down Expand Up @@ -300,7 +293,6 @@ The profile format of a User object includes the following data:
- **photos\_count** — Number of active photos posted by the user, integer.
- **galleries\_count** — Number of galleries visible on the user's profile, integer.
- **affection** — Affection value, integer.
- **in\_favorites\_count** — Number of times any photo of the user was added to favorites, integer.
- **friends\_count** — Number of people this user follows, integer.
- **followers\_count** — Number of people this user is being followed by, integer.
- **admin** - Boolean value that will be 1 if the user is a 500px team member.
Expand All @@ -318,31 +310,6 @@ If you are authenticated these additional fields will be returned:

***

## Blog Post object formats

### Short format
The short format of a Blog Post object includes the following data:

- **id** — ID of the blog post, integer
- **title** — Title of the blog post, string
- **created\_at** — Timestamp indicating time the blog post was created, timestamp
- **user** — Author’s profile in [short format][], object

### Full format
The full format of a Blog Post object includes the following data:

- **id** — ID of the blog post, integer
- **longitude** — Longitude attached to the blog post, string
- **latitude** — Latitude attached to the blog post, string
- **title** — Title, string
- **body** — Content of post, string
- **tags** — Comma separated list of tags, string
- **created\_at** — Timestamp indicating time the blog post was created, timestamp
- **user** — Author’s profile in [short format][], object
- **photos** — A list of photos given in [short format][], object

***

## Comment object formats
The profile format of a User object includes the following data:

Expand Down Expand Up @@ -380,7 +347,6 @@ The short format of a Gallery object includes the following data:
- **kind** - Indicates the **[gallery kind][]**, integer
- **created\_at** — Timestamp indicating time the gallery was created, timestamp
- **updated\_at** — Timestamp indicating time the gallery was updated, timestamp
- **thumbnail_photos** - An array of Photo objects in **[short format](https://github.com/500px/api-documentation/blob/master/basics/formats_and_terms.md#short-format)** for use as the gallery's thumbnails. A maximum of five thumbnails will be returned
- **cover_photo** - Array containing a JSON hash of the cover photo's id, size, url, and nsfw flag
- **custom_path** - Custom path of the gallery, string
- **last_added_photo** _(optional)_ - Photo that was last added to the gallery, in **[short format](https://github.com/500px/api-documentation/blob/master/basics/formats_and_terms.md#short-format)**
Expand Down
46 changes: 0 additions & 46 deletions endpoints/blog/DELETE_blogs_id.md

This file was deleted.

103 changes: 0 additions & 103 deletions endpoints/blog/GET_blogs.md

This file was deleted.

85 changes: 0 additions & 85 deletions endpoints/blog/GET_blogs_id.md

This file was deleted.

Loading

0 comments on commit 0e7dee2

Please sign in to comment.