{ "item": [ { "id": "61bf97be-7246-4909-b47a-5f45413ae0b3", "name": "Products", "description": { "content": "Placing and managing of products placed for products.\n", "type": "text/plain" }, "item": [ { "id": "05f5f402-ccab-4ad7-bec7-368e51a4f796", "name": "Retrieves Products", "request": { "name": "Retrieves Products", "description": { "content": "Returns a list of all products for the authenticated user.", "type": "text/plain" }, "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] } }, "response": [ { "id": "314da28c-8a85-42e4-a11f-066eabdd9c45", "name": "A list of products", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"meta\": {\n \"page\": 1,\n \"pageSize\": 10,\n \"totalPages\": 2\n },\n \"data\": [\n {\n \"id\": \"efdbb9d1-02c2-4bc3-afb7-6788d8782b1e\",\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\",\n \"dateSent\": \"2018-04-25T18:00:30+01:00\",\n \"dateReceived\": \"2018-04-25T18:00:30+01:00\"\n }\n ],\n \"links\": {\n \"self\": \"https://api.example.com/products\",\n \"next\": \"https://api.example.com/products?page=2\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e44c3cbf-2e38-4199-a0e4-284cab35d00c", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7ffc4004-442f-48c2-930f-1f97de6e3571", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e7e8c3f3-5b0a-4e09-ad10-870ffdbbee2e", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7e6fe048-41f6-471a-bd41-3c27b3c0f438", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5286b6ed-f162-49ce-b9d0-904e81ef2f97", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "fd24db99-7c9d-4175-9ee8-c1bbe74e54a9", "name": "Products Create Product", "request": { "name": "Products Create Product", "description": { "content": "Creating a new product for sending to a recipient.", "type": "text/plain" }, "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] }, "body": { "mode": "raw", "raw": "{\n \"identifier\": \"\",\n \"name\": \"\",\n \"descripton\": \"\",\n \"image\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "b9302cfa-abdb-4cc8-94cf-4016bd0c0f39", "name": "Product Successful", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Created", "code": 201, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"meta\": {\n \"page\": 1,\n \"pageSize\": 10,\n \"totalPages\": 2\n },\n \"data\": {\n \"id\": \"efdbb9d1-02c2-4bc3-afb7-6788d8782b1e\",\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\",\n \"dateSent\": \"2018-04-25T18:00:30+01:00\",\n \"dateReceived\": \"2018-04-25T18:00:30+01:00\"\n },\n \"links\": {\n \"self\": \"https://api.example.com/products\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6a001b0e-5a6b-4db6-bda0-b0fa24204b3b", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a2a29e8b-d629-4bdd-968d-5ca34bc3df8b", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ae4fc23a-93c5-4da1-b466-bcd93a7e0a6b", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d50f7316-91ab-476d-a421-f4711669b9b8", "name": "Not Found", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/not-found\",\n \"title\": \"Not Found\",\n \"status\": 404,\n \"detail\": \"The requested resource was not found.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f2c6fb3c-ca86-4738-9ee8-4c22948f16ff", "name": "Conflict", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Conflict", "code": 409, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/conflict\",\n \"title\": \"Conflict\",\n \"status\": 409,\n \"detail\": \"There is a conflict with an existing resource.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c62844c8-14e4-4d19-8cd4-8f3f08713a76", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e12b6cd9-ba23-4351-b77b-2853d94a4052", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "eed063bf-331d-4850-b569-2dec5c435d10", "name": "Products Retrieve Product", "request": { "name": "Products Retrieve Product", "description": { "content": "Returns the details of a specific product.", "type": "text/plain" }, "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] } }, "response": [ { "id": "7862eeaa-5721-44dc-bba0-953f7e64393f", "name": "Product Details", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"meta\": {\n \"page\": 1,\n \"pageSize\": 10,\n \"totalPages\": 2\n },\n \"data\": {\n \"id\": \"efdbb9d1-02c2-4bc3-afb7-6788d8782b1e\",\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\",\n \"dateSent\": \"2018-04-25T18:00:30+01:00\",\n \"dateReceived\": \"2018-04-25T18:00:30+01:00\"\n },\n \"links\": {\n \"self\": \"https://api.example.com/products\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f5a4713f-a63e-4a20-9e9d-f45811030f1d", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6a33ebd5-2896-44d7-877e-64c6995a6dee", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "81b75463-32df-4fd0-b409-3f125e750717", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4deb7489-40f9-4327-95f7-0ad4841cd89c", "name": "Not Found", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/not-found\",\n \"title\": \"Not Found\",\n \"status\": 404,\n \"detail\": \"The requested resource was not found.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ac982e98-160c-47c7-ade1-8eaecaa4959d", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b7f8728b-8c05-4d82-9d45-d8c2f541adb5", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "62d57f5a-a1ea-46fa-8dcf-62155f60fbf0", "name": "Products Update Product", "request": { "name": "Products Update Product", "description": { "content": "Updates a single product.", "type": "text/plain" }, "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] }, "body": { "mode": "raw", "raw": "{\n \"identifier\": \"\",\n \"name\": \"\",\n \"descripton\": \"\",\n \"image\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "8a108a5d-dd00-41b1-8fde-f41aa42b81c2", "name": "Product Updated", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "55fa9e6e-dd84-450e-a98a-319df6a84ce3", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "dde4aa04-bf8b-4f5b-a2c9-5dbbac882b8b", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "85cd5a7b-3d83-46d6-b510-1d60201e04f3", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1e969b05-42af-4e66-ba8b-6136ecdf6ab8", "name": "Not Found", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/not-found\",\n \"title\": \"Not Found\",\n \"status\": 404,\n \"detail\": \"The requested resource was not found.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d952b22c-e412-4160-b66d-2c02d65a2b30", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "38477f88-c2ed-446d-874a-2fdb15e55ca1", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "4c066330-1036-4f58-b9bd-96dcd9dd5567", "name": "Products Delete Product", "request": { "name": "Products Delete Product", "description": { "content": "Deletes a product.", "type": "text/plain" }, "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] } }, "response": [ { "id": "55458e73-3527-4056-8886-c10c4f30ddde", "name": "Product Deleted", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6c4b0d3d-c7bb-4de9-b52c-d59128356bbd", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cb8eb703-e926-4922-b73f-ca9d98c212cd", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9e6aefc0-b8d0-4ff1-a680-ec7ddda6f5ef", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "003ad444-0aee-4351-a3e3-9c66d9b4786b", "name": "Not Found", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/not-found\",\n \"title\": \"Not Found\",\n \"status\": 404,\n \"detail\": \"The requested resource was not found.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ec8a3d50-9a9c-4a19-b825-d58d393fa862", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "67cbe36e-a6da-4cd1-b3e7-631aa7dd3d44", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products", ":productId" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "9b85058e-6e5b-428a-90fe-cd26dcf205a2", "name": "Products Cancel Product", "request": { "name": "Products Cancel Product", "description": { "content": "Cancels a single product.", "type": "text/plain" }, "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "auth": { "type": "apikey", "apikey": [ { "key": "key", "value": "api-key" }, { "key": "value", "value": "{{apiKey}}" }, { "key": "in", "value": "header" } ] }, "body": { "mode": "raw", "raw": "{\n \"identifier\": \"\",\n \"name\": \"\",\n \"descripton\": \"\",\n \"image\": \"\"\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "3b11615e-7126-4a40-9cd6-b0be048db8ee", "name": "Product Sent", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f9163f07-f329-439e-ad3c-90b1f349c5a9", "name": "Bad Request", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/bad-request\",\n \"title\": \"Bad Request\",\n \"status\": 400,\n \"detail\": \"The request is invalid or missing required parameters.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b027a194-534a-4e80-9f60-fe87d840a868", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/unauthorized\",\n \"title\": \"Unauthorized\",\n \"status\": 401,\n \"detail\": \"You do not have the necessary permissions.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "50a3d929-8f08-4c4c-9f2f-f0013df34a7c", "name": "Forbidden", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/forbidden\",\n \"title\": \"Forbidden\",\n \"status\": 403,\n \"detail\": \"Access is forbidden with the provided credentials.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d0c8219d-f6fd-4527-a518-4f9b8038b2de", "name": "Not Found", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/not-found\",\n \"title\": \"Not Found\",\n \"status\": 404,\n \"detail\": \"The requested resource was not found.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9a1776fc-66da-409a-9c51-bb68e0ec60b6", "name": "Too Many Requests", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "disabled": false, "description": "The Retry-After header indicates how long the user agent should wait before making a follow-up request. \nThe value is in seconds and can be an integer or a date in the future. \nIf the value is an integer, it indicates the number of seconds to wait. \nIf the value is a date, it indicates the time at which the user agent should make a follow-up request. \n", "key": "Retry-After", "value": "stringstring" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/too-many-requests\",\n \"title\": \"Too Many Requests\",\n \"status\": 429,\n \"detail\": \"You have exceeded the rate limit.\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "845db3b3-aed5-475e-b4dd-6e75ccac968c", "name": "Internal Server Error", "originalRequest": { "url": { "path": [ "products", ":productId", "cancle" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "productId", "description": "(Required) The ID of the product to retrieve." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: apikey", "type": "text/plain" }, "key": "api-key", "value": "" }, { "key": "Accept", "value": "application/problem+json" } ], "method": "PUT", "body": { "mode": "raw", "raw": "{\n \"sender\": \"Jane Doe\",\n \"recipient\": \"John Doe\",\n \"subjectOf\": \"Meeting Later\",\n \"text\": \"Please meet me at the market.\"\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "disabled": false, "description": "The RateLimit header communicates quota policies. It contains a `limit` to\nconvey the expiring limit, `remaining` to convey the remaining quota units,\nand `reset` to convey the time window reset time.\n", "key": "RateLimit", "value": "limit=10, remaining=0, reset=10" }, { "key": "Content-Type", "value": "application/problem+json" } ], "body": "{\n \"type\": \"https://example.com/errors/internal-server-error\",\n \"title\": \"Internal Server Error\",\n \"status\": 500,\n \"detail\": \"An unexpected error occurred.\"\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api.example.com", "key": "baseUrl" } ], "info": { "_postman_id": "db4a4d0c-dc6e-497d-91ea-ebcdbd87af42", "name": "Products API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "This is a template APIs.json for a products API, to be used in storytelling, training, and knowledge bases.\n\n\nContact Support:\n Name: API Evangelist\n Email: info@apievangelist.com", "type": "text/plain" } } }