Skip to content

Powered by Grav

Finds Pets by status.

Finds Pets by status.

GET /pet/findByStatus
Multiple status values can be provided with comma separated strings.

Parameters

Name Type Description
status required string Status values that need to be considered for filter
JSON
[
    {
        "id": 10,
        "name": "doggie",
        "category": {
            "id": 1,
            "name": "Dogs"
        },
        "photoUrls": [
            "string"
        ],
        "tags": [
            {
                "id": 1,
                "name": "string"
            }
        ],
        "status": "available"
    }
]

Response Codes

200 successful operation
400 Invalid status value

© 2025 Grav. All rights reserved.