We have updated our API Terms of Service. Please review the entire terms before continuing to use the API. Your use of the API means you accept and agree to the updated API Terms of Service found here: https://rescuegroups.org/api-terms-of-service/

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

May 24th, 2014

The Test server has been updated with the following changes:

HTTP API

animalPictures response has been updated to allow us to return an unlimited number of variants of each picture.  Currently you can expect to find the following picture types:

original: this is a new picture type, and will be the original uploaded image (no limit on size or dimensions) starting 5/1/2014.  For pictures uploaded before then, it will be identical to the "large" picture.

large: this used to be the fullsize picture, and should be 500px wide.

small: this used to be the thumbnail, and should be 100px width.

[animalPictures] => Array
(
	[0] => Array
	(
		[mediaID] => 17406072
		[mediaOrder] => 1
		[lastUpdated] => 9/11/2013 1:53 PM
		[original] => Array
		(
			[fileSize] => 43791
			[resolutionX] => 500
			[resolutionY] => 664
			[url] => https://s3.amazonaws.com/filestore.rescuegroups.org/1858/pictures/animals/6039/6039419/17406072_500x664.jpg
		)
		[large] => Array
		(
			[fileSize] => 43791
			[resolutionX] => 500
			[resolutionY] => 664
			[url] => https://s3.amazonaws.com/filestore.rescuegroups.org/1858/pictures/animals/6039/6039419/17406072_500x664.jpg
		)
		[small] => Array
		(
			[fileSize] => 
			[resolutionX] => 100
			[resolutionY] => 132
			[url] => https://s3.amazonaws.com/filestore.rescuegroups.org/1858/pictures/animals/6039/6039419/17406072_100x132.jpg
		)
	)
)

 

animalVideos

animalVideoUrls

  • No labels