Skip to content

photo 'short' format returned doesn't match api documentation #40

Open
@rjhornsby

Description

When calling the photos endpoint /v1/photos.json?feature=user&username=:username&rpp=1&page=1, I expect to get back the short format of each photo's data, as described here

https://github.com/500px/api-documentation/blob/master/basics/formats_and_terms.md#short-format

However, several fields listed there are missing, including 'taken_at' and others. This is what a short-format object looks like right now

{ "id": 37036778, "name": "Who was he?", "description": "Leavenworth Natl Cemetary. We know his name and when he died, but ...who was he?", "times_viewed": 7, "rating": 0, "created_at": "2013-06-08T23:49:34-04:00", "category": 6, "privacy": false, "width": 4288, "height": 2848, "votes_count": 0, "favorites_count": 0, "comments_count": 0, "nsfw": false, "license_type": 0, "image_url": "http://pcdn.500px.net/37036778/3f0e0a86466a5697a950c92cdefe61a34cd0a5fa/2.jpg", "images": [ { "size": 2, "url": "http://pcdn.500px.net/37036778/3f0e0a86466a5697a950c92cdefe61a34cd0a5fa/2.jpg" } ], "user": { "id": 612531, "username": "flyovercountry", "firstname": "Flyover", "lastname": "Country", "city": "Kansas City", "country": "US", "fullname": "Flyover Country", "userpic_url": "http://acdn.500px.net/612531/59c1f3f183efee11f7d28e5c291ee3279cc8884d/1.jpg?4", "upgrade_status": 2, "followers_count": 3, "affection": 46 } }

One can use the id from the short format and fetch the missing fields. However, this is an extra API call for each photo that the doc says shouldn't be needed. May just be an issue with a change in the API that isn't reflected yet in the doc.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions