Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This set of resources is used to expose adoption information.


Adoption Resources

URI DescriptionMethodRelative URINotes
Get All CountsGet/api/v{version}/adoptions/

This currently only displays the adoption counts per shelter uploading to the public site.

Returns paged results as multiple shelter buddy sites can upload to one public site.


Code Block
languagejs
titleSample JSON return
linenumberstrue
 {  
   "Data":[  
      {  
         "Site":"Site A",
         "AdoptionsThisYear":3004
      },
      {  
         "Site":"Site B",
         "AdoptionsThisYear":1
      }
   ],
   "Paging":{  
      "Next":null,
      "Previous":null
   }
}

...