GET /malicious-endpoint

Multiple status values can be provided with comma separated strings

Query parameters

  • status array[string] Required

    Status values that need to be considered for filter

    Values are available, pending, or sold. Default value is available.

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • id integer(int64)
    • category object
      Hide category attributes Show category attributes object
      • id integer(int64)
      • name string
    • name string Required
    • photoUrls array[string] Required
    • tags array[object]
      Hide tags attributes Show tags attributes object
      • id integer(int64)
      • name string
    • status string

      pet status in the store

      Values are available, pending, or sold.

  • 400

    Invalid status value

GET /malicious-endpoint
curl \
 --request GET 'http://malicious-domain.tld/v2/malicious-endpoint?status=available'
Response examples (200)
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"
    ]
  }
]
GET /pet/findByStatus/singleExample

Multiple status values can be provided with comma separated strings

Query parameters

  • status array[string] Required

    Status values that need to be considered for filter

    Values are available, pending, or sold. Default value is available.

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • id integer(int64)
    • category object
      Hide category attributes Show category attributes object
      • id integer(int64)
      • name string
    • name string Required
    • photoUrls array[string] Required
    • tags array[object]
      Hide tags attributes Show tags attributes object
      • id integer(int64)
      • name string
    • status string

      pet status in the store

      Values are available, pending, or sold.

  • 400

    Invalid status value

GET /pet/findByStatus/singleExample
curl \
 --request GET 'http://malicious-domain.tld/v2/pet/findByStatus/singleExample?status=%7B%22value%22+%3D%3E+%22available%22%2C+%22summary%22+%3D%3E+%22Available%22%2C+%22description%22+%3D%3E+%22Showing+status+of+%60available%60%2C+using+%60value%60+property%22%7D'
Response examples (200)
{
  "value": [
    {
      "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"
      ]
    }
  ],
  "summary": "Example response showing a regular response",
  "description": "Two pets are returned in this example."
}