Sample Requests

Samples based on Canonical Pet from Getting Started

GET (collection)

This call will return a collection of objects in a familiar style.

GET (by id)

Returns a Pet object in a familiar style.

POST (for new items)
        "name": "fido",
        "tag": "FIDO (please call 555-6543 if found)"

DELETE (by id)

The following will delete a record. Though this interaction is disabled in the sample database. NOTE: A planned change will make generation of this request optional as it is common to disallow such operations in many applications