diff --git a/PostmanCollections/VTEX - Weni by VTEX API.json b/PostmanCollections/VTEX - Weni by VTEX API.json new file mode 100644 index 0000000000..8184a96702 --- /dev/null +++ b/PostmanCollections/VTEX - Weni by VTEX API.json @@ -0,0 +1,44384 @@ +{ + "_": { + "postman_id": "c0e30a8e-b7d4-47e4-8e48-6958c10dc418" + }, + "item": [ + { + "id": "6b219b78-26ec-4b53-9ee2-a39f448653e0", + "name": "Archives", + "description": { + "content": "Archives of messages and runs", + "type": "text/plain" + }, + "item": [ + { + "id": "129707c4-bb79-4c85-bd54-ff952fbd762d", + "name": "GET archives", + "request": { + "name": "GET archives", + "description": { + "content": "List archives of messages and runs", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "b237a471-c10e-407b-a933-1f41bac76293", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7859ef5a-9d38-4adc-9ffa-8828a3a30052", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7e655d81-5553-4c3b-bd02-37d37522c17f", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "38f419cb-4f8c-424f-8fac-2039f16c6f37", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c997e688-30ca-464f-bd5c-714d4e2ae217", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "46cec3e5-b739-4213-91cc-99c4411afc8d", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/archives - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/archives - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/archives - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/archives - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "c905bec5-5ae1-455e-970f-42043fd87a99", + "name": "GET archives by ID", + "request": { + "name": "GET archives by ID", + "description": { + "content": "List archives of messages and runs by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) archives identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "f0545228-632b-48f2-8092-363d839eb081", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "513a0b63-17b5-42d7-bc6f-bc8fe42c2393", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "35c406b3-0d03-4b69-939c-3bbceaa2c8e0", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a82870e1-e173-4f7b-85d1-c894f86ecd52", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "470aa1d7-3025-4fca-b643-1f4817b2fdd3", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "archives", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "5178e0a5-a43d-4144-8c3d-2c94fba73b4a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/archives/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/archives/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/archives/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/archives/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "6c059b50-5c35-4b1e-b0ac-163b9c38f187", + "name": "Boundaries", + "description": { + "content": "Administrative boundaries", + "type": "text/plain" + }, + "item": [ + { + "id": "86cb3586-18a8-404a-ae30-88910b74f226", + "name": "GET boundaries", + "request": { + "name": "GET boundaries", + "description": { + "content": "List administrative boundaries", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a523897b-692b-41b1-a7dc-e698998c09d1", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "69fa3bc7-4e9e-4603-bb98-9a1fc13f5368", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "bbf0c703-3044-43a9-9c2d-b5634e066bca", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "28944ffa-165e-4b14-8084-c81e78ecc267", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0d72bf55-0262-48e7-8fc4-f196f870b4c2", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "cef906c8-5eb7-418e-a382-64e0a0807b08", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/boundaries - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/boundaries - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/boundaries - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/boundaries - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "c90b4ca1-74e7-4147-814b-7b7a6c423516", + "name": "GET boundaries by ID", + "request": { + "name": "GET boundaries by ID", + "description": { + "content": "List administrative boundaries by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) boundaries identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "75d59d32-5910-450d-b69b-8b1b65d2ebf2", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2af79ea4-ac04-4319-abde-6fd92fd62826", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "36e74fd1-75a0-41fc-aed1-af61573af5ad", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7728437a-01e0-4ef0-82f6-b0aaac5d5161", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "88f5df39-17f4-41b8-a196-1a33e7e57476", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "boundaries", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "4869190e-61d1-4b6c-ac4c-956e754616b1", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/boundaries/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/boundaries/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/boundaries/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/boundaries/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "206f9e8c-090e-4b65-873a-d98031ab6b80", + "name": "Broadcasts", + "description": { + "content": "Message broadcasts", + "type": "text/plain" + }, + "item": [ + { + "id": "0d6548e6-b543-4e82-bffc-8a762a54432e", + "name": "GET broadcasts", + "request": { + "name": "GET broadcasts", + "description": { + "content": "List and send message broadcasts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "498757e4-0615-4c97-8a00-5c0eec7ed106", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3a71171c-2e5e-401a-b486-ba7404677cc8", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1f508e5c-8274-42d8-8940-6cc5dfa47cfa", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a3e2f0da-a582-45ef-95dc-2a4a187891ab", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1210e328-c284-4225-89e9-74a5f7805b16", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "67af4ca3-2cbc-438a-9a53-8af39b59ba15", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/broadcasts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/broadcasts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/broadcasts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/broadcasts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "24ac1836-97f2-4a0a-bb9f-8c0ad37e2886", + "name": "POST broadcasts", + "request": { + "name": "POST broadcasts", + "description": { + "content": "List and send message broadcasts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "4a0bcbd1-4148-44b0-94cc-59f31c277599", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ba5a271a-60a6-4b02-a44b-9293bcf6ae9d", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3f769400-39be-4b27-a399-b5949a67fc7a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "68c268a5-1705-45fe-a77d-45914f77c1a1", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "51116947-0553-4d10-abf2-4a086dd92e9f", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "2bf62499-90ca-4b9f-8447-9faf23bb2c2e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/broadcasts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/broadcasts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/broadcasts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/broadcasts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4bf23c27-7d4f-421f-9ffb-cde6d13bf8da", + "name": "GET broadcasts by ID", + "request": { + "name": "GET broadcasts by ID", + "description": { + "content": "List and send message broadcasts by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) broadcasts identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ac8fe43f-38ed-493c-90c4-f65abd5f41ca", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "991b710e-e069-4853-a15f-08106384c37d", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "319c7434-fa70-451b-938e-0f9029454068", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "31fdcdc9-5bdf-44ea-99ee-5c0a18726918", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a3c18c4b-88a2-4f4a-b4d4-56025d0aaf19", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "broadcasts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "befd6fce-5641-4dd9-ad3e-9b9ec6279964", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/broadcasts/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/broadcasts/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/broadcasts/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/broadcasts/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "24e23a9c-17ad-4a37-b662-544c94c0ba66", + "name": "Campaigns", + "description": { + "content": "Campaigns management", + "type": "text/plain" + }, + "item": [ + { + "id": "e1af382c-703d-4eb1-8d38-534fab1acba4", + "name": "GET campaigns", + "request": { + "name": "GET campaigns", + "description": { + "content": "List, create, or update campaigns", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "efaaabdb-5cc3-40f9-9535-1eed4a7221d8", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f7a6827d-5628-48b5-82d1-22bd4f4c3a79", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a7cd73c9-5afd-44af-8fb3-4f12f1bc4eea", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0ae323b5-7520-47cf-b848-94c22ba09f55", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "86228e8a-1fa0-42aa-8d65-209d9a91488e", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "f3e1f595-dc6b-4f57-b874-59fa2ef171f9", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/campaigns - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/campaigns - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/campaigns - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/campaigns - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "7e44612a-9a57-41f4-adee-4a1bbe0c4b82", + "name": "POST campaigns", + "request": { + "name": "POST campaigns", + "description": { + "content": "List, create, or update campaigns", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7d7bfaa3-2b04-4bce-bc53-928fc4cfb608", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "242369d8-1de2-4088-b5be-671e24550b61", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b6cf6155-6c82-4e12-b9fa-8aaae66b2d2d", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "468070e7-9460-47be-a6a0-3984d37d64a3", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c8963622-962c-4f39-ae61-a41aa4ebd992", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6ba54db1-3c45-48bb-a137-cb54a6eec35b", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/campaigns - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/campaigns - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/campaigns - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/campaigns - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "b52b45ec-61a2-4a8e-8460-bab683b50afa", + "name": "PUT campaigns", + "request": { + "name": "PUT campaigns", + "description": { + "content": "List, create, or update campaigns", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "84248c25-38b2-4aff-ac9d-2fc525acd9e5", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "de1c39b0-76c2-4751-af3c-4cbe392e4214", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7c1da461-6a0f-4327-ab1e-2fcef02d063f", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f514462f-16f1-493d-918e-f708da01ee55", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b95a91e7-3597-45b1-a385-d3b65d4e829c", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "237a5934-9566-4057-9348-5511762a0e2c", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/campaigns - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/campaigns - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/campaigns - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/campaigns - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "bc1b86ae-6ba1-4772-afa2-1a1f8743110a", + "name": "GET campaigns by ID", + "request": { + "name": "GET campaigns by ID", + "description": { + "content": "List, create, or update campaigns by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) campaigns identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "68ca75a9-3464-4b0e-8a09-905aa8aa5b4c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0a354be0-5885-4306-ab25-9a5802778641", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ce48bd30-232e-4ccf-a579-b485c7a6e683", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9086d420-3593-4502-af76-96f4ad6f523f", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ba46ace7-cf51-4cf1-a38d-22125f6d2a92", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "f90500a0-3794-4db6-bbfc-f167c8ac7ad8", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/campaigns/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/campaigns/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/campaigns/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/campaigns/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "95366188-a6b1-4308-b40f-a661d17aa9c0", + "name": "PUT campaigns by ID", + "request": { + "name": "PUT campaigns by ID", + "description": { + "content": "List, create, or update campaigns by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) campaigns identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "3f8032fd-0f3c-473b-b315-ac60d4cc2063", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "154cdcf3-738c-458d-9628-1880e1bb53a5", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5f79371c-6f11-4067-85a6-45881dd8a4c2", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "42340935-a59c-425e-9c7f-71d8f5ee1f34", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7cb35cff-224c-4c0c-b645-e9313e274aa4", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaigns", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "28361708-1a30-4750-8475-ae77c98df2c8", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/campaigns/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/campaigns/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/campaigns/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/campaigns/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "475418e8-c702-4cc5-a755-0c9389191746", + "name": "Campaign Events", + "description": { + "content": "Campaign events", + "type": "text/plain" + }, + "item": [ + { + "id": "f014d7e5-c6fb-4fa1-8c06-a5271589649b", + "name": "GET campaign_events", + "request": { + "name": "GET campaign_events", + "description": { + "content": "List, create, update or delete campaign events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a88966a7-bbee-4b83-af4c-015d18dee8fd", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "82e8e709-8000-4cf7-8f1b-b1c068e4ea44", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "48ba98de-d149-4d9f-a2ff-5dab04c98843", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e319d990-a69b-4aae-93b2-fa108c0180eb", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "64d396af-c4c7-4959-a3bc-36ea2635e357", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "0cee98ad-38b4-4dc8-8dd6-37226933040e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/campaign_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/campaign_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/campaign_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/campaign_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "87a59fb1-f7ec-4210-968e-87edad955702", + "name": "POST campaign_events", + "request": { + "name": "POST campaign_events", + "description": { + "content": "List, create, update or delete campaign events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6f50bb59-1256-4f0e-8802-a8d8548c303e", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "35076cd1-5210-4afa-94ee-9a2306369d35", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1ed2e4df-56e5-4321-99be-27c4a660393a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "33fccb1e-43de-4644-a2b0-160d19471d1a", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e7c9595e-133b-426b-a5a1-a32063f1b703", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "44a2d83a-6c3b-41f3-b24e-bdecc8888b0c", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/campaign_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/campaign_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/campaign_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/campaign_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "026fb99e-4da8-430f-885b-d4eecb69a746", + "name": "PUT campaign_events", + "request": { + "name": "PUT campaign_events", + "description": { + "content": "List, create, update or delete campaign events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a3ce0732-c4d3-49c4-92d3-b9bf4d96d964", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "583cd909-2443-44d4-b245-e66bb1a9ff81", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "68d955fe-1e64-45ce-bc3d-a1be37ee6a23", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "45bb1f7d-9ff0-4964-a8b2-7799ed8384fa", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "90403053-60dd-4458-8c60-53307c31a0bc", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "722d1918-0513-45f6-9e8f-77c2546a71a8", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/campaign_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/campaign_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/campaign_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/campaign_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "0da6f280-925c-4b0d-bd1d-9cb14c154949", + "name": "DELETE campaign_events", + "request": { + "name": "DELETE campaign_events", + "description": { + "content": "List, create, update or delete campaign events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "da5a346b-acf5-41db-878c-b75b77da08f8", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6c6a24ec-c9ff-4b8b-b4a5-f25720f91392", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "22cb1123-2bac-49a4-9695-a8f5f8e00ab0", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "06295b82-4b4f-47f9-8c4d-5cd068aaea9e", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e4a9fbc3-f1cd-4f9e-b36b-14b0b184eeef", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "70b88f31-00ea-4085-a9ab-57bfd12216ec", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/campaign_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/campaign_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/campaign_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/campaign_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "9953b640-742f-412a-9009-5268e6769e5a", + "name": "GET campaign_events by ID", + "request": { + "name": "GET campaign_events by ID", + "description": { + "content": "List, create, update or delete campaign events by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) campaign_events identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "65fad172-9342-456b-bcf6-69a0866f46c5", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9f5d6a99-dc1f-4edd-856f-b184625f21cc", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "45afd1e5-5032-4530-8a9f-261e515e6e20", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1a7b2242-4807-486a-bae7-0b30ca89b83a", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "489b1096-f7d7-4413-a2f7-88e743ad4356", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "8a0611d3-f739-4e2c-926a-e318ef131423", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/campaign_events/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/campaign_events/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/campaign_events/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/campaign_events/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "0e171ace-66c0-4abd-a1a4-3769be647d53", + "name": "PUT campaign_events by ID", + "request": { + "name": "PUT campaign_events by ID", + "description": { + "content": "List, create, update or delete campaign events by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) campaign_events identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "94c4cca2-69f4-49f5-981b-c370bfd8c004", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7ee679c5-c94f-4f70-a512-146a2e99e083", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "76f13b15-6210-4cf5-a772-f35591953bea", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9d8c8232-269d-4c0d-80ba-a912f10c5a4b", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "29aabf00-60d5-4849-89b1-268f6f5b77db", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "1893aba9-f153-4af0-8f98-55a232b8d616", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/campaign_events/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/campaign_events/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/campaign_events/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/campaign_events/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "cb52c9e7-284c-4a33-a103-f600e076ee2a", + "name": "DELETE campaign_events by ID", + "request": { + "name": "DELETE campaign_events by ID", + "description": { + "content": "List, create, update or delete campaign events by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) campaign_events identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "1387812a-0fb9-4895-a906-6aac61a64cc2", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2b690767-5fc2-4830-a57b-9089e5929f91", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "09d7a833-cee2-4958-959b-0c77d0779f6d", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5a7d4977-ee71-4491-9140-aa0a64e6359f", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3b9535e5-b5f7-415b-ae1a-5b9e78ed42a8", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "campaign_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "75a0bf7f-3b74-4cab-9c71-662b38026f94", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/campaign_events/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/campaign_events/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/campaign_events/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/campaign_events/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "ea60a6e7-87a4-43d1-93ad-ebfd22575223", + "name": "Channels", + "description": { + "content": "Channels", + "type": "text/plain" + }, + "item": [ + { + "id": "b2ad528c-e6ad-42e2-89a1-0195ff5e1bbd", + "name": "GET channels", + "request": { + "name": "GET channels", + "description": { + "content": "List channels", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "27c815a5-b119-44c9-bf7f-cd779a228995", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c6fb0284-01a2-41a9-8565-87d4e581a705", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "54cb74cf-78a2-4ad0-aba5-a4113c090bef", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8e6e600b-9bb0-4ac5-8ebb-d8869a0e28ba", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ad642422-638a-439b-b56b-8d3b7930e8c0", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "db5d1667-f270-42ab-8a8b-44007d0a754b", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/channels - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/channels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/channels - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/channels - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "cafe9c28-c5b3-4ad0-a62d-53a52947ed9a", + "name": "GET channels by ID", + "request": { + "name": "GET channels by ID", + "description": { + "content": "List channels by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) channels identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "5810ec21-81d3-4302-ad18-5ed9cb76a095", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c2e4c1fe-d0b8-4719-b463-c32e4a4ab6a6", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "25414377-31bf-4259-a41d-d4e1058c8a72", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "78901617-cad3-4c2e-b21f-b3e0a07ef53e", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "80f09897-c61c-4b35-ba64-c411ffbe1b5a", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "e8557753-0f6a-4743-9df6-4404d957e55a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/channels/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/channels/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/channels/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/channels/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "f4beda97-fc6d-46f4-8d91-d152e8264fb3", + "name": "Channel Events", + "description": { + "content": "Channel events", + "type": "text/plain" + }, + "item": [ + { + "id": "c929995c-bf8e-4eef-8a4e-ba1fc80824c6", + "name": "GET channel_events", + "request": { + "name": "GET channel_events", + "description": { + "content": "List channel events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a739d3da-67bc-46fd-9cf2-7fa9f91b7d61", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "fb833dbc-27f3-4d21-bad4-98e23213fac3", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "08cb89d1-7671-4137-9697-e5c0c64bf873", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5feccfa3-09c1-40df-924f-e83826f90535", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4c32bf9b-efef-45fb-8521-c24eff2a4357", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "d0d5f00e-9999-4c4f-a275-b9f769d4a934", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/channel_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/channel_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/channel_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/channel_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "e863652f-9db0-4383-8799-06f89160bc9c", + "name": "GET channel_events by ID", + "request": { + "name": "GET channel_events by ID", + "description": { + "content": "List channel events by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) channel_events identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "02e9dbc4-20f9-4e8a-b5eb-2d871d3d50c0", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4257db50-acb0-41f8-a2cb-82781fd0d2ab", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "62075898-1106-446b-9db4-0ab35940e6b2", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f247daf5-6484-4ede-a248-474a38c49954", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8553e170-fc77-4a2e-9e35-84044fc720e0", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "channel_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7a9fbb74-1f92-40c9-8fd1-2f56d2b318eb", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/channel_events/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/channel_events/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/channel_events/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/channel_events/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "f4500eda-e81e-4f6c-9f67-6c3a26e61555", + "name": "Classifiers", + "description": { + "content": "Classifiers", + "type": "text/plain" + }, + "item": [ + { + "id": "8280071f-c7c2-41dd-b75f-91fc3a7c5f5d", + "name": "GET classifiers", + "request": { + "name": "GET classifiers", + "description": { + "content": "List classifiers", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "bdfe7612-d86c-4f3e-a0e4-756ebbafb27b", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "79e67b98-3c3f-4f27-9014-5bcc4e2c9450", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9b642493-cf9b-4672-81b5-52c25bb7458a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "41f33bf6-bb5d-4b93-b8e2-b0a3683205a9", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8acc2773-1212-4a6c-b63a-8caaa2aef616", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "dffc9b15-3db7-456f-bd24-9210e5edd0c2", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/classifiers - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/classifiers - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/classifiers - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/classifiers - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f53055bf-e71a-4a4b-a916-281ff8a5cec2", + "name": "GET classifiers by ID", + "request": { + "name": "GET classifiers by ID", + "description": { + "content": "List classifiers by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) classifiers identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0ce60a2b-7d60-42d0-982e-11926e29e374", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a55cde8e-d2d5-451e-b73e-5bb0bd527607", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5830cf35-4629-49ad-b72b-e59c61a44b74", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "01787875-f6b5-4b02-98ad-f0d42f727bed", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6ba7ce4d-c25b-49fb-8469-fc8ff4875314", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "classifiers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "475c43a4-b345-4f0f-9973-fc82305be8c1", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/classifiers/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/classifiers/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/classifiers/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/classifiers/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "a76c08a4-fd0b-4eea-8572-12ab30d09df8", + "name": "Contacts", + "description": { + "content": "Contacts management", + "type": "text/plain" + }, + "item": [ + { + "id": "9d203865-3bc2-4bd5-b529-ffdcff939188", + "name": "GET contacts", + "request": { + "name": "GET contacts", + "description": { + "content": "List, create, update or delete contacts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "e7e165e9-f242-4f5e-8dd4-bbe0f28de750", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "553364c2-ddce-4b36-b25f-16637e71ef90", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "72224b58-8dfa-4155-a044-64286516f0ab", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "68f9bdeb-0f94-4d3b-ac9f-ed0111b0f3f8", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "92293c4e-863d-4333-8e93-3353dd259cd3", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6c105a76-69cc-4dab-8586-3d7d0029b569", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/contacts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/contacts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/contacts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/contacts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "19d424e1-3d83-471b-a016-97f9f8eb5d84", + "name": "POST contacts", + "request": { + "name": "POST contacts", + "description": { + "content": "List, create, update or delete contacts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6488d974-d153-4260-8b05-e29987a1b640", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1e076442-8d5e-4df6-a35b-4a26f306262f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6f6f3614-2dc8-49f8-9298-f76ab5231673", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "09a7ccae-cb42-4458-933d-c45fc88cfcaa", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c1bfa6ac-6eee-4a26-a62f-5f9c616aa6b1", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "17787e14-cf72-4c7f-9b52-ed2de5770314", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/contacts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/contacts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/contacts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/contacts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "247e546a-a990-4d46-b252-4e97295daf6a", + "name": "PUT contacts", + "request": { + "name": "PUT contacts", + "description": { + "content": "List, create, update or delete contacts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "21e66b27-5115-453c-b8ab-d62015f3deec", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9eff3b7f-dd8a-42f6-b8b2-f775ffcf4326", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c8b19512-fb8c-4ae0-ab0a-5394f413ea14", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "12d512e6-d44f-43d2-94ae-38612e0a9f12", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7ce47792-34b6-4244-a852-dba6bc62c116", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "60bf7024-2e19-471b-9c68-64d765fa72bf", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/contacts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/contacts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/contacts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/contacts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "26f4cede-8fe5-4c6b-bb8c-152fa2c31877", + "name": "DELETE contacts", + "request": { + "name": "DELETE contacts", + "description": { + "content": "List, create, update or delete contacts", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a27c4eb4-4f0a-42ee-b98a-6cc4d95b72f1", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0bf1c294-08fa-4cef-8e2f-cc664fb273b3", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "27a9b745-3a91-4915-b0c3-191f315cd170", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0a14f8f6-61bf-4563-8d35-c94209da0220", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "589f32da-0182-4203-96f3-1eb0df5d7f49", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "63f2b526-bc0e-4b09-9e54-5f0ce3feb173", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/contacts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/contacts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/contacts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/contacts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "e3cfa74b-7926-4949-a4fd-6732cf153f22", + "name": "GET contacts by ID", + "request": { + "name": "GET contacts by ID", + "description": { + "content": "List, create, update or delete contacts by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) contacts identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "449a682a-bdd0-4703-b09c-d42bda32effb", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5a5e7172-53d8-4d0f-bd62-23747a5fb01f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "748e42f3-9dab-4335-9588-9d79e8d204dc", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a974cb46-4062-47e3-8848-1bd1045d4cb3", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "921da784-9c26-4c89-8226-a61ac164a1cb", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6bf5f77d-4ad3-4a80-8026-37d32435497e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/contacts/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/contacts/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/contacts/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/contacts/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "e392a586-018a-46f4-9052-495677521d7c", + "name": "PUT contacts by ID", + "request": { + "name": "PUT contacts by ID", + "description": { + "content": "List, create, update or delete contacts by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) contacts identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "d5a8f01a-7138-4ad8-8f2b-02919bfc3ea4", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "663f735d-e647-433d-bfbf-d0d9ea3fad7a", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "db066bd8-c974-4f7c-949a-22dcdc72912a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b54bb126-e04c-4e22-bc59-22c19375a921", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d733b2fe-cece-40e8-b3b6-e651a373f6e2", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "4140eda5-2355-4a8b-a31e-78a32287cae4", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/contacts/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/contacts/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/contacts/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/contacts/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "df2cd958-7f00-4e63-9ed7-a23d3523f871", + "name": "DELETE contacts by ID", + "request": { + "name": "DELETE contacts by ID", + "description": { + "content": "List, create, update or delete contacts by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) contacts identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "c4911b52-4c25-48a0-8982-d9dd7c07fa77", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "44cac1f2-0bc5-4f66-9ffe-b4f2b2d91766", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a0f8cf05-2b11-4ff4-9f90-283a3c6a331b", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3d0b0dc7-876a-4a3b-a2c2-f58309b79ded", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f081fe53-fc76-4dbf-b40c-6c043ba91e1c", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contacts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "1596a2d0-738f-4900-9a86-b25aa9278846", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/contacts/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/contacts/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/contacts/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/contacts/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "e310df34-fce7-4a04-a1bf-dc40972fe115", + "name": "Contact Actions", + "description": { + "content": "Bulk contact actions", + "type": "text/plain" + }, + "item": [ + { + "id": "ce29638a-8fcf-419d-8584-4aa5240e400f", + "name": "POST contact_actions", + "request": { + "name": "POST contact_actions", + "description": { + "content": "Perform bulk contact actions", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "39ba511b-c1cd-46c4-a3ff-d2093189846d", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "29dd6a1d-b2c8-4a39-9e2e-1772a8efec2d", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "67c7f0a1-d6d1-484b-9957-db3a0e8e2f4e", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "19001640-453c-4d7d-8295-766e676f17fe", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ead98b62-8fbe-4018-910e-d9455d9f6b65", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "e046aeac-c84a-42cd-a98c-a0ffe176c739", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/contact_actions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/contact_actions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/contact_actions - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/contact_actions - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "5b39536f-98e1-4a79-be7e-fc1303a12d90", + "name": "Contact Templates", + "description": { + "content": "Contact data with templates messages", + "type": "text/plain" + }, + "item": [ + { + "id": "9ee37937-27b5-4e67-af27-1f879778f559", + "name": "GET contact_templates", + "request": { + "name": "GET contact_templates", + "description": { + "content": "List contact data with templates messages", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "725e6d3f-fa04-4578-8e51-13d6bc4ed7a4", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f2b3d911-127a-407f-9a6d-6fc74f0d7194", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "65e48fc0-3627-4942-8e1f-d2f67954b009", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "45c6c2af-e6c8-4935-8efe-070f6952dd04", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9acc7f02-11de-4466-b52d-fdd1fb2a43ac", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "befd7db3-7d47-4e37-ac30-17ae9d8c5342", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/contact_templates - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/contact_templates - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/contact_templates - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/contact_templates - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "3911a5d7-ce12-484e-9f2e-87a87f8044a4", + "name": "GET contact_templates by ID", + "request": { + "name": "GET contact_templates by ID", + "description": { + "content": "List contact data with templates messages by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) contact_templates identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "51bc6a76-d4ed-4430-b9ea-d5aee12ba3e5", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "bf36151d-77bb-4dbf-8704-936a137d9032", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "53973918-14af-465f-a905-e0e472081761", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7c2b0550-c924-4f68-baca-b36e1929aae1", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "da08de09-1799-41e8-a3e0-28b5adb4a46e", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "contact_templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "2af90b18-e3bf-4803-946c-1728fd373520", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/contact_templates/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/contact_templates/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/contact_templates/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/contact_templates/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "ddd17f28-778f-43d6-a2c2-557882c3b446", + "name": "Definitions", + "description": { + "content": "Flow definitions, campaigns, and triggers", + "type": "text/plain" + }, + "item": [ + { + "id": "23636edf-a6b1-409e-90db-7ec50adcbe92", + "name": "GET definitions", + "request": { + "name": "GET definitions", + "description": { + "content": "Export flow definitions, campaigns, and triggers", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "857954a0-3220-4fd6-8412-98efbd9f20e7", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "34d63e44-e314-4b9e-8d1a-b861f60b2246", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9310ebd9-97d3-4c43-972b-e13acce4b3c0", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "225c151b-1335-4322-8e97-6f0fdd77775e", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7fcdc909-e630-4390-8d89-49297a968fde", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6a1abc83-d32b-49bd-a315-7d570b885299", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/definitions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/definitions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/definitions - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/definitions - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "aae6e13d-f5f8-4d17-824b-8660e05f4a6c", + "name": "GET definitions by ID", + "request": { + "name": "GET definitions by ID", + "description": { + "content": "Export flow definitions, campaigns, and triggers by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) definitions identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "05db4e0c-14ec-423f-889b-be65b5899e80", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "34a54a18-628e-4549-b92f-e56a4640c23c", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4215556a-2439-4dda-be98-ca64cf9468ec", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7a955a8d-d20e-4ea3-83e9-b46322bb93de", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "94c5be36-67c6-43d5-a6da-1fbf192ab5d0", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "definitions", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "ad5fbf51-6962-4655-878b-3faa08ec8768", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/definitions/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/definitions/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/definitions/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/definitions/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "d867e850-5262-4258-9bec-fc9bb0efa0f0", + "name": "Fields", + "description": { + "content": "Contact fields", + "type": "text/plain" + }, + "item": [ + { + "id": "260baddd-43c2-473a-87c3-49ba4984014e", + "name": "GET fields", + "request": { + "name": "GET fields", + "description": { + "content": "List, create or update contact fields", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "15808573-e8c2-4f76-b210-5f66c10c700d", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4c58bd4f-21b7-4d99-b082-fe5c20331b14", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6304a5c6-a19a-4906-b828-842f4f0c251f", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a8ce69be-570d-45ed-a7b6-aca269535d0f", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d9f2809e-9844-4840-ab89-1ba2afca36d5", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "99436937-e46d-4a38-92b1-e245c86ab7db", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/fields - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/fields - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/fields - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/fields - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f526f476-bfba-4cb0-a018-4ff8e7da067e", + "name": "POST fields", + "request": { + "name": "POST fields", + "description": { + "content": "List, create or update contact fields", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ba3146a2-7bcf-42e9-800f-e6d1eeddc2b8", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d862768f-3ca4-4d6f-bedc-cee776bfc9d9", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "002b3b0d-06fa-4d83-99e2-42a62bca1e7a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "137f1bb0-aec6-4b68-8e7b-8797c005302a", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "606944b1-8ee7-469f-9132-7e30c829143b", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "77487d4a-c631-4f88-8ea0-801086832187", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/fields - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/fields - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/fields - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/fields - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "a682fcb1-5b54-428d-9dbd-fee8d20eae4e", + "name": "PUT fields", + "request": { + "name": "PUT fields", + "description": { + "content": "List, create or update contact fields", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7d113cb3-1e73-47fc-a4fe-9f3b90bb9561", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f4e4b3a2-649d-47fc-b27f-e3d71d4b6200", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4b11c2c5-52de-4625-95ea-264b4fb9db69", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "af1eedc8-aa71-4333-9d32-9485f023525a", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "cb4ab8fc-2829-44d3-ba22-283a910b001c", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "56f1a81d-93b2-46b9-b154-6417db091dbb", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/fields - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/fields - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/fields - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/fields - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "6da1cfa4-5006-468e-adc6-3ce7a04d0cb6", + "name": "GET fields by ID", + "request": { + "name": "GET fields by ID", + "description": { + "content": "List, create or update contact fields by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) fields identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "cff9c220-bb93-4a5b-b4ac-163bb3145c56", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "73e08ca9-e97d-4790-9c8e-765417a7c785", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "88752f73-fb4e-4624-bf39-60a8086d2e7b", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "34a3ae23-682e-4c0b-a7f8-c5aac785b674", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "72f8b9c1-f3d7-4f25-9ac7-01bd449689c9", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "9189e4ae-099d-4d73-a46b-89c5f866b81a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/fields/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/fields/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/fields/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/fields/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "3b66527c-4625-43ef-ac5e-db638feac10b", + "name": "PUT fields by ID", + "request": { + "name": "PUT fields by ID", + "description": { + "content": "List, create or update contact fields by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) fields identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "20da3a5c-c4e6-4964-b7a2-886474e09cb2", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5df5eab8-ec45-4f87-9abb-0f9edaa988bd", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5216fda4-ec30-416e-bbf3-6526cdb410b9", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8a88989b-e822-4431-9a8a-aa8db966c460", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "526da4c8-c74f-4b56-bb2e-e5065b75440a", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "fields", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "37ba8d56-983c-4526-bf1c-78cdaee8c630", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/fields/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/fields/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/fields/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/fields/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "64d9146e-31a5-4953-a06b-a6f4a52e2093", + "name": "Flow Starts", + "description": { + "content": "Flow starts", + "type": "text/plain" + }, + "item": [ + { + "id": "66ae3f6d-9f68-42dd-a91d-8cc47a9d9f17", + "name": "GET flow_starts", + "request": { + "name": "GET flow_starts", + "description": { + "content": "List flow starts and start contacts in flows", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "5cc1b86f-5ce2-4cd9-b446-13f77090c7c6", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "499d824c-ab08-40d5-96b8-aae401b026ac", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0b47093c-cecd-4d77-abf4-7d4fe0be14fa", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "aadf05a7-5604-4cb3-a7c4-5c734ed722c2", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ef57725a-f19a-4cf9-9c62-4653f6fba152", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "d7b83ea9-a9a4-4200-8110-58e3ec83a881", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/flow_starts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/flow_starts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/flow_starts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/flow_starts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "dca3ddc9-a758-403c-8da8-7aba37931ec3", + "name": "POST flow_starts", + "request": { + "name": "POST flow_starts", + "description": { + "content": "List flow starts and start contacts in flows", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "751d9b34-d8c2-4b91-8b75-f9385cd634af", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d622384d-ec64-4a6e-8ad9-99df5501e7da", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "95b38093-757e-4c00-b00e-b70a0d32ab7c", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9d594ca9-abdd-45f2-9820-937b7be6cb52", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2d53e69b-6acc-415c-a777-b55a8a65eeac", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "cc0f618b-7743-42c3-b870-d865392b628f", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/flow_starts - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/flow_starts - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/flow_starts - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/flow_starts - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "cc1b3dca-470f-4846-8adc-c2272c216409", + "name": "GET flow_starts by ID", + "request": { + "name": "GET flow_starts by ID", + "description": { + "content": "List flow starts and start contacts in flows by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) flow_starts identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "f3ec2c5d-f201-4feb-98e7-9289da2f9a3c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "71144a88-b2d5-47e6-aae2-e8009aa764ec", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "17150886-e4af-488e-9269-5340ca3afb83", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7692c244-9179-4860-bb50-a57140c5a566", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ba0d8f58-461c-4ead-851b-bde6d37024ea", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flow_starts", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "d53569cb-8e2d-4d00-a7dd-9e38db9dfcab", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/flow_starts/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/flow_starts/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/flow_starts/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/flow_starts/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "130710b0-7c1c-4b43-b483-d7e890ca4a8c", + "name": "Flows", + "description": { + "content": "Flows", + "type": "text/plain" + }, + "item": [ + { + "id": "4e0f9e18-49d8-479e-a96e-874a207c86b3", + "name": "GET flows", + "request": { + "name": "GET flows", + "description": { + "content": "List flows", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "535bb315-4c64-4594-8ed5-5c4c3936f464", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "894b429b-f15f-496d-804c-38b4b72e0057", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a2d2ccb3-59d5-4402-bea9-330b9fe1ebf2", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "72c5b26a-bee3-48bc-b116-9b0aaaa55276", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f3c626f1-5cdc-4f62-8558-9a412847ca1e", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "007b89be-fd63-4fc6-ba1f-ca490307c8d6", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/flows - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/flows - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/flows - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/flows - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "bc547e1f-ccb3-4c16-a229-96effe2aaef6", + "name": "GET flows by ID", + "request": { + "name": "GET flows by ID", + "description": { + "content": "List flows by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) flows identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "578174a1-a8a4-4110-bf0e-7a56783435f0", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4ffc2ce5-ba4f-4eae-9c65-1f56e48bf661", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "36453134-eab5-4850-9804-89b889b5a8b5", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e6927616-8233-48c4-9c92-706807b0457b", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "269d8938-f91b-4efe-9e80-81ea1bdae6ae", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "flows", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "5618a5b3-7512-46a6-852d-59b583b5643f", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/flows/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/flows/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/flows/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/flows/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "8971787c-4474-4169-afca-0a4fb5dc6691", + "name": "Globals", + "description": { + "content": "Globals", + "type": "text/plain" + }, + "item": [ + { + "id": "cbddf2e0-751d-4f04-9da4-35d81d57dc29", + "name": "GET globals", + "request": { + "name": "GET globals", + "description": { + "content": "List globals", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "29c0031d-b6ac-4695-ae8c-ceabf5040734", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "58e179a7-01e6-4a0c-b021-75949f24c0cb", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "be9f4f1b-05e2-41f4-8e56-8abdced9a23e", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "cb71757c-dc7b-4037-9aac-1f605c540446", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "10411ea0-b141-489a-a2ab-f64fa5a3e2c3", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "5d3a6c7f-1379-4a91-a305-ea5fdf5eea54", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/globals - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/globals - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/globals - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/globals - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "66a66806-651c-4dab-96c1-6b8f625d9c68", + "name": "GET globals by ID", + "request": { + "name": "GET globals by ID", + "description": { + "content": "List globals by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) globals identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "c2667dea-4501-40e0-a957-10edba254ad9", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0233920c-730b-4d7f-a30d-a336c9b0795e", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "74f19c63-be74-4fd6-a82f-ba4a5a519701", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0c954fac-f222-4944-bef2-063846e5d6d2", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3855f925-6dcb-4486-84c3-17642035e10b", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "globals", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "e0655b98-08b0-495d-8247-8d3c573fe542", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/globals/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/globals/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/globals/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/globals/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "45d7efa5-9d9f-427f-af7a-a97611bd67ea", + "name": "Groups", + "description": { + "content": "Contact groups", + "type": "text/plain" + }, + "item": [ + { + "id": "fd2a4e16-737e-40e3-879b-d1fce4a4bf76", + "name": "GET groups", + "request": { + "name": "GET groups", + "description": { + "content": "List, create, update or delete contact groups", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "98718d38-315e-438c-9561-025b1e9a608c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "20aeb2fc-3764-4bc3-90bb-b488031c828f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e9354c8b-3ccc-4e5d-8818-24c8b97d418a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5ae49d08-d7b5-4372-8ff0-85cc8c6b7366", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1c64251e-ed3a-4e83-a356-2a11688a8c4b", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "09dc9878-039d-4c00-8019-3d724317d017", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/groups - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/groups - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/groups - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/groups - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "04cd7848-d718-43e8-96cc-9501786e4cd1", + "name": "POST groups", + "request": { + "name": "POST groups", + "description": { + "content": "List, create, update or delete contact groups", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "b5ae3b50-59c8-405d-bb79-95948dd944b9", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d285849a-5368-40ce-bf7e-2cb0ccc5bd23", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2a4abe2d-5acc-4d8b-bd07-80105a9a379a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "474977b6-86a5-4bfb-a758-42a733791b69", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a6da5337-e918-4ffa-bf80-5ceaa2db5f10", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "68a8474b-a3fc-4276-9f90-63f06d6f503a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/groups - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/groups - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/groups - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/groups - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "5bcca8bf-3cbd-400d-9671-9d62e956cadf", + "name": "PUT groups", + "request": { + "name": "PUT groups", + "description": { + "content": "List, create, update or delete contact groups", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0cb63936-b323-4fe9-934b-08ca3ece6ce6", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4ff84fcc-9e26-4a28-a1eb-df89f890b370", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b776b122-109b-4415-9aa6-b54f757df44a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a9180810-6711-4f9f-bd3c-ce151c3f9ec2", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "078f53ef-2841-4bbc-ab31-ae0be4c68820", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7b6dcd30-c0ba-4d68-8479-621d1a4a0758", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/groups - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/groups - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/groups - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/groups - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "dde9fb74-3d8b-4ddf-a731-676fcb45f2fe", + "name": "DELETE groups", + "request": { + "name": "DELETE groups", + "description": { + "content": "List, create, update or delete contact groups", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "b141049a-6f09-4a84-a8b4-7bce6f5e3ee3", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c35a6d48-2e6e-47af-9f16-2fd1ce0eaa3e", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "54ca254e-eb2a-40de-b9cf-dc203ac4c26b", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "da6d5226-8da1-40cd-a26e-69c4e013ceee", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "75540e64-51b1-4c8c-abd0-07e334ab5161", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "500b158f-bcac-4b70-8508-b371518ba25e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/groups - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/groups - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/groups - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/groups - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "809fe4f0-2994-4678-a2e7-edc657f2e312", + "name": "GET groups by ID", + "request": { + "name": "GET groups by ID", + "description": { + "content": "List, create, update or delete contact groups by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) groups identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "0321bfce-8a57-4532-9e8e-c1d74b550134", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b5629e94-606d-4167-8600-bc7c2edc953a", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "55fc8a99-532b-4ea2-b60f-76178606b17a", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e01496ea-5fd1-4eef-8c40-ed36bf2384c8", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "27f0c6aa-f830-4dfc-a7c1-5e0c17226ac2", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "bf219218-08ef-4fea-a7bc-c9d61c51a1e7", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/groups/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/groups/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/groups/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/groups/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "a5878910-5228-40b5-aeb2-a357ee4db7ac", + "name": "PUT groups by ID", + "request": { + "name": "PUT groups by ID", + "description": { + "content": "List, create, update or delete contact groups by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) groups identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "25c78f74-35b9-4dff-8dba-f9c0ccb58c7d", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8027271e-9e34-4e70-a4c0-2d3a4dc4bbdb", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3364d6b0-5233-4bf3-bdd6-e354d1d282ee", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "be023aaf-57d7-42b9-ac3f-901beefe5fe9", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a7136b32-9fe8-4b72-848a-a63885ca93fb", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "1d99a9ad-310f-4848-99b1-b2fc900c47c2", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/groups/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/groups/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/groups/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/groups/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "3894e9f3-129a-4ac0-8229-7a55026f8f0f", + "name": "DELETE groups by ID", + "request": { + "name": "DELETE groups by ID", + "description": { + "content": "List, create, update or delete contact groups by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) groups identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6c032317-44e9-41de-a82e-4d6e4d6edf8c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "af82a094-58e6-4116-b761-fda7f93a5097", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "63da8ddc-7ef2-48d5-8cad-181a11965312", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "71ffc0e1-212e-435a-9874-cfb1c2f97af6", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c070473d-0a0f-403c-bc83-e7f6a46790e1", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "groups", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "e20e4a82-f7ae-4933-9ee3-49d7d47266db", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/groups/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/groups/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/groups/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/groups/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "a42b3025-e695-4b84-81cb-e23a6b00aebc", + "name": "Labels", + "description": { + "content": "Message labels", + "type": "text/plain" + }, + "item": [ + { + "id": "887ea164-d44c-4512-8337-e8a12fadd7cd", + "name": "GET labels", + "request": { + "name": "GET labels", + "description": { + "content": "List, create, update or delete message labels", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "8d073718-de2b-42b0-8304-a0d265c0c074", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "26fdd951-85fe-4056-93e3-f8324d4822b8", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "fedbad8a-b3f9-4500-8626-ac8f65fa26e3", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "648019ea-ba1c-4340-94ac-7382968e6e90", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "43e35b62-ec6b-4eef-bd22-76126da366ed", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7118603b-45a9-49f1-8290-20a5b9fac56a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/labels - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/labels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/labels - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/labels - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ecf4a355-8606-4f2b-98c7-c5e1eab47bef", + "name": "POST labels", + "request": { + "name": "POST labels", + "description": { + "content": "List, create, update or delete message labels", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "91aac672-d9e2-4de3-929c-1f596b165895", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0cd07ef3-45f8-4430-a451-a6cc1006e62a", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "093c2471-a1b9-4236-a86c-0761dee0ec4d", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "43e1bdd1-f1d2-440c-b9a4-fddd7dda5ed2", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4d6c84a3-6a1b-4419-a318-abb60f4f1429", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "d1973326-2c60-42f4-bcc0-781483401d16", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/labels - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/labels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/labels - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/labels - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f31bb987-82c1-41be-8fdc-127a5dfa3246", + "name": "PUT labels", + "request": { + "name": "PUT labels", + "description": { + "content": "List, create, update or delete message labels", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6a9bdf9e-71fd-42ff-9f84-3213c4f67ef4", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "19173c3a-936d-4db4-a668-5b3198f4b99f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d818e8f6-5f17-47e7-ad1e-45b2d47569a7", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c15c49a9-cc56-4d9b-88eb-abc8fce40443", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0eeaf899-981b-4716-813b-5040dd45b7cb", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "1d438f20-6250-4c6f-9588-69dcb11fbf56", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/labels - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/labels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/labels - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/labels - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "50c3802f-6173-42d1-80a8-e3edac11f58c", + "name": "DELETE labels", + "request": { + "name": "DELETE labels", + "description": { + "content": "List, create, update or delete message labels", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7f23243c-0cba-4d3a-9338-df06ff117064", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4a260363-a4d2-4e40-accc-763f4d12699f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "77ed445e-2211-461c-aef1-08967f1f5c44", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c958887b-d949-4178-9339-9c5d8d2906e3", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1de50921-2471-4c7e-b50a-0bd3f64e4d88", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7383a0cc-f39e-44a8-904e-10d942cbe75e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/labels - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/labels - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/labels - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/labels - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "2f1a93b3-871e-45f3-9c12-4761b030808e", + "name": "GET labels by ID", + "request": { + "name": "GET labels by ID", + "description": { + "content": "List, create, update or delete message labels by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) labels identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "1d568a32-4d57-400c-b89b-40d7c97c51ee", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5ab573a4-39ab-410b-aea2-c321aff674e0", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "491d1d4d-3394-4802-ad9e-e34d377711a0", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "154de525-2b60-4115-996c-58e2f5a61d8a", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9aa195f0-d8ae-45ac-8366-7b0f1d7c7d71", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "11b37284-5b6d-4908-aa3f-4c1017e62cef", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/labels/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/labels/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/labels/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/labels/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "2e06138d-9818-4510-93e1-99121ae40e82", + "name": "PUT labels by ID", + "request": { + "name": "PUT labels by ID", + "description": { + "content": "List, create, update or delete message labels by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) labels identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a2ade994-35f7-43c7-be28-e2bfdb332037", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6577e9d7-795c-4a40-b759-767878f1ff61", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "498c82ca-f588-4237-adac-786a4c6cfb72", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "80dea929-06f2-4afb-a669-1d2e9517b810", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "34ea68b9-6a99-4bc3-9b14-bf79e1628963", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "PUT", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "9051d74a-a39a-4cc2-a61b-c5a98f0f6c93", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[PUT]::/api/v2/labels/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[PUT]::/api/v2/labels/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[PUT]::/api/v2/labels/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[PUT]::/api/v2/labels/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "d64b6917-9d3d-40df-adec-b01974e29837", + "name": "DELETE labels by ID", + "request": { + "name": "DELETE labels by ID", + "description": { + "content": "List, create, update or delete message labels by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) labels identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "8acb7790-457a-4925-8b87-b057790205d1", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ed72caad-7ed3-4ee8-ac90-0aeb3cfe3bda", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "713cb96d-483d-4afe-a652-9c684f1c80c6", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b6117c51-69ea-4e51-a885-71230fb65611", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4be47639-02b4-4f1f-b287-31881d4d442f", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "labels", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "954c52ac-5d9e-4248-8258-aa15fbfe56e8", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/labels/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/labels/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/labels/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/labels/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "c9c6760d-df70-4ee4-8953-c633715778da", + "name": "Messages", + "description": { + "content": "Messages", + "type": "text/plain" + }, + "item": [ + { + "id": "6ba540da-f179-4dd5-8362-050716c4b81e", + "name": "GET messages", + "request": { + "name": "GET messages", + "description": { + "content": "List messages", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7768f218-948b-4b48-a9dd-3084eebdd54c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "569727aa-494a-43a6-b6c6-183f5497c41f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "32512285-08a6-46f0-a88f-a67096b743b6", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8031d502-b4a5-4259-ba20-f35fe01933d4", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "28fb2463-4a95-4b20-a3d3-ac5957bcac00", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6a0a74fe-468c-4c96-aa67-65325e958f09", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/messages - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/messages - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/messages - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/messages - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "a60b7f4a-f291-4550-b9d0-c480e5ffb87c", + "name": "GET messages by ID", + "request": { + "name": "GET messages by ID", + "description": { + "content": "List messages by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) messages identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "a7c4e695-c13b-4367-9eb9-49974f6ca5c3", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "83729381-7cc1-4121-95f3-38ef6090e58f", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4014109e-3f0c-4359-9d45-52e90094433d", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9ecf8c9a-3ae4-44ae-b896-575978a66b74", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6a68f168-7729-4683-92bf-d895e73a1492", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "messages", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "9e24a4ef-85af-4ce4-8307-0fa72d787208", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/messages/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/messages/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/messages/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/messages/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "1dabaf95-4675-412a-b6e5-219d4d3d1dcf", + "name": "Message Actions", + "description": { + "content": "Bulk message actions", + "type": "text/plain" + }, + "item": [ + { + "id": "5041b804-de64-4c94-8ac9-7d3001d1fe8a", + "name": "POST message_actions", + "request": { + "name": "POST message_actions", + "description": { + "content": "Perform bulk message actions", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "23171533-a374-43e6-8587-342bf216b6b2", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "aa830123-abf8-4039-b277-0c7bd3452842", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "296f2cc2-4d6e-4159-924a-4c41e0aedeb2", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6a56b356-bd29-4147-aae9-079397356e15", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "69f9b390-089b-4123-9b5b-a95e38c988c4", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "message_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "24954a0f-4b5e-45a3-b3e9-c86d5a384eb3", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/message_actions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/message_actions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/message_actions - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/message_actions - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "47389949-adf4-4d46-b7e3-aed318515b2b", + "name": "Runs", + "description": { + "content": "Flow runs", + "type": "text/plain" + }, + "item": [ + { + "id": "50da6c24-91dd-438c-952b-dd31af9849c6", + "name": "GET runs", + "request": { + "name": "GET runs", + "description": { + "content": "List flow runs", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "20aab659-82cd-437f-9ba1-d7427f9174c9", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "cbcd381b-cbf7-4f73-a9ea-1515bd24f7f7", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0783872f-b096-4a28-83ca-2f909779757e", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6ac15900-489d-4a0f-8e15-1acfbeb686a7", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "69209970-9289-4ebb-adcd-269f2be7901b", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7a4ed223-b0df-4ebb-80ca-1b6f03d2827f", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/runs - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/runs - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/runs - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/runs - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "5469df14-fdd9-45bf-96fe-ed666f9e3b97", + "name": "GET runs by ID", + "request": { + "name": "GET runs by ID", + "description": { + "content": "List flow runs by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) runs identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "86be2255-8db8-41cb-8664-578eb4991aa8", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7ca94d25-2465-472c-91dc-2b47d6aa62d5", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f7d9813f-f9dc-43f4-b6f7-511f7000a002", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "48a9841b-f147-49e2-b5c3-5fb86ebf6287", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1245ff06-0a59-4031-b2fb-c893c1421442", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "runs", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "4ec1d66e-4c0b-43b0-80a7-bdd61c84f94a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/runs/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/runs/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/runs/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/runs/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "ade71fd6-3884-43e5-8133-7fdb7fbaf7f2", + "name": "Products", + "description": { + "content": "WhatsApp products", + "type": "text/plain" + }, + "item": [ + { + "id": "874e9c44-31d4-4340-b8be-b22d2cb95957", + "name": "GET products", + "request": { + "name": "GET products", + "description": { + "content": "List current WhatsApp products on your account", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "d916d841-51f4-4688-8b23-6c76f9de749a", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "497920c9-30dc-40f8-81db-b168a50c5d60", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b85bc536-1440-459b-a8cb-eed735fff942", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "66a982a3-9888-495c-8415-03a1098c3d94", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d5c39d5b-e8f5-4277-9e26-8b257496c508", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "39e82fd1-dde2-4070-aac5-8205cf7ee7f6", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/products - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/products - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/products - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/products - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "3c2f3404-f069-4ee7-93e8-b1b5d499726f", + "name": "GET products by ID", + "request": { + "name": "GET products by ID", + "description": { + "content": "List current WhatsApp products on your account by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) products identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "d89ddb07-2e69-4b82-8617-f904e0e74f8f", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c1e4558e-1b00-46c2-8b73-a611fe4a204e", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a155e5c8-de9b-44c3-ba19-a0d62db13e27", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "bf1c1332-5575-4616-8d19-b7d9779b6401", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f85fccfa-0ed6-45f4-8881-49a7bf8c7e16", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "products", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "d87d0288-c0ac-441d-bd11-49d89bd830b5", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/products/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/products/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/products/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/products/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "f8f87e75-80fd-4b84-96cf-8f09e5bd0850", + "name": "Resthooks", + "description": { + "content": "Resthooks", + "type": "text/plain" + }, + "item": [ + { + "id": "8826328e-46a2-47f3-a2c0-3ff84ffe687d", + "name": "GET resthooks", + "request": { + "name": "GET resthooks", + "description": { + "content": "List resthooks", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "e0b45835-907f-4da1-821c-f6e50935d35c", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "9dcbfaf7-bd62-491f-a83b-47d3da4b1e35", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "94291bca-d0ce-48d7-9da2-1ecb38ebc56c", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f5ef102c-0e43-4bb2-a874-6e41af0a7025", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ca90d275-973f-4392-8a24-1d61a1d46aba", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "beb04da5-5a22-4ce6-9b19-5e9e52de393c", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthooks - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthooks - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthooks - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthooks - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f20c20f7-2416-4364-a545-8c7e6cf9e4d2", + "name": "GET resthooks by ID", + "request": { + "name": "GET resthooks by ID", + "description": { + "content": "List resthooks by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) resthooks identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6938d4ec-4049-43f7-87e5-f278110c99e7", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5ad5c3b2-909f-4c96-a763-9c3f562e81b2", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ada21cf3-901f-4259-b047-badc7d2a690c", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2202636b-2fd9-4d79-803b-e156abe96ac6", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "50c4999c-96ef-45e6-bfde-91d198821a1c", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthooks", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7dc49edf-3098-44ab-9aa3-0be5de57c66e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthooks/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthooks/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthooks/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthooks/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "35146c66-6796-46ba-8a08-66bc5940f7b3", + "name": "Resthook Events", + "description": { + "content": "Resthook events", + "type": "text/plain" + }, + "item": [ + { + "id": "90122c22-15ce-4fcb-b054-b1d17698500f", + "name": "GET resthook_events", + "request": { + "name": "GET resthook_events", + "description": { + "content": "List resthook events", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "c4760f91-3a0f-4e36-8979-979f94e4452b", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0faeb181-775f-4d98-a4fe-c9ae460fd0b3", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "82594c5e-26c9-41e6-a014-2b10d6579d70", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6e1d2c24-66fa-4358-b780-0f9f1747d41d", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "50f7a4f7-9be2-44d3-8742-967eb752fff6", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "13177458-72cb-4957-9041-946bf7fa38de", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthook_events - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthook_events - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthook_events - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthook_events - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "49bca6a7-b6c1-4f81-b21e-bb77633ef53c", + "name": "GET resthook_events by ID", + "request": { + "name": "GET resthook_events by ID", + "description": { + "content": "List resthook events by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) resthook_events identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "731cb233-43e1-4b23-a05e-460bc293f405", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8281946e-c75c-4963-9967-cf42a0be2bff", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "52552e37-4b61-4345-97a7-56aaf93b6362", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "290a3f05-90a5-4f7e-b39b-d660f1eb369e", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a1f28464-6449-4a36-ab77-e20cd430e0f1", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_events", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "5bb85989-7aa4-4a8c-be9d-c0d6309d4842", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthook_events/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthook_events/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthook_events/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthook_events/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "4f090fa4-f61d-4ab1-86e7-d2b058d27afa", + "name": "Resthook Subscribers", + "description": { + "content": "Resthook subscribers", + "type": "text/plain" + }, + "item": [ + { + "id": "ca4dacd7-25dd-474e-869d-35e9f8e0d63c", + "name": "GET resthook_subscribers", + "request": { + "name": "GET resthook_subscribers", + "description": { + "content": "List, create or delete subscribers on your resthooks", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "710ec781-f79c-405b-82a4-6b5a0f9ecfa8", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "cc093084-6f9d-46d8-abaf-0c74ae91d3bd", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "8114307e-6142-4ce3-a091-632195c95ddc", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "bccc1667-195b-4a79-8f2a-c71489be4c45", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2c6189fe-4e64-4eee-ab34-a0087bcdfbca", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "0e5ab0de-d241-4204-acf0-67870dc51eea", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthook_subscribers - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthook_subscribers - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthook_subscribers - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthook_subscribers - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ff39d945-48f2-488e-8e63-4f613249a78b", + "name": "POST resthook_subscribers", + "request": { + "name": "POST resthook_subscribers", + "description": { + "content": "List, create or delete subscribers on your resthooks", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "aefd9c81-3248-453c-8652-80289f8c4678", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "264ae58a-0d01-41d0-a02c-51ca91294ac6", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "360129ac-8f5d-4332-b501-53893eb027ce", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "84c1284b-cd81-4e53-9b8a-4d2576919fd0", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5256370b-e097-499d-9b95-4d2247df3c67", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "fb7f94d5-f965-4a60-bd4b-f7537f9812e8", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/resthook_subscribers - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/resthook_subscribers - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/resthook_subscribers - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/resthook_subscribers - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "0e912b7f-c575-4896-8439-ba223bd668fc", + "name": "DELETE resthook_subscribers", + "request": { + "name": "DELETE resthook_subscribers", + "description": { + "content": "List, create or delete subscribers on your resthooks", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "b261a73a-237d-498e-bd5c-83196348129e", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c645b048-77e7-40ef-9885-57a79cb0e939", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "232384ae-2e47-40cc-b2ce-658f47912a69", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "abaa209c-33f0-41a5-b0e1-1b5d1767bb85", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "175a268d-d47e-4920-b2fc-609bd275c559", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "6037394c-0e46-434a-80d6-6025f997b2c9", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/resthook_subscribers - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/resthook_subscribers - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/resthook_subscribers - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/resthook_subscribers - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ff6cf271-f985-49cc-8d46-7500f5a48356", + "name": "GET resthook_subscribers by ID", + "request": { + "name": "GET resthook_subscribers by ID", + "description": { + "content": "List, create or delete subscribers on your resthooks by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) resthook_subscribers identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ad828428-ef4c-4c68-a249-935a44aefa90", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ec3fa33a-3db7-4874-9bf5-e5314731c04d", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0a1cf47d-69b2-4b43-846d-bc9a0e09ff98", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "430d9a17-7e27-49c5-b058-5972b515f188", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d1cf6ae1-3b77-457f-8a48-51a3c2ec3cea", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "e9706d1b-046c-43fd-a5a3-06ce02c92c8a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/resthook_subscribers/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/resthook_subscribers/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/resthook_subscribers/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/resthook_subscribers/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "21efc1c2-c65f-403d-8db9-9eecda256b19", + "name": "DELETE resthook_subscribers by ID", + "request": { + "name": "DELETE resthook_subscribers by ID", + "description": { + "content": "List, create or delete subscribers on your resthooks by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) resthook_subscribers identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "8b38e29c-4f52-4268-a1b1-177fae7a37a7", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "553b3b94-fe58-48d4-a477-486cc8a37365", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ecd9f249-acf4-4c8e-ac2c-c501bd189d09", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a0c59a8b-6cf5-4c50-a5f6-f3ffc6b369fa", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c14f46c2-ca32-49a6-82d4-42f3706012b6", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "resthook_subscribers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "91177c3c-2572-49c9-bb44-ec1b772f88a4", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[DELETE]::/api/v2/resthook_subscribers/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[DELETE]::/api/v2/resthook_subscribers/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[DELETE]::/api/v2/resthook_subscribers/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[DELETE]::/api/v2/resthook_subscribers/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "3a2d79a6-0973-4a90-bf0a-70d91dbecf5b", + "name": "Templates", + "description": { + "content": "WhatsApp templates", + "type": "text/plain" + }, + "item": [ + { + "id": "0858d7bf-c93a-4fcb-b711-301b6a38b51a", + "name": "GET templates", + "request": { + "name": "GET templates", + "description": { + "content": "List current WhatsApp templates on your account", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "ae6d87e5-5c14-4ff3-a527-40a00e01add5", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0323635d-e678-4ae1-a62a-1ca3c86ca9c4", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5837271a-ab1d-4a5d-bd5d-eb6d0793121c", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "661182b5-d74f-49a9-a074-5387db81a874", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "72491d74-55d9-4ac8-8839-ce61643a0447", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "12e2f498-147d-47ba-93a3-97c40c55cf7d", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/templates - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/templates - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/templates - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/templates - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "57441485-488c-49f9-95f8-27cd2b8c6e82", + "name": "GET templates by ID", + "request": { + "name": "GET templates by ID", + "description": { + "content": "List current WhatsApp templates on your account by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) templates identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "2317d0f4-0bbf-43ff-928b-d969db13acf6", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "abe8b3fd-52f9-44f2-a0ec-5be76647e69a", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a689f15c-f84d-4ac7-8412-4f3296763e45", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "16022d61-2b75-4e40-ad15-70da6ea0d13e", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "e0588113-52da-4ba4-ada5-5b02c2bf8968", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "templates", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "2cccc175-e62f-4919-8c3e-fb8a8694e293", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/templates/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/templates/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/templates/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/templates/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "181a5979-40bc-4d46-b207-bb41c002f3b4", + "name": "Ticketers", + "description": { + "content": "Ticketing services", + "type": "text/plain" + }, + "item": [ + { + "id": "a2f7681c-ae28-4200-9d0e-eb99d3843739", + "name": "GET ticketers", + "request": { + "name": "GET ticketers", + "description": { + "content": "List ticketing services", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "8f44594d-a878-4037-b2ec-e0a22762e74e", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "70c61ff3-16b2-48fc-a0b5-ed7f4177b019", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "51c3bee5-47ba-458e-8556-564d5421a6f0", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b9819c18-f131-47fc-85d3-6277806a5c7b", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6973286d-6028-4996-99ff-8d13c979fe0d", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "f2c9ba40-11c1-4d7a-9fe2-b130479d7fa6", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/ticketers - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/ticketers - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/ticketers - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/ticketers - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "46075b4e-0101-4697-ab7e-12b04f145b76", + "name": "GET ticketers by ID", + "request": { + "name": "GET ticketers by ID", + "description": { + "content": "List ticketing services by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) ticketers identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "899fb92b-0ca6-4ed5-a41d-7391e0173e49", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5824b948-c4f5-49b8-84f9-8ccbc03520c9", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7f709730-750a-4314-ac41-dcf264618d90", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2dd87de0-645c-45ce-8a00-947688d4eee0", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "97a940de-4e31-48f4-86ec-9388af237711", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticketers", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "a930b83f-378b-43d9-a5f5-a0a5dcf7a8fd", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/ticketers/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/ticketers/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/ticketers/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/ticketers/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "803fa0c7-81da-4511-975a-3edf8daf8e8f", + "name": "Tickets", + "description": { + "content": "Tickets", + "type": "text/plain" + }, + "item": [ + { + "id": "da25386c-ffd8-454d-a18c-282f43123faf", + "name": "GET tickets", + "request": { + "name": "GET tickets", + "description": { + "content": "List tickets", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "30222d84-9798-4823-b6a1-4c56c464ca91", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1723a58b-99a4-4d4a-a049-eabb5294715a", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "abc50748-1cac-4726-9ef1-b61c29a75141", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1efe0e29-fb0a-4a53-aeba-e8ada97a2985", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b38a2c93-a464-4e4a-8876-c622369d4bfa", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7d0bd901-028c-40c9-ba67-ee36c75f11a1", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/tickets - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/tickets - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/tickets - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/tickets - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "d49985a5-aa2a-4051-af80-5b73aaa89a62", + "name": "GET tickets by ID", + "request": { + "name": "GET tickets by ID", + "description": { + "content": "List tickets by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) tickets identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "d4d3c39d-af95-48f1-a786-1f99090df42a", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c64afba0-3bb8-422a-a0e8-d6245f9d93f5", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2fa38283-b009-4fad-8b28-b1a78c4464bf", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "072fdab0-dcb7-462a-8224-c1c2124e8992", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "6a030522-74a4-4cf2-81fe-b2dc979e8a34", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "tickets", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "7ad4a722-a7f7-4f3d-81ac-13fa3ffedabd", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/tickets/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/tickets/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/tickets/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/tickets/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "27e03cb8-40ee-42a8-8810-5eb28bbb6420", + "name": "Ticket Actions", + "description": { + "content": "Bulk ticket actions", + "type": "text/plain" + }, + "item": [ + { + "id": "b29d1305-9819-403f-b4b5-a570c1afa2fd", + "name": "POST ticket_actions", + "request": { + "name": "POST ticket_actions", + "description": { + "content": "Perform bulk ticket actions", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "1ba3ae7e-c0ad-4d49-966a-d1536eb88388", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3adc9f32-9690-4832-9d06-af7d31777f34", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "d0c98bd6-5735-4d9a-ae2b-5e3a8225b3d1", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "da696175-4a89-48fb-a9cb-86cae02691c5", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f50249f3-8dda-4ee0-869c-a880e3b2cd87", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "ticket_actions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "9b496765-f106-476b-8a74-cb50a28823fa", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/ticket_actions - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/ticket_actions - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/ticket_actions - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/ticket_actions - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "5d0bb703-3e0c-494c-9ff0-0244b09b704d", + "name": "Topics", + "description": { + "content": "Topics", + "type": "text/plain" + }, + "item": [ + { + "id": "04fd5b55-9066-4b21-b607-539625f5fba2", + "name": "GET topics", + "request": { + "name": "GET topics", + "description": { + "content": "List and create topics", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "6d893af9-1d44-4472-b54f-b73564447341", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "b7c6cf37-d5cc-496e-8bdd-ce7449c47ea6", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0d3c6f97-7b18-4aaf-9ca5-767d3704f853", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7e86685a-67f1-4236-85fb-8dcefd5c0340", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2c635388-0017-4b50-bc43-0a457b36b1a0", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "28e5e8b4-71ba-41cb-a1b1-91bdf8220a88", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/topics - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/topics - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/topics - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/topics - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "6c442a34-fe02-4ab3-949d-3f08d9c8f595", + "name": "POST topics", + "request": { + "name": "POST topics", + "description": { + "content": "List and create topics", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "7ec7fd67-22a5-4ef7-bdcb-168acaab50ce", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "655585af-96b4-4ed0-9000-8b45d8780662", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "f07f3173-6fec-49ff-a389-9177aee3cd37", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a8a79a80-24a0-494a-b9ef-6a93bf7daa1d", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "ef9dcb3e-d31b-481e-9c5e-bc5ff5b7e3b0", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Content-Type", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + } + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "5621de26-76a9-4cb7-a82f-8ad5c04b7b6e", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[POST]::/api/v2/topics - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[POST]::/api/v2/topics - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[POST]::/api/v2/topics - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[POST]::/api/v2/topics - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "7770295c-c9eb-45bf-94c1-f5a7c1815621", + "name": "GET topics by ID", + "request": { + "name": "GET topics by ID", + "description": { + "content": "List and create topics by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) topics identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "29fc0022-72f4-4f49-a111-a2bb3a15e6be", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "7d190d2d-5b64-4d70-b184-767d48baceda", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a0664bb1-4ced-4aec-8f17-56e1ef3940b5", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "c0823bfc-41b5-41dd-937c-7fce1e2ec3c9", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4baffa1b-bf38-40b9-8555-cac7ebc112aa", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "topics", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "b8150cf0-1331-433a-80f3-ae67fc8dafb7", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/topics/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/topics/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/topics/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/topics/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "e58be4af-e467-46f3-8b08-1ebb232d4363", + "name": "Users", + "description": { + "content": "User logins", + "type": "text/plain" + }, + "item": [ + { + "id": "9362ec42-15f9-4bd1-a830-facc9a978e7a", + "name": "GET users", + "request": { + "name": "GET users", + "description": { + "content": "List user logins", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "83e60be1-7aed-4a31-854c-814e37d58468", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "78f54ba0-4bcf-464f-8d75-3fe8c53c7fce", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "696b48f3-76dd-4893-a50b-799cd6ee1733", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "065ef37f-a151-4e50-8868-d16a44ff61f8", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "0638f634-7249-4cee-8792-6100a16b956d", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "69324c95-c16b-4e27-851e-553378ed87e1", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/users - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/users - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/users - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/users - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "c872772e-7947-4707-afbf-54f5b1732971", + "name": "GET users by ID", + "request": { + "name": "GET users by ID", + "description": { + "content": "List user logins by ID", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "description": { + "content": "(Required) users identifier", + "type": "text/plain" + }, + "type": "any", + "value": "anim Duis", + "key": "id" + } + ] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "bfdb78aa-4a04-4010-9f71-f376a6679b27", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "1eee37e3-bc98-450a-92d9-0b2da8439da1", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "832163f4-3320-4c19-85c8-c9e6342fa219", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "90f37779-39aa-4cc1-83cc-b61aa9b3a205", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2f6a9fb0-9b8f-45a4-8d67-e03c0d18d498", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "users", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "9a3464cf-df67-4ade-b2f8-04ea3cb8007a", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/users/:id - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/users/:id - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/users/:id - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/users/:id - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "4cd7ec31-499f-4477-a671-4de567956db5", + "name": "Workspace", + "description": { + "content": "Workspace information", + "type": "text/plain" + }, + "item": [ + { + "id": "f56993b4-4236-4d9f-999b-6ec3af80d861", + "name": "GET workspace", + "request": { + "name": "GET workspace", + "description": { + "content": "View your workspace", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "908eb449-dffb-410f-9923-7ee8d48a5b40", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "353fe41c-a4ed-4ccf-978c-739f63ef4ae3", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "dd205dbf-f390-4694-b05a-8def1b387d38", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "32305750-d801-4825-ba71-d3108ebe7f2b", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "2490f001-1021-4e80-8c90-3500252b52a8", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "workspace" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "c3b9e031-dd4f-48d6-a95b-cd3b2c4f1d8b", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/workspace - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/workspace - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/workspace - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/workspace - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "e16e56f4-1fee-421c-ab67-cbc18f0f8007", + "name": "Intelligences", + "description": { + "content": "Intelligences", + "type": "text/plain" + }, + "item": [ + { + "id": "92df3683-3439-4b0f-a182-41e90503c926", + "name": "GET intelligences", + "request": { + "name": "GET intelligences", + "description": { + "content": "View your intelligences", + "type": "text/plain" + }, + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "response": [ + { + "_": { + "postman_previewlanguage": "json" + }, + "id": "c088384a-96d4-445c-a64a-8eb91f8a6f8d", + "name": "OK", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{}", + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "4d181ef3-320c-431a-a4cb-25739cbdfa0c", + "name": "Bad Request", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "a844b73a-3cf1-4d5c-bc31-4eda31b22f06", + "name": "Unauthorized - Authentication credentials were not provided or are invalid", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "5de14a52-2021-4e85-b662-1abfc58c0d46", + "name": "Not Found - The resource was not found", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [], + "cookie": [] + }, + { + "_": { + "postman_previewlanguage": "text" + }, + "id": "3db8e853-f4ca-4bd1-ac7c-4d81a38fb0ca", + "name": "Rate limit exceeded - You have exceeded the rate limit for this endpoint", + "originalRequest": { + "url": { + "path": [ + "api", + "v2", + "intelligences" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "description": { + "content": "Page number for pagination", + "type": "text/plain" + }, + "key": "page", + "value": "1" + }, + { + "disabled": true, + "description": { + "content": "Number of results per page", + "type": "text/plain" + }, + "key": "limit", + "value": "25" + } + ], + "variable": [] + }, + "header": [ + { + "disabled": false, + "description": { + "content": "(Required) HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "type": "text/plain" + }, + "key": "Accept", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) Type of the content being sent.", + "type": "text/plain" + }, + "key": "Content-Type", + "value": "application/json" + }, + { + "disabled": false, + "description": { + "content": "(Required) API Token for authentication. Format: Token {your-token}", + "type": "text/plain" + }, + "key": "Authorization", + "value": "anim Duis" + }, + { + "description": { + "content": "Added as a part of security scheme: apikey", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "GET", + "body": {} + }, + "status": "Too Many Requests", + "code": 429, + "header": [], + "cookie": [] + } + ], + "event": [ + { + "listen": "test", + "script": { + "id": "97927357-da0d-466b-a83d-0153f50fec91", + "type": "text/javascript", + "exec": [ + "// Validate status 2xx \npm.test(\"[GET]::/api/v2/intelligences - Status code is 2xx\", function () {\n pm.response.to.be.success;\n});\n", + "// Validate if response header has matching content-type\npm.test(\"[GET]::/api/v2/intelligences - Content-Type is application/json\", function () {\n pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");\n});\n", + "// Validate if response has JSON Body \npm.test(\"[GET]::/api/v2/intelligences - Response has JSON Body\", function () {\n pm.response.to.have.jsonBody();\n});\n", + "// Response Validation\nconst schema = {\"type\":\"object\"}\n\n// Validate if response matches JSON schema \npm.test(\"[GET]::/api/v2/intelligences - Schema is valid\", function() {\n pm.response.to.have.jsonSchema(schema,{unknownFormats: [\"int32\", \"int64\", \"float\", \"double\"]});\n});\n" + ] + } + } + ], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "type": "any", + "value": "Authorization", + "key": "key" + }, + { + "type": "any", + "value": "{{apiKey}}", + "key": "value" + }, + { + "type": "any", + "value": "header", + "key": "in" + } + ] + }, + "event": [], + "variable": [ + { + "type": "any", + "value": "https://flows.weni.ai", + "key": "baseUrl" + } + ], + "info": { + "_postman_id": "c0e30a8e-b7d4-47e4-8e48-6958c10dc418", + "name": "Weni by VTEX API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "description": { + "content": "Weni Flows lets you visually build interactive SMS applications and launch them anywhere in the world. We provide a RESTful JSON API for you to interact with your data from outside applications.\n\n## API Overview\n\nAll endpoints follow standard REST conventions. You can list a set of resources by making a `GET` request to the endpoint, create or update resources by making a `POST` or `PUT` request, or delete a resource with a `DELETE` request.\n\nTo use the endpoint simply append `.json` to the URL. For example `/api/v2/flows` will return the documentation for that endpoint but a request to `/api/v2/flows.json` will return a JSON list of flows.\n\n## Authentication\n\nAll API requests require authentication using an API Token. Include the token in the Authorization header:\n\n```\nAuthorization: Token {your-token}\n```\n\nYou can obtain your API token by logging into your Weni Fluxos account.\n\n## Rate Limiting\n\n- **429**: You have exceeded the rate limit for this endpoint.\n\n## Common Response Codes\n\n- **200**: Success\n- **400**: Bad Request - The request was invalid\n- **401**: Unauthorized - Authentication credentials were not provided or are invalid\n- **404**: The resource was not found (returned by `POST` and `DELETE` methods)\n- **429**: You have exceeded the rate limit for this endpoint", + "type": "text/plain" + } + } +} \ No newline at end of file diff --git a/VTEX - Weni by VTEX API.json b/VTEX - Weni by VTEX API.json new file mode 100644 index 0000000000..a6d2b2d042 --- /dev/null +++ b/VTEX - Weni by VTEX API.json @@ -0,0 +1,3248 @@ +{ + "openapi": "3.0.0", + "info": { + "title": "Weni by VTEX API", + "description": "Weni Flows lets you visually build interactive SMS applications and launch them anywhere in the world. We provide a RESTful JSON API for you to interact with your data from outside applications.\n\n## API Overview\n\nAll endpoints follow standard REST conventions. You can list a set of resources by making a `GET` request to the endpoint, create or update resources by making a `POST` or `PUT` request, or delete a resource with a `DELETE` request.\n\nTo use the endpoint simply append `.json` to the URL. For example `/api/v2/flows` will return the documentation for that endpoint but a request to `/api/v2/flows.json` will return a JSON list of flows.\n\n## Authentication\n\nAll API requests require authentication using an API Token. Include the token in the Authorization header:\n\n```\nAuthorization: Token {your-token}\n```\n\nYou can obtain your API token by logging into your Weni Fluxos account.\n\n## Rate Limiting\n\n- **429**: You have exceeded the rate limit for this endpoint.\n\n## Common Response Codes\n\n- **200**: Success\n- **400**: Bad Request - The request was invalid\n- **401**: Unauthorized - Authentication credentials were not provided or are invalid\n- **404**: The resource was not found (returned by `POST` and `DELETE` methods)\n- **429**: You have exceeded the rate limit for this endpoint", + "contact": {}, + "version": "2.0" + }, + "servers": [ + { + "url": "https://flows.weni.ai", + "description": "Weni Flows API server" + } + ], + "security": [ + { + "ApiKeyAuth": [] + } + ], + "paths": { + "/api/v2/archives": { + "get": { + "tags": [ + "Archives" + ], + "summary": "Get Weni Flows archives", + "description": "List the data archives of messages and runs associated with your account.", + "operationId": "GetArchives", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: `Token {your-token}`", + "required": true, + "style": "simple", + "schema": { + "type": "string", + "example": "Token 54f9136c0700705de49cdd58c31f7d7346949f7" + } + }, + { + "name": "archive_type", + "in": "query", + "description": "Type of the archive. The following values are accepted:\r\n- `message`\r\n- `run`", + "required": false, + "schema": { + "type": "string", + "example": "message" + } + }, + { + "$ref": "#/components/parameters/Before" + }, + { + "$ref": "#/components/parameters/After" + }, + { + "name": "period", + "in": "query", + "description": "Period of the archive. The following values are accepted:\r\n- `daily`\r\n- `monthly`", + "required": false, + "schema": { + "type": "string", + "example": "daily" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "next", + "previous", + "count", + "results" + ], + "properties": { + "next": { + "$ref": "#/components/schemas/NextPage" + }, + "previous": { + "$ref": "#/components/schemas/PreviousPage" + }, + "count": { + "$ref": "#/components/schemas/Count" + }, + "results": { + "type": "object", + "description": "List of archives of messages and runs.", + "properties": { + "archive_type": { + "type": "string", + "description": "Type of the archive.", + "enum": [ + "message", + "run" + ], + "example": "message" + }, + "start_date": { + "type": "string", + "description": "Start date of the archive. Follows the UTC time format: `YYYY-MM-DDT`.", + "example": "2021-01-01" + }, + "period": { + "type": "string", + "description": "Period of the archive. The following values are accepted:\r\n- `daily`\r\n- `monthly`", + "example": "daily" + }, + "record_count": { + "type": "integer", + "description": "Number of records in the archive.", + "example": 100 + }, + "size": { + "type": "integer", + "description": "Size of the gzipped archive in bytes.", + "example": 1000000 + }, + "hash": { + "type": "string", + "description": "MD5 hash of the gzipped archive.", + "example": "feca9988b7772c003204a28bd741d0d0" + }, + "download_url": { + "type": "string", + "description": "URL to download the archive.", + "example": "https://flows.weni.ai/api/v2/archives/1234567890/download" + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/boundaries": { + "get": { + "tags": [ + "Boundaries" + ], + "summary": "Get Weni Flows boundaries", + "description": "List the administrative boundaries for your organization.", + "operationId": "GetBoundaries", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: `Token {your-token}`", + "required": true, + "style": "simple", + "schema": { + "type": "string", + "example": "Token 54f9136c0700705de49cdd58c31f7d7346949f7" + } + }, + { + "name": "geometry", + "in": "query", + "description": "Geometry of the boundaries, in the GeoJSON MultiPolygon format. To include the geometry in the response, set this parameter to `true`. \r\n > ⚠️ Including the geometry in the response may produce a very large result. We recommend caching the results on the client's side.", + "required": false, + "schema": { + "type": "boolean", + "example": true + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "next": { + "$ref": "#/components/schemas/NextPage" + }, + "previous": { + "$ref": "#/components/schemas/PreviousPage" + }, + "count": { + "$ref": "#/components/schemas/Count" + }, + "results": { + "type": "object", + "description": "List with the results of administrative boundaries.", + "properties": { + "osm_id": { + "type": "string", + "description": "OSM ID for this boundary prefixed with the element type.", + "example": "1708283" + }, + "name": { + "type": "string", + "description": "Name of the administrative boundary.", + "example": "Belo Horizonte" + }, + "parent": { + "type": "object", + "description": "The ID of the containing parent of this boundary,", + "nullable": true, + "properties": { + "osm_id": { + "type": "string", + "description": "OSM ID for the parent boundary prefixed with the element type.", + "example": "1708283" + }, + "name": { + "type": "string", + "description": "Name of the parent boundary.", + "example": "Brazil" + } + } + }, + "level": { + "type": "integer", + "description": "Refers to the level of the administrative boundary. The value `0` indicates that the boundary is a country, the value `1` indicates that the boundary is a state, and the value `2` indicates that the boundary is a city, and the value `4` indicates that the boundary is a district.", + "example": 1 + }, + "aliases": { + "type": "array", + "description": "List of aliases for the administrative boundary.", + "items": { + "type": "string", + "description": "Alias for the administrative boundary.", + "example": "Belo Horizonte (MG)" + } + }, + "geometry": { + "type": "object", + "description": "Geometry of the boundary, in the GeoJSON MultiPolygon format.", + "nullable": true, + "properties": { + "type": { + "type": "string", + "description": "Type of the geometry.", + "example": "MultiPolygon" + }, + "coordinates": { + "type": "array", + "description": "List of coordinates that make part of the geometry.", + "items": { + "type": "array", + "description": "Coordinates that make part of the geometry.", + "example": [[7.5251021, 5.0504713], [7.5330272, 5.0423498]] + } + } + } + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/broadcasts": { + "get": { + "tags": [ + "Broadcasts" + ], + "summary": "Get Weni Flows broadcasts", + "description": "Send new message broadcasts and list existing broadcasts in your account.", + "operationId": "GetBroadcasts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + }, + { + "name": "id", + "in": "query", + "description": "The ID of the broadcast.", + "required": false, + "style": "form", + "schema": { + "type": "integer" + } + }, + { + "$ref": "#/components/parameters/Before" + }, + { + "$ref": "#/components/parameters/After" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "next": { + "$ref": "#/components/schemas/NextPage" + }, + "previous": { + "$ref": "#/components/schemas/PreviousPage" + }, + "results": { + "type": "object", + "description": "List of message broadcasts.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the broadcast.", + "example": 1234567890 + }, + "urns": { + "type": "array", + "description": "List of URNs that receive the broadcast.", + "items": { + "type": "string", + "description": "URNs of the recipient.", + "example": [ + "tel:+250788123123", + "tel:+250788123124" + ] + } + }, + "contacts": { + "type": "array", + "description": "List of contacts that received the broadcast.", + "items": { + "type": "object", + "description": "Information of the contact that received the broadcast.", + "properties": { + "uuid": { + "type": "string", + "description": "UUID of the contact.", + "example": "09d23a05-47fe-11e4-bfe9-b8f6b119e9ab" + }, + "name": { + "type": "string", + "description": "Name of the contact.", + "example": "John" + } + } + } + }, + "groups": { + "type": "array", + "description": "List of groups that received the broadcast.", + "items": { + "type": "object", + "description": "Information about the groups that received the broadcast.", + "example": [ + "Group 1", + "Group 2" + ] + } + }, + "text": { + "type": "string", + "description": "The text of the broadcast.", + "example": "Hello, world." + }, + "status": { + "type": "string", + "description": "The status of the broadcast.", + "enum": [ + "queued", + "sent", + "failed" + ], + "example": "sent" + }, + "created_on": { + "type": "string", + "description": "The date when the broadcast was created in the UTC time format: `YYYY-MM-DDT`.", + "example": "2025-12-25T17:28:12.123456Z" + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Broadcasts" + ], + "summary": "Post Weni Flows broadcasts", + "description": "Create and send new broadcasts.", + "operationId": "PostBroadcasts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "text": { + "type": "string", + "description": "The text of the broadcast. You can send a text of up to 640 characters per request.", + "example": "Hello @contact.name" + }, + "urns": { + "type": "array", + "description": "List of URNs that will receive the broadcast. You can send up to 100 URNs per request.", + "items": { + "type": "string", + "description": "URNs of the recipient.", + "example": [ + "tel:+250788123123", + "tel:+250788123124" + ] + } + }, + "contacts": { + "type": "array", + "description": "The UUIDs of the contacts that will receive the broadcast. You can send up to 100 UUIDS per request.", + "items": { + "type": "string", + "description": "UUID of the contact.", + "example": "09d23a05-47fe-11e4-bfe9-b8f6b119e9ab" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the broadcast.", + "example": 1234567890 + }, + "urns": { + "type": "array", + "description": "List of URNs that will receive the broadcast.", + "items": { + "type": "string", + "description": "URNs of the recipient.", + "example": [ + "tel:+250788123123", + "tel:+250788123124" + ] + } + }, + "contacts": { + "type": "array", + "description": "List of contacts that will receive the broadcast.", + "items": { + "type": "string", + "description": "UUID of the contact.", + "example": "09d23a05-47fe-11e4-bfe9-b8f6b119e9ab" + } + }, + "groups": { + "type": "array", + "description": "List of groups that will receive the broadcast.", + "items": { + "type": "string", + "description": "Group of the recipient.", + "example": "Group 1" + } + }, + "text": { + "type": "string", + "description": "The text of the broadcast.", + "example": "Hello, world." + }, + "created_on": { + "type": "string", + "description": "The date when the broadcast was created in the UTC time format: `YYYY-MM-DDT`.", + "example": "2025-12-25T17:28:12.123456Z" + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/campaigns": { + "get": { + "tags": [ + "Campaigns" + ], + "summary": "Get Weni Flows campaigns", + "description": "List existing campaigns in your account from most recent to oldest.", + "operationId": "GetCampaigns", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/Before" + }, + { + "$ref": "#/components/parameters/After" + }, + { + "name": "uuid", + "in": "query", + "description": "The UUID of the campaign.", + "required": false, + "style": "form", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "next": { + "$ref": "#/components/schemas/NextPage" + }, + "previous": { + "$ref": "#/components/schemas/PreviousPage" + }, + "results": { + "type": "object", + "properties": { + "uuid": { + "type": "string", + "description": "UUID of the campaign.", + "example": "09d23a05-47fe-11e4-bfe9-b8f6b119e9ab" + }, + "name": { + "type": "string", + "description": "Name of the campaign.", + "example": "Reminders" + }, + "archived": { + "type": "boolean", + "description": "Defines if the campaign is archived (`true`) or not (`false`).", + "example": false + }, + "group": { + "type": "object", + "description": "Information about the group that the campaign belongs to.", + "properties": { + "uuid": { + "type": "string", + "description": "UUID of the group.", + "example": "09d23a05-47fe-11e4-bfe9-b8f6b119e9ab" + }, + "name": { + "type": "string", + "description": "Name of the group.", + "example": "Reporters" + } + } + }, + "created_on": { + "type": "string", + "description": "The date when the campaign was created in the UTC time format: `YYYY-MM-DDT`.", + "example": "2025-12-24T19:11:21.088Z" + } + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Campaigns" + ], + "summary": "Post Weni Flows campaigns", + "description": "Create a new campaign using the name of the campaign and the group that the campaign belongs to. > ⚠️ Don't specify a UUID for the campaign, this will be generated by the API.", + "operationId": "PostCampaigns", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Campaigns" + ], + "summary": "PUT campaigns", + "description": "List, create, or update campaigns", + "operationId": "PUTCampaigns", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/campaign_events": { + "get": { + "tags": [ + "Campaign Events" + ], + "summary": "GET campaign_events", + "description": "List, create, update or delete campaign events", + "operationId": "GETCampaignEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Campaign Events" + ], + "summary": "POST campaign_events", + "description": "List, create, update or delete campaign events", + "operationId": "POSTCampaignEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Campaign Events" + ], + "summary": "PUT campaign_events", + "description": "List, create, update or delete campaign events", + "operationId": "PUTCampaignEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Campaign Events" + ], + "summary": "DELETE campaign_events", + "description": "List, create, update or delete campaign events", + "operationId": "DELETECampaignEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/channels": { + "get": { + "tags": [ + "Channels" + ], + "summary": "GET channels", + "description": "List channels", + "operationId": "GETChannels", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/channel_events": { + "get": { + "tags": [ + "Channel Events" + ], + "summary": "GET channel_events", + "description": "List channel events", + "operationId": "GETChannelEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/classifiers": { + "get": { + "tags": [ + "Classifiers" + ], + "summary": "GET classifiers", + "description": "List classifiers", + "operationId": "GETClassifiers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/contacts": { + "get": { + "tags": [ + "Contacts" + ], + "summary": "GET contacts", + "description": "List, create, update or delete contacts", + "operationId": "GETContacts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Contacts" + ], + "summary": "POST contacts", + "description": "List, create, update or delete contacts", + "operationId": "POSTContacts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Contacts" + ], + "summary": "PUT contacts", + "description": "List, create, update or delete contacts", + "operationId": "PUTContacts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Contacts" + ], + "summary": "DELETE contacts", + "description": "List, create, update or delete contacts", + "operationId": "DELETEContacts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/contact_actions": { + "post": { + "tags": [ + "Contact Actions" + ], + "summary": "POST contact_actions", + "description": "Perform bulk contact actions", + "operationId": "POSTContactActions", + "parameters": [ + { + "name": "Accept", + "in": "header", + "description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.", + "required": true, + "style": "simple", + "schema": { + "type": "string", + "default": "application/json" + } + }, + { + "name": "Content-Type", + "in": "header", + "description": "Type of the content being sent.", + "required": true, + "style": "simple", + "schema": { + "type": "string", + "default": "application/json" + } + }, + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/contact_templates": { + "get": { + "tags": [ + "Contact Templates" + ], + "summary": "GET contact_templates", + "description": "List contact data with templates messages", + "operationId": "GETContactTemplates", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/definitions": { + "get": { + "tags": [ + "Definitions" + ], + "summary": "GET definitions", + "description": "Export flow definitions, campaigns, and triggers", + "operationId": "GETDefinitions", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/fields": { + "get": { + "tags": [ + "Fields" + ], + "summary": "GET fields", + "description": "List, create or update contact fields", + "operationId": "GETFields", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Fields" + ], + "summary": "POST fields", + "description": "List, create or update contact fields", + "operationId": "POSTFields", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Fields" + ], + "summary": "PUT fields", + "description": "List, create or update contact fields", + "operationId": "PUTFields", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/flow_starts": { + "get": { + "tags": [ + "Flow Starts" + ], + "summary": "GET flow_starts", + "description": "List flow starts and start contacts in flows", + "operationId": "GETFlowStarts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Flow Starts" + ], + "summary": "POST flow_starts", + "description": "List flow starts and start contacts in flows", + "operationId": "POSTFlowStarts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/flows": { + "get": { + "tags": [ + "Flows" + ], + "summary": "GET flows", + "description": "List flows", + "operationId": "GETFlows", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/globals": { + "get": { + "tags": [ + "Globals" + ], + "summary": "GET globals", + "description": "List globals", + "operationId": "GETGlobals", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/groups": { + "get": { + "tags": [ + "Groups" + ], + "summary": "GET groups", + "description": "List, create, update or delete contact groups", + "operationId": "GETGroups", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Groups" + ], + "summary": "POST groups", + "description": "List, create, update or delete contact groups", + "operationId": "POSTGroups", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Groups" + ], + "summary": "PUT groups", + "description": "List, create, update or delete contact groups", + "operationId": "PUTGroups", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Groups" + ], + "summary": "DELETE groups", + "description": "List, create, update or delete contact groups", + "operationId": "DELETEGroups", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/labels": { + "get": { + "tags": [ + "Labels" + ], + "summary": "GET labels", + "description": "List, create, update or delete message labels", + "operationId": "GETLabels", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Labels" + ], + "summary": "POST labels", + "description": "List, create, update or delete message labels", + "operationId": "POSTLabels", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "put": { + "tags": [ + "Labels" + ], + "summary": "PUT labels", + "description": "List, create, update or delete message labels", + "operationId": "PUTLabels", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Labels" + ], + "summary": "DELETE labels", + "description": "List, create, update or delete message labels", + "operationId": "DELETELabels", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/messages": { + "get": { + "tags": [ + "Messages" + ], + "summary": "GET messages", + "description": "List messages", + "operationId": "GETMessages", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/message_actions": { + "post": { + "tags": [ + "Message Actions" + ], + "summary": "POST message_actions", + "description": "Perform bulk message actions", + "operationId": "POSTMessageActions", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/runs": { + "get": { + "tags": [ + "Runs" + ], + "summary": "GET runs", + "description": "List flow runs", + "operationId": "GETRuns", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/products": { + "get": { + "tags": [ + "Products" + ], + "summary": "GET products", + "description": "List current WhatsApp products on your account", + "operationId": "GETProducts", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/resthooks": { + "get": { + "tags": [ + "Resthooks" + ], + "summary": "GET resthooks", + "description": "List resthooks", + "operationId": "GETResthooks", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/resthook_events": { + "get": { + "tags": [ + "Resthook Events" + ], + "summary": "GET resthook_events", + "description": "List resthook events", + "operationId": "GETResthookEvents", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/resthook_subscribers": { + "get": { + "tags": [ + "Resthook Subscribers" + ], + "summary": "GET resthook_subscribers", + "description": "List, create or delete subscribers on your resthooks", + "operationId": "GETResthookSubscribers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Resthook Subscribers" + ], + "summary": "POST resthook_subscribers", + "description": "List, create or delete subscribers on your resthooks", + "operationId": "POSTResthookSubscribers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "delete": { + "tags": [ + "Resthook Subscribers" + ], + "summary": "DELETE resthook_subscribers", + "description": "List, create or delete subscribers on your resthooks", + "operationId": "DELETEResthookSubscribers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/templates": { + "get": { + "tags": [ + "Templates" + ], + "summary": "GET templates", + "description": "List current WhatsApp templates on your account", + "operationId": "GETTemplates", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/ticketers": { + "get": { + "tags": [ + "Ticketers" + ], + "summary": "GET ticketers", + "description": "List ticketing services", + "operationId": "GETTicketers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/tickets": { + "get": { + "tags": [ + "Tickets" + ], + "summary": "GET tickets", + "description": "List tickets", + "operationId": "GETTickets", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/ticket_actions": { + "post": { + "tags": [ + "Ticket Actions" + ], + "summary": "POST ticket_actions", + "description": "Perform bulk ticket actions", + "operationId": "POSTTicketActions", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/topics": { + "get": { + "tags": [ + "Topics" + ], + "summary": "GET topics", + "description": "List and create topics", + "operationId": "GETTopics", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + }, + "post": { + "tags": [ + "Topics" + ], + "summary": "POST topics", + "description": "List and create topics", + "operationId": "POSTTopics", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + } + }, + "/api/v2/users": { + "get": { + "tags": [ + "Users" + ], + "summary": "GET users", + "description": "List user logins", + "operationId": "GETUsers", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/workspace": { + "get": { + "tags": [ + "Workspace" + ], + "summary": "GET workspace", + "description": "View your workspace", + "operationId": "GETWorkspace", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + }, + "/api/v2/intelligences": { + "get": { + "tags": [ + "Intelligences" + ], + "summary": "GET intelligences", + "description": "View your intelligences", + "operationId": "GETIntelligences", + "parameters": [ + { + "name": "Authorization", + "in": "header", + "description": "API Token for authentication. Format: Token {your-token}", + "required": true, + "style": "simple", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "Bad Request" + }, + "401": { + "description": "Unauthorized - Authentication credentials were not provided or are invalid" + }, + "404": { + "description": "Not Found - The resource was not found" + }, + "429": { + "description": "Rate limit exceeded - You have exceeded the rate limit for this endpoint" + } + } + } + } + }, + "components": { + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "name": "Authorization", + "description": "API Token authentication. Format: Token {your-token}" + } + }, + "parameters": { + "Before": { + "name": "before", + "in": "query", + "description": "Start date of the archive. Follows the UTC time format: `YYYY-MM-DDT`.", + "required": false, + "style": "form", + "schema": { + "type": "string", + "example": "2025-11-20T00:00:00" + } + }, + "After": { + "name": "after", + "in": "query", + "description": "End date of the archive. Follows the UTC time format: `YYYY-MM-DDT`.", + "required": false, + "style": "form", + "schema": { + "type": "string", + "example": "2025-11-20T00:00:00" + } + } + }, + "schemas": { + "NextPage": { + "type": "string", + "description": "URL of the next page. You can use this URL to make a new request and see the results of the following page.", + "nullable": true, + "example": "http://flows.weni.ai/api/v2/archives.json?cursor=cD0yMDE1LTExLTExKzExJTNBM40NjQlMkIwMCUzRv" + }, + "PreviousPage": { + "type": "string", + "description": "URL of the previous page. You can use this URL to make a new request and see the results of the previous page.", + "nullable": true, + "example": "http://flows.weni.ai/api/v2/archives.json?cursor=cD0yMDE1LTExLTExKzExJTNBM40NjQlMkIwMCUzRv" + }, + "Count": { + "type": "integer", + "description": "Total number of results in the current page.", + "example": 100 + } + } + }, + "tags": [ + { + "name": "Archives" + }, + { + "name": "Boundaries" + }, + { + "name": "Broadcasts" + }, + { + "name": "Campaigns" + }, + { + "name": "Campaign Events" + }, + { + "name": "Channels" + }, + { + "name": "Channel Events" + }, + { + "name": "Classifiers" + }, + { + "name": "Contacts" + }, + { + "name": "Contact Actions" + }, + { + "name": "Contact Templates" + }, + { + "name": "Definitions" + }, + { + "name": "Fields" + }, + { + "name": "Flow Starts" + }, + { + "name": "Flows" + }, + { + "name": "Globals" + }, + { + "name": "Groups" + }, + { + "name": "Labels" + }, + { + "name": "Messages" + }, + { + "name": "Message Actions" + }, + { + "name": "Runs" + }, + { + "name": "Products" + }, + { + "name": "Resthooks" + }, + { + "name": "Resthook Events" + }, + { + "name": "Resthook Subscribers" + }, + { + "name": "Templates" + }, + { + "name": "Ticketers" + }, + { + "name": "Tickets" + }, + { + "name": "Ticket Actions" + }, + { + "name": "Topics" + }, + { + "name": "Users" + }, + { + "name": "Workspace" + }, + { + "name": "Intelligences" + } + ] +} \ No newline at end of file