Skip to content

Commit

Permalink
chore(test): add insomnia v4 fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Sep 26, 2024
1 parent fa44792 commit 7ade6c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_type":"export","__export_format":4,"__export_date":"2024-09-26T14:39:36.203Z","__export_source":"insomnia.desktop.app:v10.0.0","resources":[{"_id":"req_263892603b3d44ddabd9f69054ba81ee","parentId":"fld_53d3c187a5644d75b71a8f0d7bf10349","modified":1727361506590,"created":1727361506590,"url":"https://api.getpostman.com/me","name":"Get authenticated user","description":"Gets information about the authenticated user.","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503956,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_53d3c187a5644d75b71a8f0d7bf10349","parentId":"fld_dece8ba33a454a458f02127d54fde975","modified":1727361506590,"created":1727361506590,"name":"User","description":"The `/me` endpoints let you manage information about the authenticated user.","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727361503957,"preRequestScript":"","afterResponseScript":"","authentication":{},"_type":"request_group"},{"_id":"fld_dece8ba33a454a458f02127d54fde975","parentId":"wrk_scratchpad","modified":1727361506588,"created":1727361506588,"name":"API documentation","description":"# 📄 Get started here\n\nThis template contains a boilerplate for documentation that you can quickly customize and reuse.\n\n## 🔖 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.`","environment":{"baseUrl":"https://farming-simulator.pstmn.io"},"environmentPropertyOrder":null,"metaSortKey":-1727361503958,"preRequestScript":"","afterResponseScript":"","authentication":{"type":"apikey","key":"X-API-Key","value":"{{token}}","addTo":"header","disabled":false},"_type":"request_group"},{"_id":"wrk_scratchpad","parentId":null,"modified":1716411169330,"created":1716411169330,"name":"Scratch Pad","description":"","scope":"collection","_type":"workspace"},{"_id":"req_dd1d498bfef9441fb7de06a37daa7ee9","parentId":"fld_5a4b1f3fd26a422db6b347442d930ebe","modified":1727361506592,"created":1727361506592,"url":"https://api.getpostman.com/collections","name":"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).","method":"POST","body":{"mimeType":"application/json","text":"{\n \"collection\": {\n \"info\": {\n \"name\": \"{{collectionName}}\",\n \"schema\": \"{{collectionSchemaUrl}}\"\n },\n \"item\": [\n {\n \"request\": {}\n }\n ]\n }\n}"},"parameters":[{"name":"workspace","value":"{{workspaceId}}","disabled":true}],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503954,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5a4b1f3fd26a422db6b347442d930ebe","parentId":"fld_dece8ba33a454a458f02127d54fde975","modified":1727361506591,"created":1727361506591,"name":"Collections","description":"The `/collections` endpoints let you manage your [collections](https://learning.postman.com/docs/sending-requests/intro-to-collections/).","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1727361503955,"preRequestScript":"","afterResponseScript":"","authentication":{},"_type":"request_group"},{"_id":"req_8f5f22434bfb43e793304844682ffa5f","parentId":"fld_5a4b1f3fd26a422db6b347442d930ebe","modified":1727361506592,"created":1727361506592,"url":"https://api.getpostman.com/collections/{{collectionId}}","name":"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).","method":"GET","body":{},"parameters":[{"name":"access_key","value":"{{accessKey}}","disabled":true}],"headers":[],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503953,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f9c6d0074be14cb2bd225f02cc3f246f","parentId":"fld_5a4b1f3fd26a422db6b347442d930ebe","modified":1727361506593,"created":1727361506593,"url":"https://api.getpostman.com/collections/{{collectionId}}","name":"Delete a collection","description":"Deletes a collection.","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503952,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c7e1adf2c7d44f4a89316acd2684f285","parentId":"fld_5a4b1f3fd26a422db6b347442d930ebe","modified":1727361506594,"created":1727361506594,"url":"https://api.getpostman.com/collections/{{collectionId}}","name":"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.","method":"PUT","body":{"mimeType":"application/json","text":"{\n \"collection\": {\n \"info\": {\n \"name\": \"{{collectionName}}\",\n \"schema\": \"{{collectionSchemaUrl}}\"\n },\n \"item\": [\n {\n \"request\": {}\n }\n ]\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503951,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d9b307cfd6d34a6c8d55635a12dc610b","parentId":"fld_5a4b1f3fd26a422db6b347442d930ebe","modified":1727361506594,"created":1727361506594,"url":"https://api.getpostman.com/collections","name":"Get all collections","description":"Gets all of your [collections](https://www.getpostman.com/docs/collections). The response includes all of your subscribed collections.","method":"GET","body":{},"parameters":[{"name":"workspace","value":"{{workspaceId}}","disabled":true}],"headers":[],"authentication":{},"preRequestScript":"","metaSortKey":-1727361503950,"isPrivate":false,"afterResponseScript":"","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_99d30891da4bdcebc63947a8fc17f076de878684","parentId":"wrk_scratchpad","modified":1716411181606,"created":1716411181606,"name":"Base Environment","data":{},"dataPropertyOrder":null,"color":null,"isPrivate":false,"metaSortKey":1716411181606,"_type":"environment"},{"_id":"jar_99d30891da4bdcebc63947a8fc17f076de878684","parentId":"wrk_scratchpad","modified":1716411181611,"created":1716411181611,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]}

0 comments on commit 7ade6c6

Please sign in to comment.