{ "uuid": "ed3f3027-0f08-4a42-87ab-53a5cb9f0391", "lastMigration": 29, "name": "Contribly", "endpointPrefix": "1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "7c7cd41d-cc93-40cd-9a85-4c61aa48365b", "documentation": "Artifact formats", "method": "get", "endpoint": "artifact-formats", "responses": [ { "uuid": "85f2b098-cd79-42d0-99d0-65439a7b71c0", "body": "{\n \"contribution\": [\n {\n \"contentType\": \"\",\n \"fileExtension\": \"\",\n \"forContentType\": \"\",\n \"label\": \"\",\n \"preserveAspectRatio\": {{faker 'datatype.boolean'}},\n \"public\": {{faker 'datatype.boolean'}},\n \"upscaleAllowed\": {{faker 'datatype.boolean'}}\n }\n ],\n \"cover\": [\n {\n \"contentType\": \"\",\n \"fileExtension\": \"\",\n \"forContentType\": \"\",\n \"label\": \"\",\n \"preserveAspectRatio\": {{faker 'datatype.boolean'}},\n \"public\": {{faker 'datatype.boolean'}},\n \"upscaleAllowed\": {{faker 'datatype.boolean'}}\n }\n ],\n \"profileImage\": [\n {\n \"contentType\": \"\",\n \"fileExtension\": \"\",\n \"forContentType\": \"\",\n \"label\": \"\",\n \"preserveAspectRatio\": {{faker 'datatype.boolean'}},\n \"public\": {{faker 'datatype.boolean'}},\n \"upscaleAllowed\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of artifact formats", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "114fb52e-e308-46f6-9c47-94aa07c83fd1", "documentation": "List assignments", "method": "get", "endpoint": "assignments", "responses": [ { "uuid": "c7b4cd27-65e8-4523-a443-9fc8d6f75fbd", "body": "[\n {\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of assignments", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a3809ff0-37ca-4c2b-bd61-bba4265bb6dc", "documentation": "Create a new assignment", "method": "post", "endpoint": "assignments", "responses": [ { "uuid": "002d4ad5-185c-461a-b569-4cab29822d5c", "body": "{\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Assignment created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5e5772a6-9103-46e6-b7ff-77ca3227d68e", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "The new assignment vailed to validate. Check the response body for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7e5e3dc3-4d54-4004-9514-dd10c2211e4e", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 500, "label": "Failed to create the new assignment due to an unexpected error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2c0d6037-f3c6-4016-b22c-5f567a310957", "documentation": "Delete this assignment and all of it's contributions", "method": "delete", "endpoint": "assignments/:id", "responses": [ { "uuid": "ea9bb1e3-aaa3-4414-8502-31cfb512eaa2", "body": "", "latency": 0, "statusCode": 200, "label": "Assignment deleted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f6ec21d0-fae3-40fb-a2b4-bd0aaf88d5a7", "body": "", "latency": 0, "statusCode": 403, "label": "Not permitted to delete this assignment.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6b5e5ca0-ffe2-42e4-93c9-1574bd543137", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b724e56e-08bd-44a2-b2e8-e243b8e58142", "documentation": "Get a single assigment by id", "method": "get", "endpoint": "assignments/:id", "responses": [ { "uuid": "c112938c-0e68-4028-8d3c-f0f24ee8c8e8", "body": "{\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Assignment found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9978988b-f546-48cc-bc73-041ddfb5e756", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "adafc595-7e15-43e4-95b6-5648baac4591", "documentation": "Recent changes", "method": "get", "endpoint": "change-log", "responses": [ { "uuid": "316b7ad9-d7a4-4542-81d7-dd45c3e9f4c3", "body": "[\n {\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"title\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of change log items", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "204db918-bf81-4303-8ab5-01836fdcb585", "documentation": "List valid contribution refinement types", "method": "get", "endpoint": "contribution-refinement-types", "responses": [ { "uuid": "11c24f6e-aab8-4403-acf7-c38b9a829674", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "An array of refinement types. These are the possible values of the get contribution refinements parameter.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "55530469-92ef-4817-934e-b97f130a846f", "documentation": "List contribution refinement options", "method": "get", "endpoint": "contribution-refinements", "responses": [ { "uuid": "1ad30a93-ab40-49b3-8805-a40bc83d369c", "body": "{}", "latency": 0, "statusCode": 200, "label": "A map of refinement names to lists of options", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c1f92b7e-bd81-41d5-a549-8a546346f0fb", "documentation": "List contributions", "method": "get", "endpoint": "contributions", "responses": [ { "uuid": "32f71d65-deaf-4641-8b90-9dbe545aea8c", "body": "[\n {\n \"assignment\": {\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n },\n \"attribution\": \"\",\n \"body\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"headline\": \"\",\n \"id\": \"\",\n \"mediaUsages\": [\n {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n }\n ],\n \"moderationHistory\": [\n {\n \"action\": {\n \"id\": \"\",\n \"label\": \"\",\n \"resultingState\": {\n \"id\": \"\",\n \"label\": \"\",\n \"public\": {{faker 'datatype.boolean'}}\n }\n },\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"notes\": \"\"\n }\n ],\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"urlWords\": \"\",\n \"via\": {\n \"authority\": {\n \"client\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"user\": {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n },\n \"ipAddress\": \"\",\n \"ipAddressPlace\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n }\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of contributions", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "55569a0b-6f8d-4040-a5a3-18ac96fc36f6", "documentation": "Create a new contribution", "method": "post", "endpoint": "contributions", "responses": [ { "uuid": "c815e879-6e0e-4535-a39d-a93185033859", "body": "{\n \"assignment\": {\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n },\n \"attribution\": \"\",\n \"body\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"headline\": \"\",\n \"id\": \"\",\n \"mediaUsages\": [\n {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n }\n ],\n \"moderationHistory\": [\n {\n \"action\": {\n \"id\": \"\",\n \"label\": \"\",\n \"resultingState\": {\n \"id\": \"\",\n \"label\": \"\",\n \"public\": {{faker 'datatype.boolean'}}\n }\n },\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"notes\": \"\"\n }\n ],\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"urlWords\": \"\",\n \"via\": {\n \"authority\": {\n \"client\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"user\": {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n },\n \"ipAddress\": \"\",\n \"ipAddressPlace\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Contribution created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "937cd3f4-86a1-469b-86e5-573690834315", "documentation": "Delete this contribution", "method": "delete", "endpoint": "contributions/:id", "responses": [ { "uuid": "f106d5f7-5ac7-4f5b-a314-52008a24d48f", "body": "{\n \"assignment\": {\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n },\n \"attribution\": \"\",\n \"body\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"headline\": \"\",\n \"id\": \"\",\n \"mediaUsages\": [\n {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n }\n ],\n \"moderationHistory\": [\n {\n \"action\": {\n \"id\": \"\",\n \"label\": \"\",\n \"resultingState\": {\n \"id\": \"\",\n \"label\": \"\",\n \"public\": {{faker 'datatype.boolean'}}\n }\n },\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"notes\": \"\"\n }\n ],\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"urlWords\": \"\",\n \"via\": {\n \"authority\": {\n \"client\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"user\": {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n },\n \"ipAddress\": \"\",\n \"ipAddressPlace\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The deletion request has been accepted and will be processed in the background.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "98b182d5-0053-40de-ada2-e464aabe7cd0", "body": "", "latency": 0, "statusCode": 403, "label": "The currently authorised user is not allowed to delete this contribution.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1bb896e2-1ec9-4b40-ba1c-e5e135d60b01", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78ce1f3e-e844-4c02-932b-c7fab18f585e", "documentation": "Get a single contribution by id", "method": "get", "endpoint": "contributions/:id", "responses": [ { "uuid": "b28e5dfa-c2af-4724-9b7a-4baf57fbf768", "body": "{\n \"assignment\": {\n \"allowsAnonymousContributions\": {{faker 'datatype.boolean'}},\n \"callToAction\": \"\",\n \"cover\": {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n },\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"description\": \"\",\n \"embargo\": \"{{faker 'date.recent' 365}}\",\n \"ends\": \"{{faker 'date.recent' 365}}\",\n \"featured\": {{faker 'datatype.boolean'}},\n \"id\": \"\",\n \"mediaRequired\": {{faker 'datatype.boolean'}},\n \"moderator\": \"\",\n \"name\": \"\",\n \"open\": {{faker 'datatype.boolean'}},\n \"receiptMessage\": \"\",\n \"starts\": \"{{faker 'date.recent' 365}}\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ],\n \"urlWords\": \"\",\n \"webUrl\": \"\"\n },\n \"attribution\": \"\",\n \"body\": \"\",\n \"created\": \"{{faker 'date.recent' 365}}\",\n \"headline\": \"\",\n \"id\": \"\",\n \"mediaUsages\": [\n {\n \"artifacts\": [\n {\n \"contentLength\": {{faker 'number.int' max=99999}},\n \"contentType\": \"\",\n \"height\": {{faker 'number.int' max=99999}},\n \"label\": \"\",\n \"url\": \"\",\n \"width\": {{faker 'number.int' max=99999}}\n }\n ],\n \"id\": \"\",\n \"media\": {\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n }\n }\n ],\n \"moderationHistory\": [\n {\n \"action\": {\n \"id\": \"\",\n \"label\": \"\",\n \"resultingState\": {\n \"id\": \"\",\n \"label\": \"\",\n \"public\": {{faker 'datatype.boolean'}}\n }\n },\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"notes\": \"\"\n }\n ],\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"urlWords\": \"\",\n \"via\": {\n \"authority\": {\n \"client\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"user\": {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n },\n \"ipAddress\": \"\",\n \"ipAddressPlace\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a17e8380-74eb-4ff2-a1e6-e360bddcd376", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d44d2e53-8baa-4ca1-a63e-0ecb6b8fc568", "documentation": "Raise a flag against this contribution", "method": "post", "endpoint": "contributions/:id/flag", "responses": [ { "uuid": "c08f3bd0-1d69-454a-8bf3-2e412093d43b", "body": "{\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"email\": \"\",\n \"id\": \"\",\n \"notes\": \"\",\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Flag created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "888c12b1-78f3-4267-8097-da4976cb3129", "documentation": "Allows a user to mark a contribution as liked", "method": "post", "endpoint": "contributions/:id/like", "responses": [ { "uuid": "52fdbd4e-6ddf-49d4-b98c-4ad44a3aff51", "body": "{{faker 'number.int' max=99999}}", "latency": 0, "statusCode": 200, "label": "The updated like count for this contribution.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c91119ff-1494-4277-8c0e-53a68a11d483", "documentation": "List users who have liked this contributions", "method": "get", "endpoint": "contributions/:id/likes", "responses": [ { "uuid": "8dfb9639-4d14-4be4-a041-0cf872b7794d", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "A list of user ids.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e094cd30-a9d3-4f86-a527-68bbdfee8562", "documentation": "Perform a moderation action on this contribution", "method": "post", "endpoint": "contributions/:id/moderate", "responses": [ { "uuid": "d6170c1a-fe78-40a8-9d80-9043c22a7237", "body": "\"\"", "latency": 0, "statusCode": 200, "label": "The moderation action was successfully applied", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c6aaf6a6-feb5-4fc0-95d4-992d52566f5a", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "The submission falied to validate. Check the response body for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dbc8d599-f4f8-4eb0-80ab-5cccbeb5d026", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 401, "label": "The request was not correctly authorised.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f61dec49-6af8-41fc-b64c-796a834ce270", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 403, "label": "You do not have permission to perform this moderation action.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d6161a3f-095c-4b68-be8b-b5e1cc795ab2", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "85367a76-f70c-4858-93fd-e5205f5c1981", "documentation": "List the credentials associated with the authenticated user.", "method": "get", "endpoint": "credentials", "responses": [ { "uuid": "77712b74-0360-43e1-bf14-f8aad227091d", "body": "[\n {\n \"scopes\": [\n \"\"\n ],\n \"type\": \"\",\n \"user\": \"\",\n \"value\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of credentials associated with this user.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e47a9081-9101-4bd9-8374-ddcc21797304", "body": "", "latency": 0, "statusCode": 401, "label": "Not authorised", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aaad95f8-11f3-4b5f-8e2d-0b686235b423", "documentation": "Event types", "method": "get", "endpoint": "event-types", "responses": [ { "uuid": "7d098cbf-17e1-4131-9d05-791a8e6636f1", "body": "[\n {\n \"id\": \"\",\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of event types", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0a59b4e7-656f-48ca-b83a-c5f8459ac4ab", "documentation": "Export contributions.", "method": "post", "endpoint": "export", "responses": [ { "uuid": "ee571294-2a0f-45ea-9333-c23fbebc1fa0", "body": "{\n \"downloadUrl\": \"\",\n \"finished\": \"{{faker 'date.recent' 365}}\",\n \"id\": \"\",\n \"owner\": \"\",\n \"progress\": {{faker 'number.int' max=99999}},\n \"started\": \"{{faker 'date.recent' 365}}\",\n \"step\": \"\"\n}", "latency": 0, "statusCode": 202, "label": "An export job describing the state of an export job.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "597903c6-dc3d-41fb-bd02-e0385ed1782a", "documentation": "Export contributions preflight summary.", "method": "post", "endpoint": "export-summary", "responses": [ { "uuid": "c762cdd7-3c01-458d-8917-8f4661a63247", "body": "{\n \"contributions\": {{faker 'number.int' max=99999}},\n \"estimatedSize\": \"\",\n \"media\": {{faker 'number.int' max=99999}},\n \"totalMediaSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "A summary of the number of contributions, media files and approximate total size of media files.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "947b85eb-904f-4b40-a714-032b2d46a5d1", "documentation": "Get a single export job; poll to follow export progress.", "method": "get", "endpoint": "exports/:id", "responses": [ { "uuid": "df1ddeef-a0a4-48ab-a0f2-513c5ac952ce", "body": "{\n \"downloadUrl\": \"\",\n \"finished\": \"{{faker 'date.recent' 365}}\",\n \"id\": \"\",\n \"owner\": \"\",\n \"progress\": {{faker 'number.int' max=99999}},\n \"started\": \"{{faker 'date.recent' 365}}\",\n \"step\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d62511a9-8279-4180-94d4-1dd8d4b60abf", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee9d7e49-2495-4b0b-87d4-0492034d2571", "documentation": "List form responses", "method": "get", "endpoint": "form-responses", "responses": [ { "uuid": "01704d6a-7ee8-49bd-bc50-30634244611b", "body": "[\n {\n \"contribution\": \"\",\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"form\": \"\",\n \"id\": \"\",\n \"responses\": {},\n \"user\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of form responses", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "57851755-05d9-4469-9c2b-76d8815555d0", "documentation": "Submit a response to a form", "method": "post", "endpoint": "form-responses", "responses": [ { "uuid": "4d48496c-de01-469f-8dea-8ffb74a3bc1f", "body": "{\n \"contribution\": \"\",\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"form\": \"\",\n \"id\": \"\",\n \"responses\": {},\n \"user\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Form response saved", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "095de5ab-357b-486b-9788-47e6c7cc8fb6", "documentation": "Get a single form response by id", "method": "get", "endpoint": "form-responses/:id", "responses": [ { "uuid": "bdccfcae-7236-49ad-8a9a-c9acc3d3b25b", "body": "{\n \"contribution\": \"\",\n \"date\": \"{{faker 'date.recent' 365}}\",\n \"form\": \"\",\n \"id\": \"\",\n \"responses\": {},\n \"user\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Form response found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4bda8b6c-693e-49a2-a8ca-5022966c68fb", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cbcdd01-4d38-4ef2-b408-3bc7d49b2432", "documentation": "List forms", "method": "get", "endpoint": "forms", "responses": [ { "uuid": "b1be43ed-fcdc-4154-8932-4b2e1c1ecbf9", "body": "[\n {\n \"callToAction\": \"\",\n \"cssUrl\": \"\",\n \"fields\": [\n {\n \"description\": \"\",\n \"label\": \"\",\n \"name\": \"\",\n \"options\": [\n \"\"\n ],\n \"public\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"type\": \"\"\n }\n ],\n \"heading\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"noCss\": {{faker 'datatype.boolean'}},\n \"ownedBy\": \"\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ]\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of forms", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f5fbbcca-b5e5-4ba1-ba3c-778f48c1c820", "documentation": "Create a form", "method": "post", "endpoint": "forms", "responses": [ { "uuid": "d0337571-0578-44cd-b51e-52048ce91b78", "body": "{\n \"callToAction\": \"\",\n \"cssUrl\": \"\",\n \"fields\": [\n {\n \"description\": \"\",\n \"label\": \"\",\n \"name\": \"\",\n \"options\": [\n \"\"\n ],\n \"public\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"type\": \"\"\n }\n ],\n \"heading\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"noCss\": {{faker 'datatype.boolean'}},\n \"ownedBy\": \"\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Form created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aff905a5-930d-468e-9b6a-fb612cff5bcd", "documentation": "Delete this form and all of it's responses.", "method": "delete", "endpoint": "forms/:id", "responses": [ { "uuid": "82ca6bcb-bab1-4aaf-bb79-e2d8e12aec6e", "body": "", "latency": 0, "statusCode": 200, "label": "Form deleted", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6956f757-ccb7-4c02-b00a-339e479413c3", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "567edbcb-4963-4e68-902a-2b013314ec89", "documentation": "Get a single form by id", "method": "get", "endpoint": "forms/:id", "responses": [ { "uuid": "4be436bb-49a6-40cf-959f-d7e9d75c9a46", "body": "{\n \"callToAction\": \"\",\n \"cssUrl\": \"\",\n \"fields\": [\n {\n \"description\": \"\",\n \"label\": \"\",\n \"name\": \"\",\n \"options\": [\n \"\"\n ],\n \"public\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"type\": \"\"\n }\n ],\n \"heading\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"noCss\": {{faker 'datatype.boolean'}},\n \"ownedBy\": \"\",\n \"tags\": [\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Form found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "68bfde4b-7b0d-4136-b7e7-1d6065e25a39", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "270a1cab-f13d-44b1-9245-0e79e0191d4e", "documentation": "Submit a new media file", "method": "post", "endpoint": "media", "responses": [ { "uuid": "389158a0-db4b-4b30-9bfe-1deb113ead43", "body": "{\n \"duration\": {{faker 'number.int' max=99999}},\n \"id\": \"\",\n \"place\": {\n \"country\": \"\",\n \"geohash\": \"\",\n \"google\": \"\",\n \"latLong\": {\n \"latitude\": {{faker 'number.float'}},\n \"longitude\": {{faker 'number.float'}}\n },\n \"name\": \"\",\n \"osm\": {\n \"osmId\": {{faker 'number.int' max=99999}},\n \"osmType\": \"\"\n }\n },\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Media created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8c7b627b-d915-4f7c-9e6d-2ae6c9468721", "documentation": "", "method": "get", "endpoint": "notifications/contributions/:id/preview", "responses": [ { "uuid": "ea243805-dbba-497b-9d64-4ba5396959da", "body": "{\n \"email\": \"\",\n \"html\": \"\",\n \"subject\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Notification preview", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a521d1f2-292a-4613-8aae-222c6693be03", "documentation": "Scopes", "method": "get", "endpoint": "scopes", "responses": [ { "uuid": "28d852a8-9d27-4278-9a27-e50b7a380546", "body": "[\n \"\"\n]", "latency": 0, "statusCode": 200, "label": "A list of scopes", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "87e57b35-0a06-4bb8-85dc-c4de59e41fe9", "documentation": "Subscription types", "method": "get", "endpoint": "subscription-types", "responses": [ { "uuid": "3725b3f3-f3a6-46c0-929f-9d20a04245c1", "body": "[\n {\n \"id\": \"\",\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of subscription event types", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a531a0ab-a8c6-4775-8b57-61445f3cfd1e", "documentation": "List subscriptions for the authorised user.", "method": "get", "endpoint": "subscriptions", "responses": [ { "uuid": "c9dc7175-27a1-4add-8bc3-d6077d0b324c", "body": "[\n {\n \"assignment\": \"\",\n \"email\": \"\",\n \"id\": \"\",\n \"includeBody\": {{faker 'datatype.boolean'}},\n \"includeThumbenail\": {{faker 'datatype.boolean'}},\n \"slackChannel\": \"\",\n \"token\": \"\",\n \"types\": [\n \"\"\n ],\n \"user\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of notification subscriptions", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "64a5caca-88e3-4237-83c6-54a4cef4bbc3", "documentation": "Delete a subscription.", "method": "delete", "endpoint": "subscriptions/:id", "responses": [ { "uuid": "cf18f05d-be0d-4996-a433-44eff986bf00", "body": "", "latency": 0, "statusCode": 200, "label": "The subscription has been successfully deleted.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e3432d0c-6f0e-454a-8c64-95f259f65dce", "documentation": "List tags", "method": "get", "endpoint": "tags", "responses": [ { "uuid": "c5ae8ca8-6c8b-4836-9202-4acf852f047a", "body": "[\n {\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of tags", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "db500106-8b70-414c-bd04-00b2d8197728", "documentation": "Create a new tag", "method": "post", "endpoint": "tags", "responses": [ { "uuid": "bb8e1190-afb9-47b1-9314-48930f1ddd93", "body": "{\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Tag created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "29d2ebf0-1261-4d6d-a283-d5294306bbaf", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "The new tag submission failed to validate. Check the response body for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "443becb4-2d36-4738-a599-3e82efe9878d", "body": "{\n \"fields\": [\n {\n \"message\": \"\",\n \"name\": \"\"\n }\n ],\n \"message\": \"\"\n}", "latency": 0, "statusCode": 500, "label": "Failed to create the new tag due to an unexcepted error.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2b90aa4a-5fd4-4463-ac41-9819def904e8", "documentation": "Retrieve a single tag by id", "method": "get", "endpoint": "tags/:id", "responses": [ { "uuid": "6e012512-ca7a-41af-88be-997d4f26ffc9", "body": "{\n \"colour\": \"#0061a6\",\n \"id\": \"\",\n \"name\": \"\",\n \"tagSet\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"urlWords\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The tag", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "16156769-f011-4cf4-a0c0-4c4f001f92ab", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a17ce16-0662-4269-b97e-f2ab9953d6f7", "documentation": "List tag sets", "method": "get", "endpoint": "tagsets", "responses": [ { "uuid": "29256567-75fb-4458-809a-2b8985472a91", "body": "[\n {\n \"id\": \"\",\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of tag sets", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d9d6b409-4b54-47a0-a0c4-5914f6e2f68b", "documentation": "Create a new tag set", "method": "post", "endpoint": "tagsets", "responses": [ { "uuid": "9241fd2e-7c6a-40d5-bd3c-4433e8327b23", "body": "{\n \"id\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Tagset created", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e0b00048-be9d-4093-904e-f785b6fd9ed6", "documentation": "Retrieve a single tag set by id", "method": "get", "endpoint": "tagsets/:id", "responses": [ { "uuid": "15a7ecf8-432d-4544-ad88-b4f4569eefda", "body": "{\n \"id\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "The tag set", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8c88cb95-061a-4071-921c-7d88f72461f6", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41abccc2-938b-424b-a641-01fb249cd6fa", "documentation": "List users", "method": "get", "endpoint": "users", "responses": [ { "uuid": "91184db8-053c-4230-ad42-94e18fd72a8f", "body": "[\n {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "A list of users", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-total-count", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9346d8f3-6639-46ef-8ac6-5262741a2de1", "documentation": "Retrieve a single user by id", "method": "get", "endpoint": "users/:id", "responses": [ { "uuid": "5cf19d17-85a3-4a7e-88a7-942e91efdfa8", "body": "{\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "10ae6ba1-1e8d-4d83-bf3a-70d6c15f580a", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cf3f7d85-ae08-4311-b117-0eca764e198b", "documentation": "Retrieve a users linked profile by type", "method": "get", "endpoint": "users/:id/linked/:type", "responses": [ { "uuid": "1beea351-5ea1-4344-9aaa-b95e4a4f902f", "body": "{\n \"bio\": \"\",\n \"email\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"picture\": \"\",\n \"profile\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e617290-dd86-4d51-a923-b281f68255fa", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88342b75-957a-4f54-9bd0-62e3bd58ad43", "documentation": "Verify token and return details of the owning user", "method": "post", "endpoint": "verify", "responses": [ { "uuid": "05d7e3c9-f936-43f0-99d5-f71f3b345b7e", "body": "{\n \"client\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"user\": {\n \"bio\": \"\",\n \"displayName\": \"\",\n \"id\": \"\",\n \"registered\": \"{{faker 'date.recent' 365}}\",\n \"username\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Token is valid", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "7c7cd41d-cc93-40cd-9a85-4c61aa48365b" }, { "type": "route", "uuid": "114fb52e-e308-46f6-9c47-94aa07c83fd1" }, { "type": "route", "uuid": "a3809ff0-37ca-4c2b-bd61-bba4265bb6dc" }, { "type": "route", "uuid": "2c0d6037-f3c6-4016-b22c-5f567a310957" }, { "type": "route", "uuid": "b724e56e-08bd-44a2-b2e8-e243b8e58142" }, { "type": "route", "uuid": "adafc595-7e15-43e4-95b6-5648baac4591" }, { "type": "route", "uuid": "204db918-bf81-4303-8ab5-01836fdcb585" }, { "type": "route", "uuid": "55530469-92ef-4817-934e-b97f130a846f" }, { "type": "route", "uuid": "c1f92b7e-bd81-41d5-a549-8a546346f0fb" }, { "type": "route", "uuid": "55569a0b-6f8d-4040-a5a3-18ac96fc36f6" }, { "type": "route", "uuid": "937cd3f4-86a1-469b-86e5-573690834315" }, { "type": "route", "uuid": "78ce1f3e-e844-4c02-932b-c7fab18f585e" }, { "type": "route", "uuid": "d44d2e53-8baa-4ca1-a63e-0ecb6b8fc568" }, { "type": "route", "uuid": "888c12b1-78f3-4267-8097-da4976cb3129" }, { "type": "route", "uuid": "c91119ff-1494-4277-8c0e-53a68a11d483" }, { "type": "route", "uuid": "e094cd30-a9d3-4f86-a527-68bbdfee8562" }, { "type": "route", "uuid": "85367a76-f70c-4858-93fd-e5205f5c1981" }, { "type": "route", "uuid": "aaad95f8-11f3-4b5f-8e2d-0b686235b423" }, { "type": "route", "uuid": "0a59b4e7-656f-48ca-b83a-c5f8459ac4ab" }, { "type": "route", "uuid": "597903c6-dc3d-41fb-bd02-e0385ed1782a" }, { "type": "route", "uuid": "947b85eb-904f-4b40-a714-032b2d46a5d1" }, { "type": "route", "uuid": "ee9d7e49-2495-4b0b-87d4-0492034d2571" }, { "type": "route", "uuid": "57851755-05d9-4469-9c2b-76d8815555d0" }, { "type": "route", "uuid": "095de5ab-357b-486b-9788-47e6c7cc8fb6" }, { "type": "route", "uuid": "3cbcdd01-4d38-4ef2-b408-3bc7d49b2432" }, { "type": "route", "uuid": "f5fbbcca-b5e5-4ba1-ba3c-778f48c1c820" }, { "type": "route", "uuid": "aff905a5-930d-468e-9b6a-fb612cff5bcd" }, { "type": "route", "uuid": "567edbcb-4963-4e68-902a-2b013314ec89" }, { "type": "route", "uuid": "270a1cab-f13d-44b1-9245-0e79e0191d4e" }, { "type": "route", "uuid": "8c7b627b-d915-4f7c-9e6d-2ae6c9468721" }, { "type": "route", "uuid": "a521d1f2-292a-4613-8aae-222c6693be03" }, { "type": "route", "uuid": "87e57b35-0a06-4bb8-85dc-c4de59e41fe9" }, { "type": "route", "uuid": "a531a0ab-a8c6-4775-8b57-61445f3cfd1e" }, { "type": "route", "uuid": "64a5caca-88e3-4237-83c6-54a4cef4bbc3" }, { "type": "route", "uuid": "e3432d0c-6f0e-454a-8c64-95f259f65dce" }, { "type": "route", "uuid": "db500106-8b70-414c-bd04-00b2d8197728" }, { "type": "route", "uuid": "2b90aa4a-5fd4-4463-ac41-9819def904e8" }, { "type": "route", "uuid": "5a17ce16-0662-4269-b97e-f2ab9953d6f7" }, { "type": "route", "uuid": "d9d6b409-4b54-47a0-a0c4-5914f6e2f68b" }, { "type": "route", "uuid": "e0b00048-be9d-4093-904e-f785b6fd9ed6" }, { "type": "route", "uuid": "41abccc2-938b-424b-a641-01fb249cd6fa" }, { "type": "route", "uuid": "9346d8f3-6639-46ef-8ac6-5262741a2de1" }, { "type": "route", "uuid": "cf3f7d85-ae08-4311-b117-0eca764e198b" }, { "type": "route", "uuid": "88342b75-957a-4f54-9bd0-62e3bd58ad43" } ] }