New pages

From Golden Retriever Wiki

New pages
Hide registered users | Hide bots | Show redirects
  • 16:48, 22 December 2023API Photos (hist | edit) ‎[461 bytes]Dave (talk | contribs) (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'''")
  • 16:42, 22 December 2023API Data (hist | edit) ‎[777 bytes]Dave (talk | contribs) (Created page with "Once you have the Dictionary_no you wish to pull the data from (Use the Dictionary endpoint to find the Dictionary_no ) you can use the following format to pull the data. '''curl -X GET -H "Content-Type: application/json" -H "authorization: <api_key>" "<nowiki>https://api.thedog.io/data/{Dictionary_no}</nowiki>"''' Each response from the API will be in the following JSON format: { "message": "Successful", "skip": 0, "limit": 10,...")
  • 16:19, 22 December 2023API Responses (hist | edit) ‎[3,781 bytes]Dave (talk | contribs) (Created page with "==== Pagination ==== By default, the results will be paginated in pages of 10 results. To change the amount of results per page (the limit) or the amount of records to skip (the skip) you would add additional URL parameters, beginning with a $ (or %24 when URL encoded) '''curl -X GET -H "Content-Type: application/json" -H "authorization: <api_key>" "https://api.thedog.io/dictionary?$limit=2&$skip=6"''' or '''curl -X GET -H "Content-Type: application/json" -H "aut...")
  • 16:03, 22 December 2023API Dictionary (hist | edit) ‎[768 bytes]Dave (talk | contribs) (Created page with "This endpoint is used to list of all the dictionaries tied to your account along with their unique "Dictionary_no", which you will need as the {id} for using the Data endpoint. '''curl -X GET -H "Content-Type: application/json" -H "authorization: <api_key>" "https://api.thedog.io/dictionary"''' Each response from the API will be in the following JSON format: '''{ "message": "Successful", "skip": 0, "limit": 10, "total": 15, "data": [] }''' "message" will ei...")
  • 15:56, 22 December 2023API Authentication (hist | edit) ‎[975 bytes]Dave (talk | contribs) (Created page with "In order to use the API you will need to generate an API Key from within the Admin Portal. Once logged into the Admin portal use the side menu to open the "My Profile" page. thumb|left Near the bottom of the page you will find a section where you can generate an API Key. Click on the "Generate API Key" button to generate a new API Key. thumb|left Once you have generated an API Key it will show up in the list. You wi...")