{"openapi":"3.0.3","info":{"title":"API documentation","description":"# \uD83D\uDCC4 Get started here\n\nThis template contains a boilerplate for documentation that you can quickly customize and reuse.\n\n## \uD83D\uDD16 How to use this template\n\n- Replace the content given brackets (()) with your API's details.\n- Tips are formatted in `codespan` - feel free to read and remove them.\n    \n\n---\n\n`Start with a brief overview of what your API offers.`\n\nThe ((product name)) provides many API products, tools, and resources that enable you to ((add product value here)).\n\n`You can also list the APIs you offer, link to the relevant pages, or do both in this section.`\n\n## **Getting started guide**\n\n`List the steps or points required to start using your APIs. Make sure to cover everything required to reach success with your API as quickly as possible.`\n\nTo start using the ((add APIs here)), you need to -\n\n`The points given below are from The Postman API's documentation. You can reference it to write your own getting started guide.`\n\n- You must use a valid API Key to send requests to the API endpoints. You can get your API key from Postman's [integrations dashboard](https://go.postman.co/settings/me/api-keys).\n- The API has [rate and usage limits](https://learning.postman.com/docs/developer/postman-api/postman-api-rate-limits/).\n- The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.\n- The API returns request responses in JSON format. When an API request returns an error, it is sent in the JSON response as an error key.\n    \n\n## Authentication\n\n`Add details on the authorization keys/tokens required, steps that cover how to get them, and the relevant error codes.`\n\nThe ((product name)) API uses ((add your API's authorization type)) for authentication.\n\n`The details given below are from the Postman API's documentation. You can reference it to write your own authentication section.`\n\nPostman uses API keys for authentication. You can generate a Postman API key in the [API keys](https://postman.postman.co/settings/me/api-keys) section of your Postman account settings.\n\nYou must include an API key in each request to the Postman API with the X-Api-Key request header.\n\n### Authentication error response\n\nIf an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.\n\n## Rate and usage limits\n\n`Use this section to cover your APIs' terms of use. Include API limits, constraints, and relevant error codes, so consumers understand the permitted API usage and practices.`\n\n`The example given below is from The Postman API's documentation. Use it as a reference to write your APIs' terms of use.`\n\nAPI access rate limits apply at a per-API key basis in unit time. The limit is 300 requests per minute. Also, depending on your plan, you may have usage limits. If you exceed either limit, your request will return an HTTP 429 Too Many Requests status code.\n\nEach API response returns the following set of headers to help you identify your use status:\n\n| Header | Description |\n| --- | --- |\n| `X-RateLimit-Limit` | The maximum number of requests that the consumer is permitted to make per minute. |\n| `X-RateLimit-Remaining` | The number of requests remaining in the current rate limit window. |\n| `X-RateLimit-Reset` | The time at which the current rate limit window resets in UTC epoch seconds. |\n\n### 503 response\n\nAn HTTP `503` response from our servers indicates there is an unexpected spike in API access traffic. The server is usually operational within the next five minutes. If the outage persists or you receive any other form of an HTTP `5XX` error, [contact support](https://support.postman.com/hc/en-us/requests/new/).\n\n### **Need some help?**\n\n`Add links that customers can refer to whenever they need help.`\n\nIn case you have questions, go through our tutorials ((link to your video or help documentation here)). Or visit our FAQ page ((link to the relevant page)).\n\nOr you can check out our community forum, there’s a good chance our community has an answer for you. Visit our developer forum ((link to developer forum)) to review topics, ask questions, and learn from others.\n\n`You can also document or add links to libraries, code examples, and other resources needed to make a request.`","version":"1.0.0","contact":{}},"servers":[{"url":"https://api.getpostman.com"},{"url":"https://et-pos.store"}],"paths":{"/me":{"get":{"tags":["User"],"summary":"Get authenticated user","description":"Gets information about the authenticated user.","operationId":"getAuthenticatedUser","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"operations":{"type":"array","items":{"type":"object","properties":{"limit":{"type":"number","example":1000000},"name":{"type":"string","example":"mock_usage"},"overage":{"type":"number","example":0},"usage":{"type":"number","example":110276}}},"example":[{"limit":1000000,"name":"mock_usage","overage":0,"usage":110276},{"limit":10000000,"name":"monitor_request_runs","overage":0,"usage":1141750},{"limit":1000000,"name":"api_usage","overage":0,"usage":16240},{"limit":25,"name":"custom_domains","overage":0,"usage":25},{"limit":10000,"name":"serverless_requests","overage":0,"usage":0},{"limit":5000,"name":"integrations","overage":0,"usage":1018},{"limit":1000000,"name":"cloud_agent_requests","overage":0,"usage":1615}]},"user":{"type":"object","properties":{"avatar":{"type":"string","example":"https://example.com/user/r5u9qpvmujfjf6lbqmga.jpg"},"email":{"type":"string","example":"taylor.lee@example.com"},"fullName":{"type":"string","example":"Taylor Lee"},"id":{"type":"number","example":12345678},"isPublic":{"type":"boolean","example":true},"username":{"type":"string","example":"taylor-lee"}}}}},"examples":{"Successful Response":{"value":{"operations":[{"limit":1000000,"name":"mock_usage","overage":0,"usage":110276},{"limit":10000000,"name":"monitor_request_runs","overage":0,"usage":1141750},{"limit":1000000,"name":"api_usage","overage":0,"usage":16240},{"limit":25,"name":"custom_domains","overage":0,"usage":25},{"limit":10000,"name":"serverless_requests","overage":0,"usage":0},{"limit":5000,"name":"integrations","overage":0,"usage":1018},{"limit":1000000,"name":"cloud_agent_requests","overage":0,"usage":1615}],"user":{"avatar":"https://example.com/user/r5u9qpvmujfjf6lbqmga.jpg","email":"taylor.lee@example.com","fullName":"Taylor Lee","id":12345678,"isPublic":true,"username":"taylor-lee"}}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}}},"/collections":{"get":{"tags":["Collections"],"summary":"Get all collections","description":"Gets all of your [collections](https://www.getpostman.com/docs/collections). The response includes all of your subscribed collections.","operationId":"getAllCollections","parameters":[{"name":"workspace","in":"query","schema":{"type":"string","example":"{{workspaceId}}"},"description":"Optional. A workspace ID."}],"responses":{"200":{"description":"Successful Response / Filter by Workspace","content":{"application/json":{"schema":{"type":"object","properties":{"collections":{"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","example":"2022-04-12T10:29:46.000Z"},"fork":{"type":"object","properties":{"createdAt":{"type":"string","example":"2022-06-16T19:51:44.069Z"},"from":{"type":"string","example":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"},"label":{"type":"string","example":"Test Fork"}}},"id":{"type":"string","example":"dac5eac9-148d-a32e-b76b-3edee9da28f7"},"isPublic":{"type":"boolean","example":true},"name":{"type":"string","example":"Cloud API"},"owner":{"type":"string","example":"12345678"},"uid":{"type":"string","example":"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7"},"updatedAt":{"type":"string","example":"2022-04-12T10:29:56.000Z"}}},"example":[{"createdAt":"2022-04-12T10:29:46.000Z","id":"dac5eac9-148d-a32e-b76b-3edee9da28f7","isPublic":true,"name":"Cloud API","owner":"12345678","uid":"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7","updatedAt":"2022-04-12T10:29:56.000Z"},{"createdAt":"2022-01-13T10:21:46.000Z","fork":{"createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","label":"Test Fork"},"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","isPublic":false,"name":"Test Collection","owner":"12345678","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","updatedAt":"2022-02-12T11:29:56.000Z"},{"createdAt":"2021-04-11T09:18:26.000Z","id":"f695cab7-6878-eb55-7943-ad88e1ccfd65","isPublic":true,"name":"Postman Echo","owner":"12345678","uid":"12345678-f695cab7-6878-eb55-7943-ad88e1ccfd65","updatedAt":"2022-05-01T15:29:32.000Z"}]}}},"examples":{"Filter by Workspace":{"value":{"collections":[{"createdAt":"2022-04-12T10:29:46.000Z","id":"dac5eac9-148d-a32e-b76b-3edee9da28f7","isPublic":true,"name":"Cloud API","owner":"12345678","uid":"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7","updatedAt":"2022-04-12T10:29:56.000Z"}]}},"Successful Response":{"value":{"collections":[{"createdAt":"2022-04-12T10:29:46.000Z","id":"dac5eac9-148d-a32e-b76b-3edee9da28f7","isPublic":true,"name":"Cloud API","owner":"12345678","uid":"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7","updatedAt":"2022-04-12T10:29:56.000Z"},{"createdAt":"2022-01-13T10:21:46.000Z","fork":{"createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","label":"Test Fork"},"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","isPublic":false,"name":"Test Collection","owner":"12345678","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","updatedAt":"2022-02-12T11:29:56.000Z"},{"createdAt":"2021-04-11T09:18:26.000Z","id":"f695cab7-6878-eb55-7943-ad88e1ccfd65","isPublic":true,"name":"Postman Echo","owner":"12345678","uid":"12345678-f695cab7-6878-eb55-7943-ad88e1ccfd65","updatedAt":"2022-05-01T15:29:32.000Z"}]}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}},"post":{"tags":["Collections"],"summary":"Create a collection","description":"Creates a collection using the [Postman Collection v2 schema format](https://schema.postman.com/json/collection/v2.1.0/docs/index.html). Include a `collection` object in the request body that contains the following required properties:\n\n*   `info` — An **object** that contains the following properties:\n    *   `name` — A **string** value that contains the collection's name.\n    *   `schema` — A **string** that contains a URL to the collection's schema. For example, the `https://schema.getpostman.com/collection/v1` URL.\n*   `item` — An **object** that contains the HTTP request and response information.\n    *   `request` — An **object** that contains the collection's request information. For a complete list of values, refer to the `definitions.request` entry in the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json). If you pass an empty object for this value, the system defaults to an untitled GET request.\n\n**Note:**\n\n*   For a complete list of available property values for this endpoint, use the following references available in the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json):\n    *   `info` object — Use the `definitions.info` entry.\n    *   `item` object — Use the `definitions.items` entry.\n*   For all other possible values, refer to the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json).","operationId":"createACollection","parameters":[{"name":"workspace","in":"query","schema":{"type":"string","example":"{{workspaceId}}"},"description":"Optional. A workspace ID in which to create the collection.\n\nIf you do not include this query parameter, the system creates the collection in your \"My Workspace\" workspace."}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"item":{"type":"array","items":{"type":"object","properties":{"event":{"type":"array","items":{"type":"object","properties":{"listen":{"type":"string","example":"test"},"script":{"type":"object","properties":{"exec":{"type":"array","items":{"type":"string","example":"pm.test(\"Status code is 200\", function () {"},"example":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]},"id":{"type":"string","example":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae"},"type":{"type":"string","example":"text/javascript"}}}}},"example":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}]},"name":{"type":"string","example":"Test GET Response"},"request":{"type":"object","properties":{"header":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"Content-Type"},"value":{"type":"string","example":"application/json"}}},"example":[{"key":"Content-Type","value":"application/json"}]},"method":{"type":"string","example":"GET"},"url":{"type":"string","example":"https://echo.getpostman.com/headers"}}}}},"example":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"name":"Test GET Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"GET","url":"https://echo.getpostman.com/headers"}}]}}}}},"examples":{"Create a collection":{"value":{"collection":{"item":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"name":"Test GET Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"GET","url":"https://echo.getpostman.com/headers"}}]}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"name":{"type":"string","example":"Test Collection"},"uid":{"type":"string","example":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}},"examples":{"Successful Response":{"value":{"collection":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","name":"Test Collection","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}}}},"400":{"description":"Bad Request / Malformed Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"details":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"item":{"type":"string","example":"collection"}}},{"type":"array","items":{"type":"string","example":": must have required property 'info'"},"example":[": must have required property 'info'"]}]},"message":{"type":"string","example":"The specified item already exists."},"name":{"type":"string","example":"instanceFoundError"}}}}},"examples":{"Bad Request":{"value":{"error":{"details":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","item":"collection"},"message":"The specified item already exists.","name":"instanceFoundError"}}},"Malformed Request":{"value":{"error":{"details":[": must have required property 'info'"],"message":"Found 1 errors with the supplied collection.","name":"malformedRequestError"}}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}}},"/collections/{collectionId}":{"get":{"tags":["Collections"],"summary":"Get a collection","description":"Gets information about a collection. For a complete list of this endpoint's possible values, use the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json).","operationId":"getACollection","parameters":[{"name":"access_key","in":"query","schema":{"type":"string","example":"{{accessKey}}"},"description":"Optional. A collection's read-only access key. Using this query parameter does not require an API key to call the endpoint."}],"responses":{"200":{"description":"Successful Response / Get Collection with Access Token","content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"info":{"type":"object","properties":{"_postman_id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"description":{"type":"string","example":"This is a test collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client."},"fork":{"type":"object","properties":{"createdAt":{"type":"string","example":"2022-06-16T19:51:44.069Z"},"from":{"type":"string","example":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"},"label":{"type":"string","example":"Test Fork"}}},"name":{"type":"string","example":"Test Collection"},"schema":{"type":"string","example":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"updatedAt":{"type":"string","example":"2022-06-16T20:21:13.000Z"}}},"item":{"type":"array","items":{"type":"object","properties":{"event":{"type":"array","items":{"type":"object","properties":{"listen":{"type":"string","example":"test"},"script":{"type":"object","properties":{"exec":{"type":"array","items":{"type":"string","example":"pm.test(\"Status code is 200\", function () {"},"example":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]},"id":{"type":"string","example":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae"},"type":{"type":"string","example":"text/javascript"}}}}},"example":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}]},"id":{"type":"string","example":"82ee981b-e19f-962a-401e-ea34ebfb4848"},"name":{"type":"string","example":"Test GET Response"},"request":{"type":"object","properties":{"header":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"Content-Type"},"value":{"type":"string","example":"application/json"}}},"example":[{"key":"Content-Type","value":"application/json"}]},"method":{"type":"string","example":"GET"},"url":{"type":"string","example":"https://echo.getpostman.com/headers"}}},"response":{"type":"array","items":{},"example":[]}}},"example":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"id":"82ee981b-e19f-962a-401e-ea34ebfb4848","name":"Test GET Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"GET","url":"https://echo.getpostman.com/headers"},"response":[]}]}}}}},"examples":{"Get Collection with Access Token":{"value":{"collection":{"info":{"_postman_id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","description":"This is a test collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client.","fork":{"createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","label":"Test Fork"},"name":"Test Collection","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","updatedAt":"2022-06-16T20:21:13.000Z"},"item":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"id":"82ee981b-e19f-962a-401e-ea34ebfb4848","name":"Test GET Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"GET","url":"https://echo.getpostman.com/headers"},"response":[]}]}}},"Successful Response":{"value":{"collection":{"info":{"_postman_id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","description":"This is a test collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client.","fork":{"createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2","label":"Test Fork"},"name":"Test Collection","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","updatedAt":"2022-06-16T20:21:13.000Z"},"item":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"id":"82ee981b-e19f-962a-401e-ea34ebfb4848","name":"Test GET Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"GET","url":"https://echo.getpostman.com/headers"},"response":[]}]}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"We could not find the collection you are looking for"},"name":{"type":"string","example":"instanceNotFoundError"}}}}},"examples":{"Not Found":{"value":{"error":{"message":"We could not find the collection you are looking for","name":"instanceNotFoundError"}}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}},"put":{"tags":["Collections"],"summary":"Update a collection","description":"Updates a collection using the [Postman Collection v2 schema format](https://schema.postman.com/json/collection/v2.1.0/docs/index.html). Include a `collection` object in the request body that contains the following required properties:\n\n- `info` — An **object** that contains the following properties:\n    - `name` — A **string** value that contains the collection's name.\n    - `schema` — A **string** that contains a URL to the collection's schema. For example, the `https://schema.getpostman.com/collection/v1` URL.\n- `item` — An **object** that contains the HTTP request and response information.\n    - `request` — An **object** that contains the collection's request information. For a complete list of values, refer to the `definitions.request` entry in the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json). If you pass an empty object for this value, the system defaults to an untitled GET request.\n\n**Note:**\n\n- For a complete list of available property values for this endpoint, use the following references available in the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json):\n    - `info` object — Use the `definitions.info` entry.\n    - `item` object — Use the `definitions.items` entry.\n- For all other possible values, refer to the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json).\n    \n\n### Important\n\nUse caution when using this endpoint. The system will replace the existing collection with the values passed in the request body.","operationId":"updateACollection","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"info":{"type":"object","properties":{"description":{"type":"string","example":"This collection makes a request to the Postman Echo service to get a list of request headers sent by an HTTP client."},"name":{"type":"string","example":"Test Collection"},"schema":{"type":"string","example":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"}}},"item":{"type":"array","items":{"type":"object","properties":{"event":{"type":"array","items":{"type":"object","properties":{"listen":{"type":"string","example":"test"},"script":{"type":"object","properties":{"exec":{"type":"array","items":{"type":"string","example":"pm.test(\"Status code is 200\", function () {"},"example":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"]},"id":{"type":"string","example":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae"},"type":{"type":"string","example":"text/javascript"}}}}},"example":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}]},"name":{"type":"string","example":"Test POST Response"},"request":{"type":"object","properties":{"header":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"Content-Type"},"value":{"type":"string","example":"application/json"}}},"example":[{"key":"Content-Type","value":"application/json"}]},"method":{"type":"string","example":"POST"},"url":{"type":"string","example":"https://echo.getpostman.com/headers"}}}}},"example":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"name":"Test POST Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","url":"https://echo.getpostman.com/headers"}}]}}}}},"examples":{"Update a collection":{"value":{"collection":{"info":{"description":"This collection makes a request to the Postman Echo service to get a list of request headers sent by an HTTP client.","name":"Test Collection","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"item":[{"event":[{"listen":"test","script":{"exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"id":"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae","type":"text/javascript"}}],"name":"Test POST Response","request":{"header":[{"key":"Content-Type","value":"application/json"}],"method":"POST","url":"https://echo.getpostman.com/headers"}}]}}}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"name":{"type":"string","example":"Test Collection"},"uid":{"type":"string","example":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}},"examples":{"Successful Response":{"value":{"collection":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","name":"Test Collection","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}}}},"400":{"description":"Malformed Request / Collection ID Mismatch","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"details":{"type":"array","items":{"type":"string","example":": must have required property 'item'"},"example":[": must have required property 'item'","info: must have required property 'schema'"]},"message":{"type":"string","example":"Found 2 errors with the supplied collection."},"name":{"type":"string","example":"malformedRequestError"}}}}},"examples":{"Collection ID Mismatch":{"value":{"error":{"message":"The collection ID in the path does not match the collection ID in the request body.","name":"collectionMismatchError"}}},"Malformed Request":{"value":{"error":{"details":[": must have required property 'item'","info: must have required property 'schema'"],"message":"Found 2 errors with the supplied collection.","name":"malformedRequestError"}}}}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","example":"You do not have enough permissions to perform this action."},"name":{"type":"string","example":"forbiddenError"}}}}},"examples":{"Forbidden":{"value":{"error":{"message":"You do not have enough permissions to perform this action.","name":"forbiddenError"}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"details":{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"item":{"type":"string","example":"collection"}}},"message":{"type":"string","example":"The specified item does not exist."},"name":{"type":"string","example":"instanceNotFoundError"}}}}},"examples":{"Not Found":{"value":{"error":{"details":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","item":"collection"},"message":"The specified item does not exist.","name":"instanceNotFoundError"}}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}},"delete":{"tags":["Collections"],"summary":"Delete a collection","description":"Deletes a collection.","operationId":"deleteACollection","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","properties":{"collection":{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"uid":{"type":"string","example":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}},"examples":{"Successful Response":{"value":{"collection":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","uid":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"}}}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"details":{"type":"object","properties":{"id":{"type":"string","example":"12ece9e1-2abf-4edc-8e34-de66e74114d2"},"item":{"type":"string","example":"collection"}}},"message":{"type":"string","example":"The specified item does not exist."},"name":{"type":"string","example":"instanceNotFoundError"}}}}},"examples":{"Not Found":{"value":{"error":{"details":{"id":"12ece9e1-2abf-4edc-8e34-de66e74114d2","item":"collection"},"message":"The specified item does not exist.","name":"instanceNotFoundError"}}}}}}},"429":{"description":"Rate Limit Exceeded","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"rateLimited"},"message":{"type":"string","example":"Rate limit exceeded. Please retry after 1669048687"}}},"examples":{"Rate Limit Exceeded":{"value":{"error":"rateLimited","message":"Rate limit exceeded. Please retry after 1669048687"}}}}}}}},"parameters":[{"name":"collectionId","in":"path","required":true,"schema":{"type":"string"}}]},"/oauth/token":{"post":{"tags":["Collections"],"summary":"https://et-pos.store/oauth/token","description":"https://et-pos.store/oauth/token","operationId":"httpsEtPosStoreOauthToken","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"client_id":{"type":"string","example":"32"},"client_secret":{"type":"string","example":"MjSuv4nquj67caVWanVpDX5YjrTdiXBVuAooJ13r"},"grant_type":{"type":"string","example":"password"},"password":{"type":"string","example":"ajay"},"username":{"type":"string","example":"Ajay"}}},"examples":{"https://et-pos.store/oauth/token":{"value":{"client_id":"32","client_secret":"MjSuv4nquj67caVWanVpDX5YjrTdiXBVuAooJ13r","grant_type":"password","password":"ajay","username":"Ajay"}}}}}},"responses":{"200":{"description":""}}}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","name":"X-API-Key","in":"header"}}},"security":[{"apiKey":[]}],"tags":[{"name":"User","description":"The `/me` endpoints let you manage information about the authenticated user."},{"name":"Collections","description":"The `/collections` endpoints let you manage your [collections](https://learning.postman.com/docs/sending-requests/intro-to-collections/)."}]}