{ "info": { "_postman_id": "5f8d7d62-dc52-4d94-8d76-b65da527327e", "name": "Swagger Petstore", "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "pet", "item": [ { "name": "Update an existing pet", "request": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/xml, application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "Pet object that needs to be added to the store", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://petstore.swagger.io/v2/pet", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet" ] } }, "response": [] }, { "name": "Add a new pet to the store", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "Pet object that needs to be added to the store" }, "url": { "raw": "https://petstore.swagger.io/v2/pet", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet" ] } }, "response": [] }, { "name": "Finds Pets by status", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/pet/findByStatus?status={{status}}", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", "findByStatus" ], "query": [ { "key": "status", "value": "{{status}}" } ] }, "description": "Multiple status values can be provided with comma separated strings" }, "response": [] }, { "name": "Finds Pets by tags", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/pet/findByTags?tags={{tags}}", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", "findByTags" ], "query": [ { "key": "tags", "value": "{{tags}}" } ] }, "description": "Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing." }, "response": [] }, { "name": "Find pet by ID", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/pet/:petId", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", ":petId" ], "variable": [ { "key": "petId", "value": "{{petId}}" } ] }, "description": "Returns a single pet" }, "response": [] }, { "name": "Updates a pet in the store with form data", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" }, { "key": "Content-Type", "value": "application/x-www-form-urlencoded" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "name", "value": "{{name}}", "type": "text" }, { "key": "status", "value": "{{status}}", "type": "text" } ] }, "url": { "raw": "https://petstore.swagger.io/v2/pet/:petId", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", ":petId" ], "variable": [ { "key": "petId", "value": "{{petId}}" } ] } }, "response": [] }, { "name": "Deletes a pet", "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/xml, application/json" }, { "key": "api_key", "value": "{{api_key}}" } ], "body": {}, "url": { "raw": "https://petstore.swagger.io/v2/pet/:petId", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", ":petId" ], "variable": [ { "key": "petId", "value": "{{petId}}" } ] } }, "response": [] }, { "name": "uploads an image", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "key": "Content-Type", "value": "multipart/form-data" } ], "body": { "mode": "formdata", "formdata": [ { "key": "additionalMetadata", "value": "{{additionalMetadata}}", "type": "text" }, { "key": "file", "value": "{{file}}", "type": "text" } ] }, "url": { "raw": "https://petstore.swagger.io/v2/pet/:petId/uploadImage", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "pet", ":petId", "uploadImage" ], "variable": [ { "key": "petId", "value": "{{petId}}" } ] } }, "response": [] } ], "description": "Folder for pet" }, { "name": "store", "item": [ { "name": "Returns pet inventories by status", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/store/inventory", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "store", "inventory" ] }, "description": "Returns a map of status codes to quantities" }, "response": [] }, { "name": "Place an order for a pet", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "order placed for purchasing the pet" }, "url": { "raw": "https://petstore.swagger.io/v2/store/order", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "store", "order" ] } }, "response": [] }, { "name": "Find purchase order by ID", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/store/order/:orderId", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "store", "order", ":orderId" ], "variable": [ { "key": "orderId", "value": "{{orderId}}" } ] }, "description": "For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions" }, "response": [] }, { "name": "Delete purchase order by ID", "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": {}, "url": { "raw": "https://petstore.swagger.io/v2/store/order/:orderId", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "store", "order", ":orderId" ], "variable": [ { "key": "orderId", "value": "{{orderId}}" } ] }, "description": "For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors" }, "response": [] } ], "description": "Folder for store" }, { "name": "user", "item": [ { "name": "Create user", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "Created user object" }, "url": { "raw": "https://petstore.swagger.io/v2/user", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user" ] }, "description": "This can only be done by the logged in user." }, "response": [] }, { "name": "Creates list of users with given input array", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "List of user object" }, "url": { "raw": "https://petstore.swagger.io/v2/user/createWithArray", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", "createWithArray" ] } }, "response": [] }, { "name": "Creates list of users with given input array", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "List of user object" }, "url": { "raw": "https://petstore.swagger.io/v2/user/createWithList", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", "createWithList" ] } }, "response": [] }, { "name": "Logs user into the system", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/user/login?username={{username}}&password={{password}}", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", "login" ], "query": [ { "key": "username", "value": "{{username}}" }, { "key": "password", "value": "{{password}}" } ] } }, "response": [] }, { "name": "Logs out current logged in user session", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/user/logout", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", "logout" ] } }, "response": [] }, { "name": "Get user by user name", "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "" }, "url": { "raw": "https://petstore.swagger.io/v2/user/:username", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", ":username" ], "variable": [ { "key": "username", "value": "{{username}}" } ] } }, "response": [] }, { "name": "Updated user", "request": { "method": "PUT", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": { "mode": "raw", "raw": "Updated user object" }, "url": { "raw": "https://petstore.swagger.io/v2/user/:username", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", ":username" ], "variable": [ { "key": "username", "value": "{{username}}" } ] }, "description": "This can only be done by the logged in user." }, "response": [] }, { "name": "Delete user", "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/xml, application/json" } ], "body": {}, "url": { "raw": "https://petstore.swagger.io/v2/user/:username", "protocol": "https", "host": [ "petstore", "swagger", "io" ], "path": [ "v2", "user", ":username" ], "variable": [ { "key": "username", "value": "{{username}}" } ] }, "description": "This can only be done by the logged in user." }, "response": [] } ], "description": "Folder for user" } ] }