{ "item": [ { "id": "9768bc1f-f607-4830-a1d3-f6aeb16322a2", "name": "Feed Columns", "description": { "content": "", "type": "text/plain" }, "item": [ { "id": "ac76c160-0337-4069-9c5d-2a07355d54da", "name": "Lists feed columns", "request": { "name": "Lists feed columns", "description": {}, "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "key": "filter[feed_id]", "value": "", "description": "(Required) " }, { "disabled": false, "key": "filter[feed_id]", "value": "", "description": "(Required) " } ], "variable": [] }, "header": [ { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] } }, "response": [ { "id": "62a549fe-1b4a-4035-9ee1-1c5e8941cb8e", "name": "Successful", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "filter[feed_id]", "value": "" }, { "key": "filter[feed_id]", "value": "" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"data\": [\n {\n \"id\": \"abc123\",\n \"type\": \"feed_columns\",\n \"attributes\": {\n \"name\": \"Column 1\"\n }\n },\n {\n \"id\": \"def567\",\n \"type\": \"feed_columns\",\n \"attributes\": {\n \"name\": \"Column 2\"\n }\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "34d48072-44e1-4196-8107-5c23556bba7b", "name": "Bad Request", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "filter[feed_id]", "value": "" }, { "key": "filter[feed_id]", "value": "" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 400,\n \"title\": \"Bad Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0e9c0430-b2a2-4c2c-a51f-f8a383fd7f17", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "filter[feed_id]", "value": "" }, { "key": "filter[feed_id]", "value": "" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 401,\n \"title\": \"Unauthorized Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "bfd3c68d-ba51-48b1-910d-e3ff0c26340f", "name": "Forbidden", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [ { "key": "filter[feed_id]", "value": "" }, { "key": "filter[feed_id]", "value": "" } ], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "67049d77-e8cb-45bf-bcbe-e72d4a309b2e", "name": "Creates a feed column", "request": { "name": "Creates a feed column", "description": {}, "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "POST", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] }, "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": true\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "a333feca-4578-4bf3-b1ee-6f8565d6ee64", "name": "Created", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Created", "code": 201, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"data\": {\n \"id\": \"abc123\",\n \"type\": \"feed_column\",\n \"attributes\": {\n \"name\": \"Column Name\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2325e00f-e005-4dab-aa44-a4ed1f850ea4", "name": "Bad Request", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 400,\n \"title\": \"Bad Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1def90e4-850f-4a18-abe9-9dd27cade8d8", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 401,\n \"title\": \"Unauthorized Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d7a9b7b6-11a0-40d5-a841-3357ee88d913", "name": "Forbidden", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "aed37c16-cfa5-4426-aef4-52110cfe400e", "name": "Retrieves a Feed Column", "request": { "name": "Retrieves a Feed Column", "description": {}, "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] } }, "response": [ { "id": "75bfe661-54f0-4f47-befc-0557ce44c59d", "name": "Successful", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"data\": {\n \"id\": \"abc123\",\n \"type\": \"feed_column\",\n \"attributes\": {\n \"name\": \"Column Name\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f8f2006a-e284-444b-a9b9-6ea640017ba5", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 401,\n \"title\": \"Unauthorized Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "941d3b25-5ca2-44dc-8757-d091fff63586", "name": "Forbidden", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "GET", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c7b953a5-7726-4f14-a4d1-bfbaade35cd9", "name": "Not Found", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "8a9c45f3-12d4-4281-bf8a-907a6506296c", "name": "Updates a Feed Column", "request": { "name": "Updates a Feed Column", "description": {}, "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "PATCH", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] }, "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": true\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "2a56d918-91de-4625-9c56-e670582e7def", "name": "Successful", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"data\": {\n \"id\": \"abc123\",\n \"type\": \"feed_columns\",\n \"attributes\": {\n \"name\": \"Column Name\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "555b3733-27ee-4f5e-8dbb-63e793becaeb", "name": "Bad Request", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"data\": {\n \"type\": \"string\",\n \"attributes\": {\n \"name\": \"string\",\n \"feed_id\": \"string\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "95f5c4be-16b4-45b9-b9cb-17d74e69f2f1", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 401,\n \"title\": \"Unauthorized Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e0a1ef37-b960-47f9-a3c7-c618a957c64f", "name": "Forbidden", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3c094d17-d146-4bbd-b5f1-ebedd68da5b1", "name": "Not Found", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "PATCH", "body": { "mode": "raw", "raw": "{\n \"data\": {\n \"type\": \"\",\n \"attributes\": {\n \"name\": \"\",\n \"feed_id\": \"string\"\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e8efe30e-0733-44c7-a2ce-5491a440d733", "name": "Deletes a Feed Column", "request": { "name": "Deletes a Feed Column", "description": {}, "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "DELETE", "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}" } ] } }, "response": [ { "id": "77ac9fff-1524-4a46-bcca-cbbb910270c5", "name": "No Content", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "fdfc30ff-4844-413d-bd66-61d228877a04", "name": "Bad Request", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "50717d89-174c-47f3-ae91-1a8c0c502fdb", "name": "Unauthorized", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 401,\n \"title\": \"Unauthorized Request\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ea10e438-2345-48a8-ab27-cd6018a9bf85", "name": "Forbidden", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " }, { "key": "Accept", "value": "application/vnd.api+json" } ], "method": "DELETE", "body": {} }, "status": "Forbidden", "code": 403, "header": [ { "key": "Content-Type", "value": "application/vnd.api+json" } ], "body": "{\n \"errors\": [\n {\n \"status\": 403,\n \"title\": \"Forbidden\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cedff16e-fa9b-4824-b361-4661822ad40d", "name": "Not Found", "originalRequest": { "url": { "path": [ "api", "v1", "feed_columns", ":feed_column_id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "feed_column_id", "description": "(Required) " } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] } ], "event": [], "variable": [ { "type": "string", "value": "https://api2.jebbit.com/", "key": "baseUrl" } ], "info": { "_postman_id": "192d6b32-58f8-4dc1-a432-bd3ffbcb627c", "name": "Jebbit Auth Feed Columns API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "# Introduction\nUse our Jebbit API to automate tasks relating to your Jebbit Businesses, Campaigns, Product Feed, Launch Links, and Integrations.\n# Authentication Guide\nUse the `client_id` and `client_secret` provided by Jebbit in the [Auth Endpoint](/#tag/Auth) to generate an `access_token`. This token is valid for 24 hours. After that you'll need to hit the endpoint again to generate a new token.\n## Making API Requests\nJebbit requires your `access_token` (which is a [Json Web Token](https://jwt.io/) / JWT) to be included in all API requests. It must be sent in the `Authorization` header in the following format:\n\n`Authorization: Bearer `\n\n**Important:** If your `access_token` has permissions (scopes) to multiple businesses, then we require you to send an `x-jebbit-business` header with every request. The value of this header is a business' ID. This header sets the scope of the request to the business provided.\n## API Resource Sorting\nAll resources from the API are listed descending by the time they were created.\n# Integration/Webhook Client Guide\nWhen using our [Integrations endpoint](/#tag/Integrations) to receive Jebbit webhooks there are a few key things you want to keep top-of-mind. To help assist in this process, we've created an [Example Webhook Client Repo](https://github.com/jebbit/jebbit-webhook-client-example) as a kickstarter.\n## Test Webhooks\nYou're able to [send a test webhook](/#tag/Integrations/) to your endpoint to verify that your integration and endpoint are properly set up. Test Webhooks allow you to test out the signature verification process before activating your Integration.\n\n**Important:** Jebbit sends an `x-jebbit-test` header with every test webhook. You should ensure there is logic in your application to properly discard these webhooks and not continue processing them through your data ingestion process.\n## Jebbit Webhooks\nAll webhooks Jebbit sends contain an `x-jebbit-signature` header. This header is how you can verify that the request to your endpoint is from Jebbit.\n## Anatomy of a Jebbit Signature\nThe value of a Jebbit Signature will be a string with two key/value pairs separated by a comma. The first part is the unix timestamp of when the webhook was sent and the second part is the hmac of the payload it carries.\n`x-jebbit-signature: t=#{timestamp},v1=#{hmac}`\n## Verifying a Signature\nThe first step of validating a signature is ensuring that the timestamp provided is within a reasonable threshold from the current timestamp, say 5 minutes. If a webhook is outside of this threshold it is recommended to not process it any further -- this helps guard against replay attacks.\n\n\n```ruby\n# Example in Ruby\nif timestamp < Time.now.to_i - 300 # 300 seconds = 5 minutes\n raise StandardError, 'Timestamp outside of tolerance'\nend\n```\n\nThe next step will be to verify the `hmac` passed along by the `v1` attribute of the signature. To verify this you'll need to do the following:\n\n```ruby\n# Example in Ruby/Rails\n# Step 1 - regenerate the payload by using the timestamp the header\ngenerated_payload = \"#{timestamp}.#{request.body}\"\n\n# Step 2 - create an HMAC of the generated_payload using the `shared_secret` for the integration\n\ncalculated_hmac = Base64.strict_encode64(\n OpenSSL::HMAC.digest('sha256', shared_secret, generated_payload)\n)\n\n# Step 3 - securely verify that the two hmacs are equal\nActiveSupport::SecurityUtils.secure_compare(hmac, calculated_hmac)\n\n# if they are equal, then you can accept the payload as valid & continue processing.\n```\n", "type": "text/plain" } } }