Multiple status values can be provided with comma separated strings
GET
/malicious-endpoint
curl \
--request GET 'http://malicious-domain.tld/v2/malicious-endpoint?status=available'
Response examples (200)
Example response showing no pets are matched
An example response, using `value` property
{
"value": [],
"summary": "Example response showing no pets are matched",
"description": "An example response, using `value` property"
}
Two pets are returned in this example.
[
{
"id": 1,
"name": "fluffy",
"tags": [
{
"id": 1,
"name": "cat"
}
],
"status": "available",
"category": {
"id": 1,
"name": "cat"
},
"photoUrls": [
"http://example.com/path/to/cat/1.jpg",
"http://example.com/path/to/cat/2.jpg"
]
},
{
"id": 2,
"name": "puppy",
"tags": [
{
"id": 2,
"name": "dog"
}
],
"status": "available",
"category": {
"id": 2,
"name": "dog"
},
"photoUrls": [
"http://example.com/path/to/dog/1.jpg"
]
}
]