API Reference
Reference for the API
JavaScript
import Dasdk from 'dasdk'; const client = new Dasdk({ apiKey: 'My API Key', }); const pets = await client.pet.findByTags(); console.log(pets);
[ { "name": "doggie", "photoUrls": [ "<string>" ], "id": 10, "category": { "id": 1, "name": "Dogs" }, "tags": [ { "id": 123, "name": "<string>" } ], "status": "available" } ]
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Tags to filter by
successful operation
"doggie"
10
Show child attributes
1
"Dogs"
pet status in the store
available
pending
sold