/images/ (Your uploads)
GET {{endpoint}}v1/images/?limit=10&page=0&order=DESC
Only returns images from your account, uploaded via 'api/v1/images/upload'
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | [Optional] number of images to return valid 1 to 10 - default: 1 | |
page | number | [Optional] only works if account_id is present to page through your own uploads | |
order | string | [Optional] only works if account_id is present, either ASC or DESC - ascending or descending. | |
sub_id | string | [Optional] If you want to | |
breed_ids | string | [Optional] Id's of the breeds to filter by | |
category_ids | number | [Optional] Id's of the categories to filter by | |
format | string | [Optional] default is 'json', pass 'src' to redirect the request to the image's url - this is useful for setting the 'src' of an <img> tag. | |
original_filename | null | [Optiona] filter to files you uploaded with the same name | |
user_id | null | [Optional] default applied your unique user_id from welcome email, filter to only show images from your account that you have uploaded |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-api-key | string | [required] - will return all the images from your account | |
RESPONSES
status: OK
[{"id":"SJ6YQ-mRf","url":"http://cdn1.thedogapi.com/images/SJ6YQ-mRf.gif","width":330,"height":186,"mime_type":"image/gif","sub_id":"tumblr_p7pc03uDYD1vb46leo1_400.gif","created_at":"2018-05-11T01:50:29.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p7pc03uDYD1vb46leo1_400.gif"},{"id":"r1EP7WmRM","url":"http://cdn1.thedogapi.com/images/r1EP7WmRM.gif","width":344,"height":344,"mime_type":"image/gif","sub_id":"tumblr_p7et7dDbvt1vb46leo1_400.gif","created_at":"2018-05-11T01:49:48.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p7et7dDbvt1vb46leo1_400.gif"},{"id":"SJ9Nm-m0z","url":"http://cdn1.thedogapi.com/images/SJ9Nm-m0z.gif","width":323,"height":323,"mime_type":"image/gif","sub_id":"tumblr_p7anz8xrxY1vb46leo1_400.gif","created_at":"2018-05-11T01:49:06.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p7anz8xrxY1vb46leo1_400.gif"},{"id":"HkWzmb7RG","url":"http://cdn1.thedogapi.com/images/HkWzmb7RG.gif","width":402,"height":402,"mime_type":"image/gif","sub_id":"tumblr_p66rh3yOQZ1vb46leo1_500.gif","created_at":"2018-05-11T01:48:24.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p66rh3yOQZ1vb46leo1_500.gif"},{"id":"BJNJ7-XCM","url":"http://cdn1.thedogapi.com/images/BJNJ7-XCM.gif","width":328,"height":340,"mime_type":"image/gif","sub_id":"tumblr_p5x7l8Npvd1vb46leo1_400.gif","created_at":"2018-05-11T01:47:40.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p5x7l8Npvd1vb46leo1_400.gif"},{"id":"Byd3G-7Cz","url":"http://cdn1.thedogapi.com/images/Byd3G-7Cz.gif","width":295,"height":275,"mime_type":"image/gif","sub_id":"tumblr_p5bw97ms4S1tlb56zo1_400.gif","created_at":"2018-05-11T01:46:55.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p5bw97ms4S1tlb56zo1_400.gif"},{"id":"SyhKGWXRz","url":"http://cdn1.thedogapi.com/images/SyhKGWXRz.gif","width":240,"height":300,"mime_type":"image/gif","sub_id":"tumblr_p4v52oRLhQ1tlb56zo1_250.gif","created_at":"2018-05-11T01:46:11.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p4v52oRLhQ1tlb56zo1_250.gif"},{"id":"BJWwzW7Rz","url":"http://cdn1.thedogapi.com/images/BJWwzW7Rz.gif","width":400,"height":442,"mime_type":"image/gif","sub_id":"tumblr_p4ue73GTqE1ry46hlo1_400.gif","created_at":"2018-05-11T01:45:29.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_p4ue73GTqE1ry46hlo1_400.gif"},{"id":"ryrVzZ7RM","url":"http://cdn1.thedogapi.com/images/ryrVzZ7RM.gif","width":350,"height":197,"mime_type":"image/gif","sub_id":"tumblr_ou6lq9N06K1vb46leo1_400.gif","created_at":"2018-05-11T01:44:45.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_ou6lq9N06K1vb46leo1_400.gif"},{"id":"r1F-fZQCf","url":"http://cdn1.thedogapi.com/images/r1F-fZQCf.gif","width":460,"height":263,"mime_type":"image/gif","sub_id":"tumblr_otdzzy1qvE1vnq1cro2_500.gif","created_at":"2018-05-11T01:44:00.000Z","breed_ids":null,"category_ids":null,"original_filename":"tumblr_otdzzy1qvE1vnq1cro2_500.gif"}]