Auf dieser Seite
Petstore-API
Version 1.0.27
This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about
Swagger at https://swagger.io. In the third iteration of the pet store, we‘ve switched to the design first approach!
You can now help us improve the API whether it‘s by making changes to the definition itself or to the code.
That way, with time, we can improve the API in general, and expose some of the new features in OAS3.
Some useful links:
#Server
https://petstore3.swagger.io/api/v3Swagger’s public Petstore
#Authentifizierung
Keine Authentifizierung nötig.
petstore_authOAuth 2.0
implicitAutorisierung unter https://petstore3.swagger.io/oauth/authorize
write:petsmodify pets in your account
read:petsread your pets
api_keyAPI-Schlüssel im Header api_key
#Operationen
#pet
Everything about your Pets
- PUT
/Update an existing pet.pet - POST
/Add a new pet to the store.pet - GET
/Finds Pets by status.pet/ findByStatus - GET
/Finds Pets by tags.pet/ findByTags - GET
/Find pet by ID.pet/ {petId} - POST
/Updates a pet in the store with form data.pet/ {petId} - DELETE
/Deletes a pet.pet/ {petId} - POST
/Uploads an image.pet/ {petId}/ uploadImage
#store
Access to Petstore orders
- GET
/Returns pet inventories by status.store/ inventory - POST
/Place an order for a pet.store/ order - GET
/Find purchase order by ID.store/ order/ {orderId} - DELETE
/Delete purchase order by identifier.store/ order/ {orderId}
#user
Operations about user
- POST
/Create user.user - POST
/Creates list of users with given input array.user/ createWithList - GET
/Logs user into the system.user/ login - GET
/Logs out current logged in user session.user/ logout - GET
/Get user by user name.user/ {username} - PUT
/Update user resource.user/ {username} - DELETE
/Delete user resource.user/ {username}