API Photos: Revision history

From Golden Retriever Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 December 2023

  • curprev 16:4816:48, 22 December 2023Dave talk contribs 461 bytes +461 Created page with "Each data object returned from the Data endpoint will contain a comma separated list as the value for the key "Photos". These are the ids of the photos. You can download a photo from a dictionary using the following example: '''curl -X GET -H "Content-Type: application/json" -H "authorization: <api_key>" "<nowiki>https://api.thedog.io/photo/{Dictionary_no}/{Photo_no}</nowiki>" -o photo.jpg''' The response will be the file '''photo.jpg'''"