Finds Pets by tags
GET
https://petstore.swagger.io/v2/pet/findByTags
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Request
Query Parameters
tags string[]required
Tags to filter by
Responses
- 200
- 400
successful operation
- application/json
- application/xml
Invalid tag value
Authorization: oauth2
name: petstore_authtype: oauth2scopes:write:pets,read:pets
description: Get access to data while protecting your account credentials. OAuth2 is also a safer and more secure way to give you access.flows: { "implicit": { "authorizationUrl": "http://petstore.swagger.io/api/oauth/dialog", "scopes": { "write:pets": "modify pets in your account", "read:pets": "read your pets" } } }
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
1
RESPONSEClear