diff --git a/app-constants.js b/app-constants.js index f2ad10a3..d1b37094 100644 --- a/app-constants.js +++ b/app-constants.js @@ -47,6 +47,10 @@ const EVENT_ORIGINATOR = 'topcoder-challenges-api' const EVENT_MIME_TYPE = 'application/json' +const DiscussionTypes = { + Challenge: 'challenge' +} + // using a testing topc, should be changed to use real topics in comments when they are created const Topics = { ChallengeCreated: 'challenge.notification.create', @@ -85,5 +89,6 @@ module.exports = { EVENT_MIME_TYPE, Topics, challengeTracks, - challengeTextSortField + challengeTextSortField, + DiscussionTypes } diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 5abf2b5d..e1e14c8e 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -2219,6 +2219,28 @@ definitions: - $ref: '#/definitions/EventData' required: - id + Discussion: + type: object + properties: + id: + type: string + format: UUID + name: + type: string + type: + type: string + enum: + - challenge + provider: + type: string + url: + type: string + description: Only M2M tokens can modify this + options: + type: array + description: Only M2M tokens can modify this + items: + type: object TimelineTemplate: type: object allOf: @@ -2342,6 +2364,10 @@ definitions: type: string value: type: number + discussions: + type: array + items: + $ref: '#/definitions/Discussion' tags: type: array items: @@ -2655,6 +2681,10 @@ definitions: format: UUID duration: type: number + discussions: + type: array + items: + $ref: '#/definitions/Discussion' prizeSets: type: array items: diff --git a/docs/topcoder-challenge-api.postman_collection.json b/docs/topcoder-challenge-api.postman_collection.json index 40260b04..80b035d0 100644 --- a/docs/topcoder-challenge-api.postman_collection.json +++ b/docs/topcoder-challenge-api.postman_collection.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "e524e9d5-8bb9-4681-9f84-52fbdc54f18b", + "_postman_id": "c2013fad-553b-4d62-8dc1-d4b8ab5d0eb9", "name": "topcoder-challenge-api", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, @@ -20,7 +20,7 @@ { "listen": "test", "script": { - "id": "0209c4ef-65a3-473e-a21d-0ccefddd9674", + "id": "7a08125a-01e7-44c3-aa62-405bc976f9b7", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -72,7 +72,7 @@ { "listen": "test", "script": { - "id": "a2f59ffb-8a3d-4aed-a98f-bb8ed7337424", + "id": "0d8ce8aa-f82a-46e6-abde-13fbb2f44d43", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -124,7 +124,7 @@ { "listen": "test", "script": { - "id": "b8e5d65f-889e-4353-a624-627e5806c3a9", + "id": "7ffef649-ac8e-444c-aee2-f20a50f21255", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -176,7 +176,7 @@ { "listen": "test", "script": { - "id": "a1d31d61-dce0-4cd8-ab0a-a5a459523922", + "id": "e2ab732d-4ad1-4c65-bd84-5ea7779f97b0", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -228,7 +228,7 @@ { "listen": "test", "script": { - "id": "14ca9f55-260a-4420-acf4-fa44a7f5ba98", + "id": "2d9f397f-49cb-478e-a7c3-a51b508f7de1", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -275,6 +275,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -283,7 +284,7 @@ { "listen": "test", "script": { - "id": "8c47f730-3148-451b-97ff-922b23c07f74", + "id": "a0fb7435-3bba-437f-9c25-17adbb9fa755", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -335,7 +336,7 @@ { "listen": "test", "script": { - "id": "d2e2833a-cbea-45c7-b27a-7b2f4195d238", + "id": "080ab278-7673-406d-8d8d-9c64d5d59f11", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -387,7 +388,7 @@ { "listen": "test", "script": { - "id": "58c5af92-ff66-453a-bfc3-aad62e46e4cc", + "id": "66441f1b-9fd8-4109-b59b-32e453f0e58d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -439,7 +440,7 @@ { "listen": "test", "script": { - "id": "48c12cc6-ba82-49b7-b7f3-83db5abe7fb2", + "id": "cf0947f5-c7a5-4969-91f1-bf4e2a853a2d", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -490,7 +491,7 @@ { "listen": "test", "script": { - "id": "5300f785-7bbc-46ed-b3d3-792bddeff5d4", + "id": "32f404d2-80f2-4b00-b082-c3701954e6d2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -541,7 +542,7 @@ { "listen": "test", "script": { - "id": "9440f35d-5936-4930-8de0-63d8d7ca73ac", + "id": "b61b37f2-b56c-445e-8ca5-c2ca1b66f5a4", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -592,7 +593,7 @@ { "listen": "test", "script": { - "id": "49d9f67c-7950-4a74-bb31-81b532852c22", + "id": "edc46484-331e-4336-9c3c-e00b7b2a1d87", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -638,7 +639,7 @@ { "listen": "test", "script": { - "id": "d3f0b73c-c16e-4c17-8506-f3ff67118555", + "id": "012def73-b246-4867-bd1f-9765dd86bdfe", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -689,7 +690,7 @@ { "listen": "test", "script": { - "id": "64313020-4877-4989-a67a-fa240f559fb2", + "id": "ace99aba-b286-4b5a-bbcf-bc194ba0374c", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -740,7 +741,7 @@ { "listen": "test", "script": { - "id": "d1d841a5-5a83-4d62-9b60-0d3db7b09f6f", + "id": "883562de-c49e-4cb3-814f-4f4ea0d023a4", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -791,7 +792,7 @@ { "listen": "test", "script": { - "id": "4080fb9b-9d58-45a7-9029-43c2d82b372f", + "id": "042e39e0-da17-43de-9470-baf12c7b5e8f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(409);", @@ -842,7 +843,7 @@ { "listen": "test", "script": { - "id": "7347ed67-8182-4d86-b731-17fd0e588889", + "id": "4b6d1263-50ce-485d-9f61-19bc670deceb", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -894,7 +895,7 @@ { "listen": "test", "script": { - "id": "df3fd273-3094-46a8-b45d-3b8cbb36dfef", + "id": "5db0e656-9b71-493c-9425-4d7ce87c4adf", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(403);", @@ -940,6 +941,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -951,7 +953,7 @@ { "listen": "test", "script": { - "id": "bf408d3c-1d84-48a4-b6cc-456f173bcc7d", + "id": "c85567c4-bbd0-4cd6-b0ea-869a12044896", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -975,10 +977,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types?name=-name-&description=cri&isActive=true&abbreviation=abb&legacyId=123", "host": [ @@ -1019,7 +1017,7 @@ { "listen": "test", "script": { - "id": "919d8b4e-e00e-45ea-8693-c96a9191c831", + "id": "513ac17c-0c8a-41d2-be24-697999321ffe", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -1043,10 +1041,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types?isActive=true&page=2&perPage=2", "host": [ @@ -1079,7 +1073,7 @@ { "listen": "test", "script": { - "id": "3f2cd155-dac6-492a-9d40-72912ee10563", + "id": "2c908c06-8699-4f1c-b416-500a587def69", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1103,10 +1097,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types?invalid=test", "host": [ @@ -1131,7 +1121,7 @@ { "listen": "test", "script": { - "id": "65b89119-41dd-431f-8df3-c2c876159865", + "id": "e180c554-4917-44f8-82e1-703a81ab81ed", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1155,10 +1145,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types?isActive=test", "host": [ @@ -1183,7 +1169,7 @@ { "listen": "test", "script": { - "id": "87c81601-011b-49cb-8078-b91665dabd36", + "id": "8619763a-aa70-44c1-976a-9ddebab82ca2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1207,10 +1193,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types?legacyId=-5678", "host": [ @@ -1230,6 +1212,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -1241,7 +1224,7 @@ { "listen": "test", "script": { - "id": "b99f95c1-6c19-489b-970f-30b1721216f7", + "id": "220bb255-5539-462c-bd40-66058d08e17b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -1265,10 +1248,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types/{{TYPEA_ID}}", "host": [ @@ -1288,7 +1267,7 @@ { "listen": "test", "script": { - "id": "c79565bf-5580-4cd4-af1a-2c57e372bed1", + "id": "54874777-2db8-43ed-97ee-067a13d8579a", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -1312,10 +1291,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types/{{TYPEB_ID}}", "host": [ @@ -1335,7 +1310,7 @@ { "listen": "test", "script": { - "id": "4eb7f6dc-542b-4da9-ba69-40ee7d66844f", + "id": "473819e4-6d61-48d0-bd89-f56f1d6989be", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1359,10 +1334,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types/invalid-id", "host": [ @@ -1382,7 +1353,7 @@ { "listen": "test", "script": { - "id": "56eca8f8-5fa0-447c-bfdd-e6456168d601", + "id": "a5c9adb7-e4c1-46d5-a5f9-b6b32e2819d9", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -1406,10 +1377,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/Challenge-types/{{SETTINGA_ID}}", "host": [ @@ -1424,6 +1391,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -1435,7 +1403,7 @@ { "listen": "test", "script": { - "id": "16477033-3d17-4df4-aef5-c24a75721a68", + "id": "3bdfac69-c150-4516-9fa9-51bca67ab8be", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -1487,7 +1455,7 @@ { "listen": "test", "script": { - "id": "cd29be31-b4d8-4a72-96a8-4618e0e669fc", + "id": "8b5bce00-8c06-4238-a78c-c1b4247fe812", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -1539,7 +1507,7 @@ { "listen": "test", "script": { - "id": "adc7aba5-eeb5-49c1-b3c4-a921d484c73a", + "id": "64b6faaa-d787-4a2c-bed4-92672549e8c3", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1591,7 +1559,7 @@ { "listen": "test", "script": { - "id": "cabd374b-ddf2-4460-8dae-d3e19fc2c2a0", + "id": "ffc16da7-b705-4274-8443-768b4a2ac6f3", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1643,7 +1611,7 @@ { "listen": "test", "script": { - "id": "2aa37cac-7f71-4f15-8d17-2311606b67f2", + "id": "214fe702-41bf-4811-8648-ec0161df1f43", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1695,7 +1663,7 @@ { "listen": "test", "script": { - "id": "580cec06-e09e-443c-8024-88e0530abf47", + "id": "e58a0059-da79-4e04-a525-ad7c3f248bd2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1747,7 +1715,7 @@ { "listen": "test", "script": { - "id": "bdbcc2a0-face-4653-96a6-8092212d0be1", + "id": "29e4212f-7d35-4996-acef-9f6e7aa49503", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1799,7 +1767,7 @@ { "listen": "test", "script": { - "id": "c6c2263e-1d77-4258-a2f0-6786ca6496e6", + "id": "fde6742c-9dbe-4c4e-8022-a419d13a28c2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -1851,7 +1819,7 @@ { "listen": "test", "script": { - "id": "7f30adb3-ce05-4c02-8970-bc7e91e04119", + "id": "d4c947b3-e14b-43cf-a87d-bc3f4f0db273", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -1898,7 +1866,7 @@ { "listen": "test", "script": { - "id": "370166c3-c113-4434-bb39-abfe8c3777b8", + "id": "7bb060b0-2475-49bb-a3dc-4e16776e148b", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -1950,7 +1918,7 @@ { "listen": "test", "script": { - "id": "6be592c5-f7f5-4e27-bd4c-9cc841470d94", + "id": "0ddd26ca-a856-47fd-ada3-754076298290", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -2002,7 +1970,7 @@ { "listen": "test", "script": { - "id": "a00c07ba-a885-4986-bb2d-08fb857a354b", + "id": "e32413c8-313e-440b-8edc-31a08b9afdbb", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -2054,7 +2022,7 @@ { "listen": "test", "script": { - "id": "73cb8ff1-3111-4938-bd1c-b531edce7870", + "id": "4bfd4da5-6e83-4e46-9509-4367221fc28b", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -2106,7 +2074,7 @@ { "listen": "test", "script": { - "id": "51e61629-05e6-4ecd-9fe1-271619cf7c90", + "id": "d2e4a886-f33b-46d5-9756-0686f6b4ba77", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -2158,7 +2126,7 @@ { "listen": "test", "script": { - "id": "7e6c6727-7ccc-4cff-94a3-e7383a4f9e61", + "id": "7e7c80b4-b2d6-46eb-abdc-2e814ffeb3ce", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -2210,7 +2178,7 @@ { "listen": "test", "script": { - "id": "76d9a6ce-20fe-4f39-9748-487762493b50", + "id": "07967aa5-a50a-4ee4-a8c6-e6579983a104", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -2262,7 +2230,7 @@ { "listen": "test", "script": { - "id": "3b971e1b-c776-4fb9-80a1-a1e0ad2ce352", + "id": "832a81f8-9faa-41dd-acab-b8756bcb68ef", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -2314,7 +2282,7 @@ { "listen": "test", "script": { - "id": "35d00c0e-f428-4af3-beeb-1680638778cd", + "id": "08989332-af7d-45df-a5d2-8c1a01d443f0", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -2361,6 +2329,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -2372,7 +2341,7 @@ { "listen": "test", "script": { - "id": "a8063b34-e507-4304-b4f8-ffeaf428a09b", + "id": "0c6c4a55-24b8-410d-af31-46c2a205723d", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -2424,7 +2393,7 @@ { "listen": "test", "script": { - "id": "e69b2598-fd98-4f62-b1d9-4c7e34a05114", + "id": "b8e2c578-0e60-4b42-b90c-5221e2d7f3dc", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -2476,7 +2445,7 @@ { "listen": "test", "script": { - "id": "d4adfa46-0dfe-423f-949d-e91ac3fc9444", + "id": "a00d831c-3b6a-4bd3-b677-b615c02b79e5", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2528,7 +2497,7 @@ { "listen": "test", "script": { - "id": "0c65cff2-3555-4dbd-aa1c-f5689e439a3b", + "id": "5c16d05c-f49a-429b-9de5-0e8efc5072a0", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2580,7 +2549,7 @@ { "listen": "test", "script": { - "id": "c70ae928-de75-4e45-a985-c5d88b81fe45", + "id": "277953a4-c43d-4e1c-a6b8-e0a56db0a641", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2632,7 +2601,7 @@ { "listen": "test", "script": { - "id": "e528a442-e1df-49c7-9ad5-3a386f2fdc18", + "id": "82982e9a-f134-448a-a84a-9ac116801f3e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2684,7 +2653,7 @@ { "listen": "test", "script": { - "id": "8040ed8c-5cdb-43d2-b1a4-2f874d265fc4", + "id": "3a85398c-4734-4658-92ff-f0e4f538d679", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2736,7 +2705,7 @@ { "listen": "test", "script": { - "id": "05ae9871-f8a4-46ab-bb41-087cf50da936", + "id": "88e498f0-1a3e-4be4-8791-ad27e3e2fb94", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2788,7 +2757,7 @@ { "listen": "test", "script": { - "id": "c6aedb0e-0481-4803-8d43-4f4c3a68b354", + "id": "396b35e0-83dc-4287-ada4-c4dd98e162e2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2840,7 +2809,7 @@ { "listen": "test", "script": { - "id": "e695b7f2-b3ce-4b44-9a32-ae6f294a6287", + "id": "f70f659d-8a44-43ba-a10e-437efc141783", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2892,7 +2861,7 @@ { "listen": "test", "script": { - "id": "cc30c6a2-e2a8-4370-9b6a-18bdfdc4e1bc", + "id": "adf1ecde-a43c-46dd-b50c-951bb31c71de", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -2944,7 +2913,7 @@ { "listen": "test", "script": { - "id": "496dd266-6f8b-4e90-8019-674e633b5104", + "id": "fc2f3410-8175-4256-848d-dc4eb66c7be2", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -2991,7 +2960,7 @@ { "listen": "test", "script": { - "id": "b3413889-cc7d-4cbe-9a50-cbde5bea6d64", + "id": "8c57ce71-0e72-4474-8863-996bcdc845ed", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -3043,7 +3012,7 @@ { "listen": "test", "script": { - "id": "a7064d3d-b159-43c5-bcc2-3efe77db0465", + "id": "0eaedec4-8047-4720-85bb-4dc2b7a07190", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -3095,7 +3064,7 @@ { "listen": "test", "script": { - "id": "e326778c-3727-4901-835e-9b5fb424048a", + "id": "80faa98a-8186-4819-90a0-c7d7f898acc5", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -3147,7 +3116,7 @@ { "listen": "test", "script": { - "id": "f479d7f7-d62b-4d8d-8446-8d47f5abe16c", + "id": "cca01be3-a3f4-44f1-9728-ac4ba2fc52a1", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -3199,7 +3168,7 @@ { "listen": "test", "script": { - "id": "7103f6c5-4213-481a-a96e-8ad873321e21", + "id": "68cef737-5491-49c5-b112-7d3f3eaa4973", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -3251,7 +3220,7 @@ { "listen": "test", "script": { - "id": "78273cca-eb8c-462e-bc47-cabe002f670b", + "id": "41d5dc31-885b-45ce-aaf4-92d5b01de4d6", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -3303,7 +3272,7 @@ { "listen": "test", "script": { - "id": "548ab0b6-0ee3-464b-afd7-75fbbeb1e8f8", + "id": "071224f4-17e6-4886-8770-b97e652c7b30", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -3355,7 +3324,7 @@ { "listen": "test", "script": { - "id": "3b285868-28b8-4c18-8b48-31ed00a9604f", + "id": "e8a047c3-4685-4555-9651-686db91b2405", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -3407,7 +3376,7 @@ { "listen": "test", "script": { - "id": "7b05f69c-31d6-47f5-bc29-a6810d695e31", + "id": "7470e161-442f-443e-9eb2-5ead37c8bcc6", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -3454,9 +3423,11 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true } - ] + ], + "protocolProfileBehavior": {} }, { "name": "ChallengePhases", @@ -3470,7 +3441,7 @@ { "listen": "test", "script": { - "id": "7b220a86-b895-4f86-afe4-af1af537ff66", + "id": "76a78b5e-365a-4e97-8280-137bb672717c", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -3522,7 +3493,7 @@ { "listen": "test", "script": { - "id": "fcef019c-107a-4c47-bb13-a01ae7bae20e", + "id": "19bba8bd-588b-4859-ba96-1f5c39b45a1d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -3574,7 +3545,7 @@ { "listen": "test", "script": { - "id": "e45aaaeb-db2e-4150-b403-1af5a1b089a1", + "id": "bbdf45b2-3967-4551-83f0-df4fb765c7c5", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -3626,7 +3597,7 @@ { "listen": "test", "script": { - "id": "cb201f88-3c23-46cb-8a4e-6337511accc9", + "id": "12882ead-8cc3-471b-8653-10e877733de4", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -3678,7 +3649,7 @@ { "listen": "test", "script": { - "id": "d087f563-5752-41f2-851a-482ef4501906", + "id": "3fdfa49b-7fd6-4e48-a4f4-8602fff41625", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3730,7 +3701,7 @@ { "listen": "test", "script": { - "id": "6fb458c3-742c-4495-a27c-1ac7b20abe0b", + "id": "d372492a-bda9-43ad-8625-ed11139a9eec", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3782,7 +3753,7 @@ { "listen": "test", "script": { - "id": "1c0a830b-b81b-4a26-9725-011298e68c00", + "id": "d4d1d466-ff46-40c6-8076-098d04057195", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3834,7 +3805,7 @@ { "listen": "test", "script": { - "id": "3a70161d-c87c-4fbf-91a7-3bbf34dc3d1e", + "id": "913aeb48-1877-475e-b442-3107cbe5b51c", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3886,7 +3857,7 @@ { "listen": "test", "script": { - "id": "65ee9241-de44-4401-be4e-85d2703ac73e", + "id": "257ab831-e7f2-41eb-ab1e-bf1f9b3bd8a6", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3937,7 +3908,7 @@ { "listen": "test", "script": { - "id": "3fbc8475-71ed-461e-bc9a-4921b791ab43", + "id": "2dfef2ee-97a4-48f1-acea-4c42404d0697", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -3988,7 +3959,7 @@ { "listen": "test", "script": { - "id": "588f71bc-b2dc-45d0-83eb-72ab2bed5298", + "id": "456e268b-79e4-47ad-83ba-df4b0c428f0a", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -4039,7 +4010,7 @@ { "listen": "test", "script": { - "id": "665567fc-db97-4d74-a6f0-4582080b8f0a", + "id": "6712d002-6d70-4942-8e33-a5098b1ae8f4", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -4085,7 +4056,7 @@ { "listen": "test", "script": { - "id": "4146332f-75e0-48a4-be70-96f21cf8434b", + "id": "c75cd2e5-65dc-4250-9885-24d920ff5829", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -4136,7 +4107,7 @@ { "listen": "test", "script": { - "id": "60dbcb8c-9cc5-4a3d-9af2-59a9fe58916b", + "id": "6d34bf5e-af53-420a-bb0a-666818f2d3eb", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -4187,7 +4158,7 @@ { "listen": "test", "script": { - "id": "3fbf5a1e-19ff-40a3-9ed1-1b32f01710b5", + "id": "610c8b0b-6dd6-42c5-903a-2b7c6c4ce6f5", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -4238,7 +4209,7 @@ { "listen": "test", "script": { - "id": "0945ca48-2673-4083-bd7d-118268f28342", + "id": "725dbbb1-a364-44da-9c34-8089ff814037", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -4289,7 +4260,7 @@ { "listen": "test", "script": { - "id": "b19da9cd-20df-4dd9-bc44-38d0aa78e049", + "id": "2863893c-3222-46a7-8dd2-426bb55ee1dd", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -4341,7 +4312,7 @@ { "listen": "test", "script": { - "id": "dfceda1c-0fa1-4155-841b-103daf1c3fa9", + "id": "0e24f21d-c952-4a89-9028-3d320c0e545c", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -4387,6 +4358,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -4398,7 +4370,7 @@ { "listen": "test", "script": { - "id": "ea66b558-009e-4f26-a639-c65b7f034e03", + "id": "35a7a910-1ce1-4cf3-b7b1-e02d165b5b8d", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4427,10 +4399,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases?name=ph", "host": [ @@ -4455,7 +4423,7 @@ { "listen": "test", "script": { - "id": "0f82196c-2ada-45dc-b53c-846c7d97c6e2", + "id": "303b8ed8-7df8-418d-8eb7-23a9351e27ed", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4484,10 +4452,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases?name=ph&page=1&perPage=2", "host": [ @@ -4520,7 +4484,7 @@ { "listen": "test", "script": { - "id": "f827e4db-a763-4eae-8f6a-8c41c62c50db", + "id": "82abd971-e459-4c4f-834b-407af44edbcf", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4549,10 +4513,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases", "host": [ @@ -4571,7 +4531,7 @@ { "listen": "test", "script": { - "id": "7320687a-f15f-482e-9ab4-496198eb1137", + "id": "cbc302f5-f2da-48f7-9d86-0c14296cd4ee", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4595,10 +4555,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases", "host": [ @@ -4617,7 +4573,7 @@ { "listen": "test", "script": { - "id": "f579087c-5353-4764-930b-3ab030610065", + "id": "aea0bb1f-ab5e-4228-bc38-b9d83414452f", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4646,10 +4602,6 @@ "value": "Bearer {{m2m_challenge_phases_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases?name=ph", "host": [ @@ -4674,7 +4626,7 @@ { "listen": "test", "script": { - "id": "a68e1818-7183-488d-8248-3edf25058e82", + "id": "c54dbbca-ad57-4522-95ae-912b87c812c5", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -4703,10 +4655,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases?invalid=test", "host": [ @@ -4726,6 +4674,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -4737,7 +4686,7 @@ { "listen": "test", "script": { - "id": "0d484e56-3267-468d-8e86-5d9c0767e3c3", + "id": "800b83fe-1984-44e9-b7b1-7cc0a28f862b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4766,10 +4715,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEA_ID}}", "host": [ @@ -4789,7 +4734,7 @@ { "listen": "test", "script": { - "id": "816a0a2c-7245-4493-acc7-89aed0ce7e22", + "id": "5168d825-7521-4096-82ab-4a734c23d311", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -4818,10 +4763,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEB_ID}}", "host": [ @@ -4841,7 +4782,7 @@ { "listen": "test", "script": { - "id": "ca5c6ecd-7eee-4511-96f6-41b405c9bf89", + "id": "c2d4bdd9-e809-48e8-917b-1dc8f2ac173a", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -4870,10 +4811,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/invalid-id", "host": [ @@ -4893,7 +4830,7 @@ { "listen": "test", "script": { - "id": "ff0f9994-b207-4d4e-b23e-610733b55536", + "id": "601565ea-7a2a-4f72-a64f-2275a75ffc61", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -4917,10 +4854,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEB_ID}}", "host": [ @@ -4940,7 +4873,7 @@ { "listen": "test", "script": { - "id": "c3aa7675-a950-45fd-b443-750412b82bee", + "id": "62753907-b75f-4bc3-abd8-881dbff38635", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -4969,10 +4902,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEB_ID}}", "host": [ @@ -4992,7 +4921,7 @@ { "listen": "test", "script": { - "id": "89a97c42-ed5b-4366-bc5f-7a070d5df876", + "id": "83852399-c54a-412c-b9e4-90d9d5c44d5c", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -5021,10 +4950,6 @@ "value": "Bearer {{expire_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEB_ID}}", "host": [ @@ -5044,7 +4969,7 @@ { "listen": "test", "script": { - "id": "eeff4b8a-6d33-4387-b3a1-49702ccb822c", + "id": "857151a3-dd38-4b3f-9343-4297b249d118", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -5073,10 +4998,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{PHASEB_ID}}", "host": [ @@ -5096,7 +5017,7 @@ { "listen": "test", "script": { - "id": "32765f7b-9246-471b-a616-698f60b452c9", + "id": "55e251ed-2e2d-4434-b7c2-ed9c08c1097d", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -5125,10 +5046,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{TYPEA_ID}}", "host": [ @@ -5148,7 +5065,7 @@ { "listen": "test", "script": { - "id": "8293bafc-5cc1-4ed6-8f81-df81d3c1f360", + "id": "81940032-5691-4c98-92b9-af08c984895d", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -5177,10 +5094,6 @@ "value": "Bearer {{m2m_challenge_phases_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{TEST_PHASE_M2M_ID}}", "host": [ @@ -5200,7 +5113,7 @@ { "listen": "test", "script": { - "id": "90523aae-540e-4258-9279-a3040a8cc5d3", + "id": "45353bde-07f1-402d-acd0-1c59651e6ccb", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -5229,10 +5142,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-phases/{{TEST_PHASE_M2M_ID}}", "host": [ @@ -5247,6 +5156,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -5258,7 +5168,7 @@ { "listen": "test", "script": { - "id": "90a5d377-dae8-428e-a355-7fa892b958cf", + "id": "c258e242-20b7-4866-b671-baa3224e8e9e", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -5310,7 +5220,7 @@ { "listen": "test", "script": { - "id": "29b8a827-828e-47de-8928-19443a5b8cde", + "id": "a97031d8-48c9-499a-b859-c76a467a2df5", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -5362,7 +5272,7 @@ { "listen": "test", "script": { - "id": "e2b59d70-56a9-41e5-9b5f-92c1a3466a9e", + "id": "2abba223-a259-43ad-a5c2-dfec9d3270fe", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -5414,7 +5324,7 @@ { "listen": "test", "script": { - "id": "203cfdf2-bd49-4d2f-935b-925d867bb99b", + "id": "a66fa06c-0733-4bc4-9c79-7d7946a2bc7d", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -5466,7 +5376,7 @@ { "listen": "test", "script": { - "id": "0dc128e9-f52b-4640-aa90-5f57d781b3e4", + "id": "039329cc-a1fd-4e10-9631-2a7b65b3706e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -5518,7 +5428,7 @@ { "listen": "test", "script": { - "id": "6603fd94-5532-4fc8-b090-1dc2872a3ce3", + "id": "3640a4e7-028c-41ee-ae7a-959678a86a21", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -5570,7 +5480,7 @@ { "listen": "test", "script": { - "id": "f038e131-aafe-451b-ba69-534166204018", + "id": "52e65c25-b252-4f93-abbb-ea8558097224", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -5622,7 +5532,7 @@ { "listen": "test", "script": { - "id": "02719b40-f5f2-4e7a-9ec6-df6b6634d3ac", + "id": "9c2978ae-9df1-4f67-bd8c-cff3936afd71", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -5674,7 +5584,7 @@ { "listen": "test", "script": { - "id": "8d879af9-dd08-4426-abbd-1cc9300338b3", + "id": "22fdc6b0-918f-4367-b757-0d960d9a31a3", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -5721,7 +5631,7 @@ { "listen": "test", "script": { - "id": "de424fda-bf28-475a-ad97-16064998aa20", + "id": "1cca76dd-a70d-4055-8289-495161dfc3c1", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -5773,7 +5683,7 @@ { "listen": "test", "script": { - "id": "3a84e126-03db-41a3-8e12-6eba2e16c201", + "id": "949210a3-f13d-40bb-8074-c6f9ce9f37bd", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -5825,7 +5735,7 @@ { "listen": "test", "script": { - "id": "ed5008d8-f88c-4c1f-9c53-b224ce4c5396", + "id": "c6b8a0c9-8598-441b-8b96-a1af912eb798", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -5877,7 +5787,7 @@ { "listen": "test", "script": { - "id": "76861e3f-36bd-4b72-a521-a09cf6278ea8", + "id": "d696f6f0-0461-4729-b0ea-ca400bd11724", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -5929,7 +5839,7 @@ { "listen": "test", "script": { - "id": "86a09dc5-38a7-4f7b-855e-30ae74a894fc", + "id": "f8a069c2-16cc-4bd3-84b1-e6ac8f31d8f8", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -5981,7 +5891,7 @@ { "listen": "test", "script": { - "id": "ff8f36b4-c97e-420b-bca1-724cb43bfce8", + "id": "b416db9f-43e5-45ed-b8e8-a743fdf72cf9", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -6028,6 +5938,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -6039,7 +5950,7 @@ { "listen": "test", "script": { - "id": "53f7fce0-4f7b-488e-840b-7a6cd8fcc3a4", + "id": "63184fc8-43fe-4f50-9c45-fa487064c373", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -6091,7 +6002,7 @@ { "listen": "test", "script": { - "id": "a0311fd4-9a47-4c8d-9bef-f8b1086f49c6", + "id": "199cabe7-6f31-42b6-bad4-184447eb8157", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -6143,7 +6054,7 @@ { "listen": "test", "script": { - "id": "a62853da-d58e-4845-8dc9-766d7b8caf96", + "id": "58063812-975a-41e7-a322-07e335a8ce4e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -6195,7 +6106,7 @@ { "listen": "test", "script": { - "id": "19c77995-54b5-41df-8e6b-dc3ca9043eb8", + "id": "2474977f-70a7-457a-970f-6721acfb84e5", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -6247,7 +6158,7 @@ { "listen": "test", "script": { - "id": "c8e22ed3-fd56-4009-a121-810602d362a9", + "id": "dfd172da-d2fc-4730-bb5f-d2c3d8a0cb0f", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -6299,7 +6210,7 @@ { "listen": "test", "script": { - "id": "29f226da-98fd-43c7-bbd4-37e232cc98da", + "id": "4e15f708-fa0c-42b8-8d33-4dafcc0baaab", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -6346,7 +6257,7 @@ { "listen": "test", "script": { - "id": "a1d69e26-7767-47c5-aa8d-4e2e07c59d8b", + "id": "99e8dfe1-c27a-435a-a543-b95f0a029042", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -6398,7 +6309,7 @@ { "listen": "test", "script": { - "id": "a50718aa-ea5a-4ada-9c1d-e65f64cd51f2", + "id": "bd962821-4170-47b9-932e-1d8db6482479", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -6450,7 +6361,7 @@ { "listen": "test", "script": { - "id": "b58a3724-77f1-4fd5-97fd-7edcac01c08f", + "id": "43cc6f46-2667-46da-a4bd-cca79d3dd231", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -6502,7 +6413,7 @@ { "listen": "test", "script": { - "id": "91e5aad2-f6b6-40a7-8224-0630b2253f26", + "id": "773249fd-c549-4dd1-a9d8-05fd93a97ab5", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -6554,7 +6465,7 @@ { "listen": "test", "script": { - "id": "662ec232-531a-45ba-912d-c47cd819b8e3", + "id": "18908ee4-fae6-4b67-b300-399d491f3e49", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -6601,6 +6512,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -6612,7 +6524,7 @@ { "listen": "test", "script": { - "id": "0a8be77d-5c1f-4a7d-b981-3166518d0923", + "id": "5ad7cc08-515d-41fa-afeb-80607649f365", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -6664,7 +6576,7 @@ { "listen": "test", "script": { - "id": "bbf84e8f-6c7d-44b1-b71c-ef1562a4f110", + "id": "55a657a5-e998-499d-9d09-50e56c355a14", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -6716,7 +6628,7 @@ { "listen": "test", "script": { - "id": "42f56466-8064-48c1-a0cc-e0d086c89d0d", + "id": "7984cbfd-f32f-4532-9c77-201b57243e68", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -6763,7 +6675,7 @@ { "listen": "test", "script": { - "id": "abdcb842-5cce-4413-907f-86adaa83712b", + "id": "241be255-22aa-407f-a285-6fb714f4a730", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -6815,7 +6727,7 @@ { "listen": "test", "script": { - "id": "411117c0-0fad-4097-9fc8-06668af6f084", + "id": "478ce90c-5999-4749-a54a-f001b8c25694", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -6867,7 +6779,7 @@ { "listen": "test", "script": { - "id": "99abbdab-6f21-4a83-b164-818feb481ba6", + "id": "4eae7fa3-ecbd-4f19-bff3-3fd82aed19ba", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -6919,7 +6831,7 @@ { "listen": "test", "script": { - "id": "ec8c6b07-ae14-4212-91dd-00d44b90ee8b", + "id": "9cc63404-ab89-46d8-a290-f9a34b9287c4", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -6971,7 +6883,7 @@ { "listen": "test", "script": { - "id": "2146dae1-8aa8-4631-bb2a-d6324ad74729", + "id": "d697b7b7-9b8a-4140-b7d0-3d3447e33f16", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -7023,7 +6935,7 @@ { "listen": "test", "script": { - "id": "e19fef10-4698-4bfb-ade8-5db39738c628", + "id": "33ffaf03-275d-4c87-bdd2-e448b9c313fc", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -7070,9 +6982,11 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true } - ] + ], + "protocolProfileBehavior": {} }, { "name": "TimelineTemplates", @@ -7086,7 +7000,7 @@ { "listen": "test", "script": { - "id": "63fd3023-7a1a-4386-b034-2a6bdaa71bf8", + "id": "356f9de3-226b-44f7-9dba-8e646ed88c35", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -7138,7 +7052,7 @@ { "listen": "test", "script": { - "id": "00cdb879-75de-44d6-a0a3-4c8bd1785486", + "id": "1b2fe183-5e7a-4c7e-baa4-1bf6c520af90", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -7190,7 +7104,7 @@ { "listen": "test", "script": { - "id": "c69b5e84-181f-4b99-bcc4-230a3c44deb1", + "id": "9a49a86f-029d-4b2e-978f-79c5aea6ec53", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -7242,7 +7156,7 @@ { "listen": "test", "script": { - "id": "226281a2-ec80-4982-b681-fd6cca51827b", + "id": "e6787c0b-6b17-4dc0-a513-878c72ba3dd0", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7293,7 +7207,7 @@ { "listen": "test", "script": { - "id": "d5c662d0-b3ba-449a-937d-5a3b07f3368a", + "id": "68304e02-d7cd-445d-810c-b829ac917434", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7344,7 +7258,7 @@ { "listen": "test", "script": { - "id": "8bbdf502-629f-49c6-b241-ec91607f7f2e", + "id": "92ea75aa-3dab-4785-a3f2-2da110d8add9", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7395,7 +7309,7 @@ { "listen": "test", "script": { - "id": "94cfc7d2-9fd3-44ca-9cf4-da2ff80824d3", + "id": "8f107b55-cbc5-4953-b529-3182d7326633", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7446,7 +7360,7 @@ { "listen": "test", "script": { - "id": "97fb1c6f-3e6c-4d87-8e8f-6f84d08a8f29", + "id": "cc3a9dbf-3c97-4500-94d3-b9e614996783", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7497,7 +7411,7 @@ { "listen": "test", "script": { - "id": "aebb7309-950e-496c-b2ed-04617737f781", + "id": "a63d2b91-34dd-437b-9672-e34a838f4220", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7548,7 +7462,7 @@ { "listen": "test", "script": { - "id": "988ff420-2f85-4af3-a6bc-13354d64423a", + "id": "63eace08-a075-4ce6-a532-bba560fa749f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -7599,7 +7513,7 @@ { "listen": "test", "script": { - "id": "ad136bfd-6de3-4269-b022-cc631dbd64df", + "id": "93a4ad24-91a8-4224-8f75-f546353a4f48", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -7645,7 +7559,7 @@ { "listen": "test", "script": { - "id": "097bd79c-ec3a-4a54-91b2-df383f5d4377", + "id": "022d148e-240e-46f6-b566-10065cac456b", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -7696,7 +7610,7 @@ { "listen": "test", "script": { - "id": "cdae5d38-1e77-4254-a201-0af814c5af67", + "id": "4c9862c2-489d-4d95-a44f-40dee06b79e5", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -7747,7 +7661,7 @@ { "listen": "test", "script": { - "id": "af4524d3-b2e2-4e8e-97ed-04b4c41edb29", + "id": "7460af74-20d3-4bcb-9877-a2802f71ea48", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -7798,7 +7712,7 @@ { "listen": "test", "script": { - "id": "53ec64e0-94f6-489d-8602-8f0a230f2427", + "id": "997e7a7e-652e-41f8-a790-ca729fcd3947", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -7849,7 +7763,7 @@ { "listen": "test", "script": { - "id": "bbe4522b-36ae-4a56-96dd-17b95f9d18ce", + "id": "fb25f0bc-70ad-45cb-b7cd-460baf9050a5", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -7901,7 +7815,7 @@ { "listen": "test", "script": { - "id": "efb08905-364a-435c-a7b1-0fac80104d43", + "id": "cceff0f6-0fec-4b56-a111-9c8704a9fa80", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -7947,6 +7861,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -7958,7 +7873,7 @@ { "listen": "test", "script": { - "id": "9aac4340-1864-40c8-a63c-7a23758e7676", + "id": "0704ea77-53e2-4974-aed7-d9ad8e22878a", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -7987,10 +7902,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates?name=1", "host": [ @@ -8015,7 +7926,7 @@ { "listen": "test", "script": { - "id": "47d4c7f3-b2d0-420b-adce-1c4419d37fcf", + "id": "ef637b83-e73c-46bf-a3c2-17cda7033082", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8044,10 +7955,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates?page=1&perPage=2", "host": [ @@ -8076,7 +7983,7 @@ { "listen": "test", "script": { - "id": "237afd9a-270e-424f-88ec-26daeb10bc3a", + "id": "7c873833-172f-4322-8baa-5fcf979af997", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8105,10 +8012,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates?name=LA", "host": [ @@ -8133,7 +8036,7 @@ { "listen": "test", "script": { - "id": "8cec9ff8-4359-4501-a1c8-ba3779931dac", + "id": "57aff363-e4c6-42ae-a054-7a858d443725", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -8162,10 +8065,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates?invalid=test", "host": [ @@ -8185,6 +8084,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -8196,7 +8096,7 @@ { "listen": "test", "script": { - "id": "5806e5bc-3885-4fe7-a68d-e061f4019230", + "id": "2125bd63-0401-44ed-8cc8-13a472614b6c", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8225,10 +8125,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEA_ID}}", "host": [ @@ -8248,7 +8144,7 @@ { "listen": "test", "script": { - "id": "0651bb58-87db-4ace-bd5e-16d9b45daead", + "id": "22cc05c4-d6ec-4274-aa46-b97b52277d9d", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8277,10 +8173,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEB_ID}}", "host": [ @@ -8300,7 +8192,7 @@ { "listen": "test", "script": { - "id": "4cf66fc2-d6c0-4509-b517-ab480ae6dea8", + "id": "7da07fe3-de8f-4494-8dc0-2d73904191a1", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -8329,10 +8221,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/invalid-id", "host": [ @@ -8352,7 +8240,7 @@ { "listen": "test", "script": { - "id": "3215a471-758d-473c-a5db-5a675a7e5a88", + "id": "09f55d8e-8752-427a-871b-34859ad58478", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -8381,10 +8269,6 @@ "value": "Bearer {{expire_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEA_ID}}", "host": [ @@ -8404,7 +8288,7 @@ { "listen": "test", "script": { - "id": "978dd10e-2c96-4c82-8bf8-647fd4518fc2", + "id": "5fbd7e16-3b88-480e-9521-59fd05c4b252", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -8433,10 +8317,6 @@ "value": "Bearer invalid" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEA_ID}}", "host": [ @@ -8456,7 +8336,7 @@ { "listen": "test", "script": { - "id": "a8bb4f20-237b-4c19-95ac-a19c325b3461", + "id": "310b0c9c-5c10-4599-a91e-a851264ceb68", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -8480,10 +8360,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEA_ID}}", "host": [ @@ -8503,7 +8379,7 @@ { "listen": "test", "script": { - "id": "7518c53d-05a6-4b8b-8767-ad3909c6a1b0", + "id": "e787705e-072f-46e6-943c-18dfcea4211b", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -8532,10 +8408,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEMPLATEA_ID}}", "host": [ @@ -8555,7 +8427,7 @@ { "listen": "test", "script": { - "id": "36ae97b7-50b2-4172-af75-9f2cf16fd022", + "id": "d7114e40-418e-40c6-b6c9-e5af54afab19", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -8584,10 +8456,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{SETTINGA_ID}}", "host": [ @@ -8607,7 +8475,7 @@ { "listen": "test", "script": { - "id": "edf9a9e7-36bd-4e69-aa40-70f8d105bfc4", + "id": "191a7937-5ddb-4d4c-8e53-0771b838b40b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8636,10 +8504,6 @@ "value": "Bearer {{m2m_timeline_templates_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEST_TEMPLATE_M2M_ID}}", "host": [ @@ -8659,7 +8523,7 @@ { "listen": "test", "script": { - "id": "7d3f2188-baf9-4d24-bdbd-fe76cfe11083", + "id": "029e29ad-d67d-4534-a240-0fb61f76eddd", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -8688,10 +8552,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/timeline-templates/{{TEST_TEMPLATE_M2M_ID}}", "host": [ @@ -8706,6 +8566,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -8717,7 +8578,7 @@ { "listen": "test", "script": { - "id": "31a1d032-3d2b-4583-9ce7-c639de024f28", + "id": "b981fbf8-7fc9-4dd3-a857-8ae42724940b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8769,7 +8630,7 @@ { "listen": "test", "script": { - "id": "97baa65c-accc-41b4-8bb1-4e734103aa14", + "id": "0f653b74-1644-4c89-a3f2-359b677a0b41", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -8821,7 +8682,7 @@ { "listen": "test", "script": { - "id": "ba6c5547-a4a5-4a12-ab05-8fcaccb14a51", + "id": "9d1ebc59-cfdc-467f-8aab-d12d44cc2087", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -8873,7 +8734,7 @@ { "listen": "test", "script": { - "id": "7cb5e421-faac-4454-9299-4df3b2d04b32", + "id": "b0b8891a-402e-4b67-8083-eac8b0cdd403", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -8925,7 +8786,7 @@ { "listen": "test", "script": { - "id": "8ece48c3-9e8a-4032-a848-faeb61e8e18a", + "id": "a95c2bd4-0fd6-4a66-8fee-08eacdb070b8", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -8977,7 +8838,7 @@ { "listen": "test", "script": { - "id": "87038ceb-95d5-4a66-a625-80489fcf33d0", + "id": "9a0b3b78-bf8f-4c77-a641-bac47ce11ba4", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9029,7 +8890,7 @@ { "listen": "test", "script": { - "id": "ec00a4ab-9ff7-4293-9a4e-c73e6b4dbf4a", + "id": "ee943d15-195b-443c-ab38-735d549778e7", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -9081,7 +8942,7 @@ { "listen": "test", "script": { - "id": "ca4e2dd9-6d32-479c-aaa1-d3c79d3a5706", + "id": "a4cc655d-93e4-4ca1-9159-2bd5656deab6", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -9128,7 +8989,7 @@ { "listen": "test", "script": { - "id": "84603b76-04ee-411d-a8e6-ade4759daeb8", + "id": "03a4ab67-abbc-4512-8c8e-572946b2cf88", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -9180,7 +9041,7 @@ { "listen": "test", "script": { - "id": "a8c18a1b-df21-4120-83d2-25a2fb5c789c", + "id": "9c94ff10-cee6-429e-a2e8-d9d6696ea074", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -9232,7 +9093,7 @@ { "listen": "test", "script": { - "id": "669ef04e-119e-4809-a4e1-6765ac0d1977", + "id": "f0feb631-8e8e-413e-acfe-70555052e3fc", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -9284,7 +9145,7 @@ { "listen": "test", "script": { - "id": "cced5f98-c2a9-4f99-bc58-f4cb3a59301e", + "id": "615eeff4-3298-4abb-a1c6-d9200f529475", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -9336,7 +9197,7 @@ { "listen": "test", "script": { - "id": "2f20e52a-c62f-4fa2-b05d-8baa380c8119", + "id": "5612ac90-c5ab-453e-bde7-27792a10f363", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -9388,7 +9249,7 @@ { "listen": "test", "script": { - "id": "861555ef-39dd-4c48-9437-df2dd2046e92", + "id": "919a6c07-4946-4838-82e9-4f86bc97fb5a", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -9435,6 +9296,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -9446,7 +9308,7 @@ { "listen": "test", "script": { - "id": "63201fce-3ca7-4da7-8eb9-b6ffd4d3759e", + "id": "134f091c-60fb-4492-b32c-43f603f30142", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -9498,7 +9360,7 @@ { "listen": "test", "script": { - "id": "2414d516-c20a-49d3-b4bc-d97348b4c5e9", + "id": "6ae2f4b9-91c3-4568-9d3d-8464d76f7891", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -9550,7 +9412,7 @@ { "listen": "test", "script": { - "id": "76e93c2e-52ec-4072-992f-12eef64c667f", + "id": "23120e86-72ad-438e-b984-c65154858213", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9602,7 +9464,7 @@ { "listen": "test", "script": { - "id": "d62731b2-aa64-41b5-a057-e5c8fd5c4595", + "id": "35a076e7-3060-4421-805b-a0cc5d1e9b53", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9654,7 +9516,7 @@ { "listen": "test", "script": { - "id": "c7088f9e-f0d1-4a0f-8198-16d0a1fb7ea9", + "id": "7d95252a-ee5c-4d27-a858-7650c54a947e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9706,7 +9568,7 @@ { "listen": "test", "script": { - "id": "915d33b5-b663-418c-9202-8109fde7f43d", + "id": "1a6d9763-308b-46cf-892f-398d8ec91432", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9758,7 +9620,7 @@ { "listen": "test", "script": { - "id": "6da7c4f3-52d9-4199-bb9f-3a2fcb11f4ea", + "id": "2ee727ad-79cd-4945-b8a7-4dddfee4faef", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9810,7 +9672,7 @@ { "listen": "test", "script": { - "id": "ec99b4e7-9f21-432d-a4e1-bf018409cc3e", + "id": "82299ba6-bb4e-4b40-b92f-645081288299", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9862,7 +9724,7 @@ { "listen": "test", "script": { - "id": "f1451112-24b7-43ca-8dd3-655d8a805aa6", + "id": "ce9a17fd-c097-4b0c-a0c1-076f459e6dbb", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9914,7 +9776,7 @@ { "listen": "test", "script": { - "id": "c812e802-9b04-46fd-8a74-7bd2cf58b4b2", + "id": "a742664e-0780-4274-a408-209b8df3d872", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -9966,7 +9828,7 @@ { "listen": "test", "script": { - "id": "937727f7-5d99-4b1e-9982-1737d869666c", + "id": "4e0020a0-7f25-4eaa-a2fa-cc12caa49a14", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10018,7 +9880,7 @@ { "listen": "test", "script": { - "id": "f1c9d1fa-ae59-4a58-bd23-d6c55535129c", + "id": "f67e21ea-5b37-49a3-811f-cd04ef23c0d1", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10065,7 +9927,7 @@ { "listen": "test", "script": { - "id": "413ca20c-17d5-4523-bc3f-63e2972587c5", + "id": "8fe9916d-e670-4e82-908a-70de3fc8a195", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10117,7 +9979,7 @@ { "listen": "test", "script": { - "id": "fd562862-a2cd-4503-9040-df06c885db61", + "id": "0ea1eeaf-55f9-4392-8a4b-fa000573ac4d", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -10169,7 +10031,7 @@ { "listen": "test", "script": { - "id": "a58aa5c2-95c7-4fc9-a6d5-db22c146c239", + "id": "44b45e51-abe6-4734-b653-2bd839361b1d", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -10221,7 +10083,7 @@ { "listen": "test", "script": { - "id": "8eecf857-73bd-47ca-90b1-9815ec83547c", + "id": "db72d7df-411e-4cf5-8793-519bf46a02f4", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -10273,7 +10135,7 @@ { "listen": "test", "script": { - "id": "8dccc782-0cc0-4b3e-9387-aef6ee63907e", + "id": "68ef880d-e2a5-4e5e-8bd2-912322fdb998", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -10325,7 +10187,7 @@ { "listen": "test", "script": { - "id": "23c19be6-d8e2-4920-a064-a427bf9c3556", + "id": "44254db7-e8a1-4daf-8dc0-597b7143af40", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -10372,6 +10234,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -10383,7 +10246,7 @@ { "listen": "test", "script": { - "id": "493a6a5c-bc28-45a3-be82-69995e7612bd", + "id": "418e2504-291f-4e1a-89c2-ae9ec157c1b5", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -10435,7 +10298,7 @@ { "listen": "test", "script": { - "id": "6fa05a6f-819f-4938-a320-7b051f95c4b2", + "id": "46c447ce-ef99-4387-90cf-9ddaf487fb03", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -10487,7 +10350,7 @@ { "listen": "test", "script": { - "id": "d3eed94a-b04c-4ba0-b30e-feaa35fb678c", + "id": "3d5d6707-2cdf-46bb-8e17-23e92a1a2edc", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10534,7 +10397,7 @@ { "listen": "test", "script": { - "id": "af4ab658-2bdf-4c5b-81d9-3ca3289fcf43", + "id": "7775c690-277e-4cd6-a7a2-870d07f9a075", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10586,7 +10449,7 @@ { "listen": "test", "script": { - "id": "e5d95259-d9ee-4bd3-92b5-68d209e7be11", + "id": "ad758e15-21a5-4226-9bb7-2fa3eab4138a", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -10638,7 +10501,7 @@ { "listen": "test", "script": { - "id": "ed308fd1-41e8-438f-8a47-5763ed7f3c73", + "id": "1c14a472-ba44-4520-9697-6bca00df5dd3", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -10690,7 +10553,7 @@ { "listen": "test", "script": { - "id": "00923265-8d52-4e5d-be4f-01af8fe762e9", + "id": "9b8b8072-7a3c-4c95-a886-0fe8904a155e", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -10742,7 +10605,7 @@ { "listen": "test", "script": { - "id": "d53f85bd-4b2d-4cf8-9406-0aa3cea35299", + "id": "01611123-2216-4e76-98ae-272dd0611fad", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -10794,7 +10657,7 @@ { "listen": "test", "script": { - "id": "09c824c0-0e11-4963-bcba-79b4bcfa4029", + "id": "89e74c8d-bf01-46cc-9504-b827df39fa2e", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -10841,9 +10704,11 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true } - ] + ], + "protocolProfileBehavior": {} }, { "name": "ChallengeTypetimeline-templates", @@ -10857,7 +10722,7 @@ { "listen": "test", "script": { - "id": "e6722696-b4fc-4259-90a3-5138038ab1bd", + "id": "c7379e76-4f49-4cfa-96d6-51627c185205", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -10909,7 +10774,7 @@ { "listen": "test", "script": { - "id": "e1823078-8af0-4fa4-9e36-955b972300e6", + "id": "9c1d08e5-5fe5-4584-8435-e2e9ea389ade", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -10960,7 +10825,7 @@ { "listen": "test", "script": { - "id": "03dbba40-e676-4006-a148-5330d9e8f665", + "id": "2f9f31f6-7d25-453f-a0ec-b894516e8a8f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11011,7 +10876,7 @@ { "listen": "test", "script": { - "id": "91d5d814-3d87-40fa-bd87-808ccd08e5c1", + "id": "30429989-82bd-4fb6-bf74-178e59e12f31", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11062,7 +10927,7 @@ { "listen": "test", "script": { - "id": "35baa4e0-872f-4e7f-8ee2-cb7304b64984", + "id": "7835e224-7e63-44aa-9038-229971714f06", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11113,7 +10978,7 @@ { "listen": "test", "script": { - "id": "95e2928b-552b-457f-9ff7-890eb0ac4ef5", + "id": "80ef1ef5-0ce7-4564-ab3f-656fea1e824b", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11164,7 +11029,7 @@ { "listen": "test", "script": { - "id": "57ad6e4f-42ef-41c8-81be-e442a7ce073d", + "id": "cce21a35-bb71-4444-9dfb-cee8a440b3f2", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -11215,7 +11080,7 @@ { "listen": "test", "script": { - "id": "0809eab7-c101-485c-bd9a-351d0404a129", + "id": "8c9ca86f-1ab0-4a63-bc74-a4a693ecf364", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -11266,7 +11131,7 @@ { "listen": "test", "script": { - "id": "f1f67b23-1bc7-4ee9-abfa-cde2ce48a98a", + "id": "437739a9-b42e-4201-897f-7acb0a499527", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -11317,7 +11182,7 @@ { "listen": "test", "script": { - "id": "06464b82-8320-428a-b0fd-3eb985efd22c", + "id": "cf2c960e-04a9-4e29-84dc-10e9c2948a35", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -11363,7 +11228,7 @@ { "listen": "test", "script": { - "id": "fffaf5e2-56e5-4e85-90f9-585cc2b1af79", + "id": "24fdb396-e5c3-426a-817a-5a438777ad54", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -11414,7 +11279,7 @@ { "listen": "test", "script": { - "id": "61bdcf9a-29c6-45eb-a988-1ffc5ac31e26", + "id": "0b7bcd9e-fea6-447a-8c06-b3db7da413ed", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -11465,7 +11330,7 @@ { "listen": "test", "script": { - "id": "c02d141f-8d81-4389-94ac-4388ab622cfb", + "id": "8017dd22-fe43-4c00-bf2c-8ca341d52f81", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -11516,7 +11381,7 @@ { "listen": "test", "script": { - "id": "e71e7a1c-3965-4055-952a-9c28dac0c7da", + "id": "1d458139-7f83-4676-a650-0e900c035f82", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -11566,7 +11431,7 @@ { "listen": "prerequest", "script": { - "id": "1cd67cc4-6117-44c2-8232-a8a9f9f1d976", + "id": "b417844c-52e2-4549-8fbf-3be3f34f1695", "type": "text/javascript", "exec": [ "" @@ -11576,7 +11441,7 @@ { "listen": "test", "script": { - "id": "3b822c45-8128-4f01-995e-da2db0647245", + "id": "3a989eb9-dca5-4da2-b465-d2b621908965", "type": "text/javascript", "exec": [ "" @@ -11584,6 +11449,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -11595,7 +11461,7 @@ { "listen": "test", "script": { - "id": "7fe186ca-c338-4980-9d44-edf2d3f89ef8", + "id": "99655516-83e0-4e9e-8e63-36b2caaa41d3", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -11624,10 +11490,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines?typeId={{TYPEA_ID}}&timelineTemplateId={{TEMPLATEA_ID}}", "host": [ @@ -11656,7 +11518,7 @@ { "listen": "test", "script": { - "id": "a0d42b0b-bb95-4acd-9b4d-8d02fb35184f", + "id": "e0954854-8c18-4076-8745-36e275b95ba0", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -11685,10 +11547,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines?typeId={{TYPEA_ID}}&timelineTemplateId={{TEMPLATEA_ID}}", "host": [ @@ -11717,7 +11575,7 @@ { "listen": "test", "script": { - "id": "2794658a-0a4c-4497-9da8-8e26c3ecbab5", + "id": "5c5b2ce2-199e-4337-8e6e-44788085ca78", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11746,10 +11604,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines?other={{TYPEA_ID}}", "host": [ @@ -11779,7 +11633,7 @@ { "listen": "test", "script": { - "id": "ba237340-4e0a-478a-ab08-623f0952c138", + "id": "30051dbb-df1f-455a-b0aa-ee480c88ad25", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11808,10 +11662,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines?typeId=123", "host": [ @@ -11836,7 +11686,7 @@ { "listen": "test", "script": { - "id": "3c6ea9d2-4883-4a6e-891d-405efa724bb6", + "id": "3ebe1be9-6888-4f6b-9d6b-fce29facf6f6", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -11865,10 +11715,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines?timelineTemplateId=12321", "host": [ @@ -11892,7 +11738,7 @@ { "listen": "prerequest", "script": { - "id": "51531e89-ba6d-4a38-bcfb-990375a68448", + "id": "631844eb-dcfa-4c8c-85bd-8d32a5e9f45e", "type": "text/javascript", "exec": [ "" @@ -11902,7 +11748,7 @@ { "listen": "test", "script": { - "id": "f0faea7b-155a-4a34-9f9e-4f04650d30be", + "id": "3c580718-571d-401e-8fb4-7852def6ec3d", "type": "text/javascript", "exec": [ "" @@ -11910,6 +11756,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -11921,7 +11768,7 @@ { "listen": "test", "script": { - "id": "e14f85b9-4af8-4015-a8ce-4eb505d45d49", + "id": "b618ed94-00c6-4328-b1e2-c560f4d15200", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -11950,10 +11797,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -11973,7 +11816,7 @@ { "listen": "test", "script": { - "id": "afca63fb-940d-417e-9f6d-7c32b1f76288", + "id": "acfef251-a594-4dfc-b8b4-81397a966fda", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -12002,10 +11845,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12025,7 +11864,7 @@ { "listen": "test", "script": { - "id": "c19dd2f2-f998-408b-8c3d-a7ea27484f63", + "id": "3f7f2b97-eba8-40a9-af4d-2cf86faecd2d", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -12054,10 +11893,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12077,7 +11912,7 @@ { "listen": "test", "script": { - "id": "46f22d29-fe95-4fc3-8a13-0394fe78bd68", + "id": "b617cb1a-565b-4861-9ed0-3cc572895567", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -12106,10 +11941,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12129,7 +11960,7 @@ { "listen": "test", "script": { - "id": "538976c5-ade1-4061-85ac-8dbf6d652531", + "id": "115e3f2f-f566-4271-9546-5084490a1d87", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12158,10 +11989,6 @@ "value": "Bearer {{expire_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12181,7 +12008,7 @@ { "listen": "test", "script": { - "id": "f267a6a8-1ff3-449f-a5e8-908609250078", + "id": "e6b58cbd-4720-4137-ab53-af1c7edc4f17", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12210,10 +12037,6 @@ "value": "Bearer invalid" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12233,7 +12056,7 @@ { "listen": "test", "script": { - "id": "0289ffeb-19c4-4002-9580-44b69f457638", + "id": "3c459642-2794-4411-a9e7-a49e933dc6b9", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12257,10 +12080,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{TYPE_TEMPLATEA_ID}}", "host": [ @@ -12280,7 +12099,7 @@ { "listen": "test", "script": { - "id": "289328d9-af49-4d87-9c68-75aac376a6cd", + "id": "ed098431-cfce-4ab3-848b-e7c906a7db71", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -12309,10 +12128,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/{{PHASEA_ID}}", "host": [ @@ -12332,7 +12147,7 @@ { "listen": "test", "script": { - "id": "ac18be87-fe23-4ba7-9de1-e6f3e4da32c1", + "id": "4ec21ec7-357f-4b52-96c0-e6e69aee241b", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12361,10 +12176,6 @@ "value": "Bearer {{m2m_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-timelines/invalid", "host": [ @@ -12383,7 +12194,7 @@ { "listen": "prerequest", "script": { - "id": "e9bf21dd-bcd4-4f77-89be-430472b27575", + "id": "8aba738c-50ce-4356-81a2-2f810a004be4", "type": "text/javascript", "exec": [ "" @@ -12393,7 +12204,7 @@ { "listen": "test", "script": { - "id": "9b5b9371-1251-4618-8742-9a8e9f327307", + "id": "1252d5fe-c759-4363-8f4e-864bcc645588", "type": "text/javascript", "exec": [ "" @@ -12401,6 +12212,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -12412,7 +12224,7 @@ { "listen": "test", "script": { - "id": "90f191ed-193a-4d9a-a582-e64e0bdfa31f", + "id": "19b51818-bb0f-4b8b-b775-e7765cfe7ecb", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -12464,7 +12276,7 @@ { "listen": "test", "script": { - "id": "346d4f81-1e8f-483a-b863-22a7224b4fc7", + "id": "0bee3a16-804e-4dad-979d-b0740f388175", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -12516,7 +12328,7 @@ { "listen": "test", "script": { - "id": "77ba8b5d-4eca-43b1-8492-01c26f7d6873", + "id": "64479c71-fee4-44f3-be77-e35aa1d3e206", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12563,7 +12375,7 @@ { "listen": "test", "script": { - "id": "f46ac915-078c-4945-97cf-9c79f4ae8da1", + "id": "d7c961ba-3e9d-4e49-a8be-032b66232384", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12615,7 +12427,7 @@ { "listen": "test", "script": { - "id": "e41a72ec-b3f8-4897-9fad-f6adaf4a3db2", + "id": "72963ccc-4703-4ed3-a6d5-ada48c470168", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -12667,7 +12479,7 @@ { "listen": "test", "script": { - "id": "ee4a6856-e0c2-44d7-b4eb-4ae66aabe732", + "id": "dedd336a-b111-449f-8103-10e877946ca7", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -12719,7 +12531,7 @@ { "listen": "test", "script": { - "id": "efe9f26e-8687-4094-9b6f-f58bb8ef66f4", + "id": "b2767eca-0cf7-4bce-9ccc-0f3d20d3f90f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12771,7 +12583,7 @@ { "listen": "test", "script": { - "id": "66d2cd9e-5e3a-4033-83fd-cd1384de9373", + "id": "d2fb5949-2add-4d2a-9943-b07b84275b3d", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12823,7 +12635,7 @@ { "listen": "test", "script": { - "id": "8ab2b03e-81db-463f-955c-6022bf5a9014", + "id": "22fee89d-2c23-450b-b0bb-35ce2bbabac5", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12875,7 +12687,7 @@ { "listen": "test", "script": { - "id": "dc7aeb32-a295-4a6f-b353-8d4d342dc769", + "id": "0c68cefc-51ca-440f-a9b5-c9d205778b7d", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12927,7 +12739,7 @@ { "listen": "test", "script": { - "id": "67ab7287-2bf1-47e1-95d4-237603c7e142", + "id": "9782623e-81f4-41b4-b3a9-0a4ae4aa12af", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -12979,7 +12791,7 @@ { "listen": "test", "script": { - "id": "508a7e80-0fc9-40ac-8edf-7cc824a79be6", + "id": "84a5ccc8-c718-481e-ae16-e428f0c214ca", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -13031,7 +12843,7 @@ { "listen": "test", "script": { - "id": "3ff73874-56c1-4654-91f5-87d1f54b9137", + "id": "c934ace4-ae90-440a-8aa7-f8e11ab0c0b3", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -13083,7 +12895,7 @@ { "listen": "test", "script": { - "id": "0907917c-f8f4-4ee9-af71-7eb38bbb1eb1", + "id": "e4ad4a19-1909-49b1-ba8e-e63df263a9a4", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -13135,7 +12947,7 @@ { "listen": "test", "script": { - "id": "120879eb-6d44-4e04-92b6-997847d4c4bd", + "id": "8f4ed876-33e9-4745-a9c8-fb890ba84f93", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -13187,7 +12999,7 @@ { "listen": "test", "script": { - "id": "2cdbd386-575f-419f-8898-1615b5c93505", + "id": "b1bf824d-613e-4df1-abb1-15bf2ce89113", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -13239,7 +13051,7 @@ { "listen": "test", "script": { - "id": "10dcd8cf-0fd8-40e1-8335-9c9109fb5046", + "id": "f08ab617-01c3-4c98-ad34-b41fff72c021", "exec": [ "pm.test(\"Status code is 409\", function () {", " pm.response.to.have.status(409);", @@ -13290,7 +13102,7 @@ { "listen": "prerequest", "script": { - "id": "becec0ef-7242-408c-b59d-cd8e4ef4c22a", + "id": "b19f8cb1-cd92-4338-9cab-8bf1cd22ca98", "type": "text/javascript", "exec": [ "" @@ -13300,7 +13112,7 @@ { "listen": "test", "script": { - "id": "7b14f406-56b9-45fa-bb05-e2dd1543c539", + "id": "71a8974a-adb7-4aff-aa1e-7b4338257685", "type": "text/javascript", "exec": [ "" @@ -13308,6 +13120,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -13319,7 +13132,7 @@ { "listen": "test", "script": { - "id": "36c84cf4-5905-4c05-9bd0-74276cd1427a", + "id": "2af78f51-6770-4e73-b7d1-5c26e1d3adf1", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -13371,7 +13184,7 @@ { "listen": "test", "script": { - "id": "66483353-fac6-4c47-9473-cbeff21a8e38", + "id": "1a691d23-18b4-420b-a975-9c9eda9b863e", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -13418,7 +13231,7 @@ { "listen": "test", "script": { - "id": "80564ca6-5e45-4759-8ce7-d22c36baf602", + "id": "fdce1957-4770-4568-9383-3ec56edf53d7", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -13470,7 +13283,7 @@ { "listen": "test", "script": { - "id": "870119f4-eae6-4897-9a31-5546ae8de424", + "id": "0678b1ed-9c06-49e5-ba4c-3d84adccdb3d", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -13522,7 +13335,7 @@ { "listen": "test", "script": { - "id": "5f5a201c-3199-4a5b-b46c-e1dfebebbe87", + "id": "d9faa9a7-a50c-423f-9a0c-dc225d859db4", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -13574,7 +13387,7 @@ { "listen": "test", "script": { - "id": "a5132310-fc46-4666-a597-9c9a92805a8b", + "id": "6c98050a-eca3-4e5d-97e8-e5109f069ebe", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -13626,7 +13439,7 @@ { "listen": "test", "script": { - "id": "70a62269-cf67-4b40-ba9f-e23bf733a4e5", + "id": "3e2facf8-caba-420f-8d8f-e136a04a35e8", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -13678,7 +13491,7 @@ { "listen": "test", "script": { - "id": "0bcf7659-d77b-4fd9-a140-f863801496ec", + "id": "ab03fa42-1922-40fc-a0bc-1d5c6d2a355e", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -13729,7 +13542,7 @@ { "listen": "prerequest", "script": { - "id": "c36804f8-53dc-4b11-9be1-0a26a694d768", + "id": "4edae14a-2bf7-4cce-b972-0d7e721373e6", "type": "text/javascript", "exec": [ "" @@ -13739,7 +13552,7 @@ { "listen": "test", "script": { - "id": "c203769b-be47-42a6-b5cb-2a4223e78893", + "id": "ddb9cfe2-fe4d-421b-a8e3-2bfcb9df2318", "type": "text/javascript", "exec": [ "" @@ -13747,6 +13560,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], @@ -13754,7 +13568,7 @@ { "listen": "prerequest", "script": { - "id": "47678a95-7bc3-4a2d-9348-6303e7c48481", + "id": "cff0745b-2efe-4765-8cec-9936c3b9aa66", "type": "text/javascript", "exec": [ "" @@ -13764,14 +13578,15 @@ { "listen": "test", "script": { - "id": "23434f3d-79ee-43b4-836b-8b8b0b9b2c74", + "id": "04d917af-bb93-4606-a235-02a078ef8e1d", "type": "text/javascript", "exec": [ "" ] } } - ] + ], + "protocolProfileBehavior": {} }, { "name": "Challenges", @@ -13785,7 +13600,7 @@ { "listen": "test", "script": { - "id": "06643605-1906-41d1-bcde-9ae5fd0a7c46", + "id": "8a119f78-ede0-48c3-a60c-03583b41ca01", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -13817,7 +13632,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"privateDescription\": \"private test description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 2000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 500\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 250\n\t\t }\n\t\t ]\n\t\t}\n\t],\n\t\"tags\": [\"tag1\", \"tag2\"],\n\t\"projectId\": 123,\n\t\"status\": \"Draft\",\n\t\"startDate\": \"2019-06-22T16:28:39.882Z\"\n}" + "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"privateDescription\": \"private test description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 2000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 500\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 250\n\t\t }\n\t\t ]\n\t\t}\n\t],\n \"discussions\": [{\n \"name\": \"name1\",\n \"type\": \"challenge\",\n \"provider\": \"provider1\",\n \"url\": \"url1\",\n \"options\": [{\"key1\":\"value1\"}, {\"key2\":\"value2\"}]\n }],\n\t\"tags\": [\"tag1\", \"tag2\"],\n\t\"projectId\": 123,\n\t\"status\": \"Draft\",\n\t\"startDate\": \"2019-06-22T16:28:39.882Z\"\n}" }, "url": { "raw": "{{URL}}/challenges", @@ -13837,7 +13652,7 @@ { "listen": "test", "script": { - "id": "2d4139f8-c844-45e8-8835-41ad0fe37a32", + "id": "1a0dae36-cb80-4095-b640-7d55235bdcc5", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -13869,7 +13684,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"typeId\": \"{{TYPEB_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create-copilot\",\n\t\"description\": \"test-description\",\n\t\"metadata\": [\n\t\t{\n\t\t\t\"name\": \"sampleMetadata1\",\n\t\t\t\"value\": \"value3\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"sampleMetadata2\",\n\t\t\t\"value\": \"value4\"\n\t\t}\n\t],\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n {\n \"phaseId\": \"{{PHASEA_ID}}\",\n \"duration\": 1000000\n },\n {\n \"phaseId\": \"{{PHASEB_ID}}\",\n \"duration\": 2000000\n }\n ],\n \"prizeSets\": [\n {\n \"type\": \"Challenge prizes\",\n \"description\": \"desc\",\n \"prizes\": [\n {\n \"description\": \"desc-first\",\n \"type\": \"first place\",\n \"value\": 500\n },\n {\n \"description\": \"desc-second\",\n \"type\": \"second place\",\n \"value\": 250\n }\n ]\n }\n ],\n\t\"tags\": [\"tag1\", \"tag2\"],\n\t\"projectId\": 123,\n\t\"status\": \"Draft\",\n\t\"groups\": [\"group1\", \"group2\"],\n\t\"gitRepoURLs\": [\"https://github.com/topcoder-platform/community-app\"],\n\t\"startDate\": \"2019-06-22T16:28:39.882Z\"\n}" + "raw": "{\n\t\"typeId\": \"{{TYPEB_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create-copilot\",\n\t\"description\": \"test-description\",\n\t\"metadata\": [\n\t\t{\n\t\t\t\"name\": \"sampleMetadata1\",\n\t\t\t\"value\": \"value3\"\n\t\t},\n\t\t{\n\t\t\t\"name\": \"sampleMetadata2\",\n\t\t\t\"value\": \"value4\"\n\t\t}\n\t],\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n {\n \"phaseId\": \"{{PHASEA_ID}}\",\n \"duration\": 1000000\n },\n {\n \"phaseId\": \"{{PHASEB_ID}}\",\n \"duration\": 2000000\n }\n ],\n \"prizeSets\": [\n {\n \"type\": \"Challenge prizes\",\n \"description\": \"desc\",\n \"prizes\": [\n {\n \"description\": \"desc-first\",\n \"type\": \"first place\",\n \"value\": 500\n },\n {\n \"description\": \"desc-second\",\n \"type\": \"second place\",\n \"value\": 250\n }\n ]\n }\n ],\n \"discussions\": [{\n \"name\": \"name1\",\n \"type\": \"challenge\",\n \"provider\": \"provider1\",\n \"url\": \"url1\",\n \"options\": [{\"key1\":\"value1\"}, {\"key2\":\"value2\"}]\n }],\n\t\"tags\": [\"tag1\", \"tag2\"],\n\t\"projectId\": 123,\n\t\"status\": \"Draft\",\n\t\"groups\": [\"group1\", \"group2\"],\n\t\"gitRepoURLs\": [\"https://github.com/topcoder-platform/community-app\"],\n\t\"startDate\": \"2019-06-22T16:28:39.882Z\"\n}" }, "url": { "raw": "{{URL}}/challenges", @@ -13889,7 +13704,7 @@ { "listen": "test", "script": { - "id": "246b1433-43c4-4f34-a902-f1c6ac7e3dea", + "id": "9f7202a4-c3f8-4ec7-aece-a2e86872cfcf", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -13940,7 +13755,7 @@ { "listen": "test", "script": { - "id": "9a3f20f3-368b-487a-9ddc-ba2acfa2d928", + "id": "2c6f2b78-0927-4d1b-b6ed-f74d8698db6a", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -13991,7 +13806,7 @@ { "listen": "test", "script": { - "id": "8552ced2-10b4-49a5-bf9d-875d1d80f636", + "id": "b5552b33-c66b-41c7-873b-26773525556b", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14042,7 +13857,7 @@ { "listen": "test", "script": { - "id": "fbe033a5-c41f-4ec1-8227-81162d07ee64", + "id": "93ae5a47-2bf4-4e8a-9208-3a8ddbd2e83a", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14093,7 +13908,7 @@ { "listen": "test", "script": { - "id": "44364a42-8944-48c5-a8c5-964347a0e2cb", + "id": "fb8b24d1-fa5e-48c9-a637-fb4434491b25", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14144,7 +13959,7 @@ { "listen": "test", "script": { - "id": "640a75d2-8777-419d-96b4-c41e62ea7572", + "id": "af666947-cb80-4e69-bb9a-e1be6b515f7e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14195,7 +14010,7 @@ { "listen": "test", "script": { - "id": "f975fe6a-92d2-41f3-9f90-972cd487db62", + "id": "b1e7ab2b-e62c-47d8-bada-5adbb43d61c7", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14246,7 +14061,7 @@ { "listen": "test", "script": { - "id": "6b686b81-342d-46a8-8437-ace26ea9cfd9", + "id": "a24cefc5-094d-4961-a81c-eee39df47fd4", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14297,7 +14112,7 @@ { "listen": "test", "script": { - "id": "6607ca4f-7026-4d7c-8780-40df7f8fc16f", + "id": "b9099af6-47c6-4dd1-b6c9-725ce7e27055", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14348,7 +14163,7 @@ { "listen": "test", "script": { - "id": "4825de69-d2dc-459d-873e-9f32a32b7616", + "id": "434fd854-7c6e-4ccf-b576-511ffa1e98c7", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14399,7 +14214,7 @@ { "listen": "test", "script": { - "id": "f5425e47-2fea-4b63-b046-8a0cf1f0666b", + "id": "9c1202bd-92f3-4077-ad93-94b46113421c", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14450,7 +14265,7 @@ { "listen": "test", "script": { - "id": "4e444a15-4c1b-4241-8715-718bf044b159", + "id": "f8939010-6122-4533-bcfc-fb118ad32486", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14501,7 +14316,7 @@ { "listen": "test", "script": { - "id": "1f07bd46-46e8-4d0d-a921-db19978c2c29", + "id": "ad12fed2-8b57-472c-8dde-81c1c6f78eb7", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14552,7 +14367,7 @@ { "listen": "test", "script": { - "id": "2ae09dac-87c0-4941-a4c7-75444f65697e", + "id": "26b260e6-d160-4714-93ad-b278cd10e740", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14603,7 +14418,7 @@ { "listen": "test", "script": { - "id": "1c232523-5701-45c4-b8d7-f594612a36b0", + "id": "c4a7e4c9-f9f3-4b4c-a100-e20b76918a22", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -14654,7 +14469,7 @@ { "listen": "test", "script": { - "id": "dbbeb4c4-b906-4236-8698-e3a839ec34a9", + "id": "41dc865b-3c78-41fc-a2e3-efb418165cbd", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -14705,7 +14520,7 @@ { "listen": "test", "script": { - "id": "48a1b399-0cdc-4e77-92c7-61e029c635b1", + "id": "6a087c46-b201-4ed2-b67a-7332a4fcf077", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -14756,7 +14571,7 @@ { "listen": "test", "script": { - "id": "b116482e-6919-4bff-8528-adcd7763b723", + "id": "f5bcdef5-8582-4903-8dc4-4870c1cd1555", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -14807,7 +14622,7 @@ { "listen": "test", "script": { - "id": "19582999-ad72-407d-802a-eb1647108df5", + "id": "bd80ce0f-ec43-43b8-a837-00312e60c29b", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -14858,7 +14673,7 @@ { "listen": "test", "script": { - "id": "afdf8b13-b954-4f60-bc0f-9ae0c6c17bba", + "id": "b120963b-c9f8-41f8-bd5b-d644cb618b84", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -14904,7 +14719,7 @@ { "listen": "test", "script": { - "id": "2a230a41-1384-4aae-af46-f4e69fe99905", + "id": "53582454-8f60-4dcf-a3b4-2f80cf95462c", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", @@ -14956,7 +14771,7 @@ { "listen": "test", "script": { - "id": "891abcb7-0eef-458d-a77b-7269c0f07d8e", + "id": "54ae5eb4-dc21-4bba-bf4b-0410f68bfc3b", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -15007,7 +14822,7 @@ { "listen": "test", "script": { - "id": "537886ab-e7ff-4d71-bbf1-77ebbc53bed0", + "id": "ccbf5e6d-2bb1-4613-a780-8afaa5b28bed", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -15053,6 +14868,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -15064,7 +14880,7 @@ { "listen": "test", "script": { - "id": "3d3eff19-b95f-4211-ad04-0c25c9932803", + "id": "1e0432ca-ca81-4ce7-a3ad-83f9115cc72b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15090,7 +14906,7 @@ { "key": "attachment", "type": "file", - "src": null + "src": [] } ] }, @@ -15114,7 +14930,7 @@ { "listen": "test", "script": { - "id": "4f09fb26-06c0-45ae-a4fa-764aa9739d59", + "id": "8d09a1fd-8497-4e23-a728-eeafd5fd5472", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15140,7 +14956,7 @@ { "key": "attachment", "type": "file", - "src": null + "src": [] } ] }, @@ -15164,7 +14980,7 @@ { "listen": "test", "script": { - "id": "27e00043-8f83-4415-9f28-0b94784e5db7", + "id": "27118109-2b1f-4a76-851b-b33d527e350b", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -15188,8 +15004,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15213,7 +15029,7 @@ { "listen": "test", "script": { - "id": "10f578a2-bec1-4806-a316-81cad27aafd4", + "id": "c10b5b84-a740-416c-a830-007bdab4ee91", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -15237,8 +15053,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15262,7 +15078,7 @@ { "listen": "test", "script": { - "id": "f301bb05-a4fa-419b-97a9-9cb2bee0f8c5", + "id": "8c276f21-6ba3-4c71-87ef-832f69950301", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -15286,8 +15102,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15311,7 +15127,7 @@ { "listen": "test", "script": { - "id": "8664924f-876f-4046-ab43-5e9c60f1be1e", + "id": "e846bd45-688f-4d3a-abdc-0cef4186e82f", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15329,8 +15145,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15354,7 +15170,7 @@ { "listen": "test", "script": { - "id": "5e801bf3-8266-4164-a60e-4cb6e7aa093b", + "id": "8c3721b2-879b-4298-a816-4306452d2e4c", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15378,8 +15194,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15403,7 +15219,7 @@ { "listen": "test", "script": { - "id": "fdfe69ef-ef9d-40a8-9c19-67e8c3fcdec9", + "id": "013e955e-0654-46f4-a08d-92880d61b538", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15427,8 +15243,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15452,7 +15268,7 @@ { "listen": "test", "script": { - "id": "8abf4f07-c878-4fa7-bc08-a890594e4905", + "id": "fa89beb4-f96c-4511-86e5-22673e620f2a", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -15476,8 +15292,8 @@ "formdata": [ { "key": "wrong", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15501,7 +15317,7 @@ { "listen": "test", "script": { - "id": "0d544009-4221-45ea-94a8-515af875b52f", + "id": "f78ce49c-43d6-44f2-b10c-2ea1c3976e7e", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15527,7 +15343,7 @@ { "key": "attachment", "type": "file", - "src": null + "src": [] } ] }, @@ -15551,7 +15367,7 @@ { "listen": "test", "script": { - "id": "320dfcc7-e205-4128-9c44-c874510115c1", + "id": "e827d047-03e9-4274-b545-75bbbf0de605", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -15575,8 +15391,8 @@ "formdata": [ { "key": "attachment", - "type": "file", - "src": "" + "value": "", + "type": "file" } ] }, @@ -15595,6 +15411,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -15606,7 +15423,7 @@ { "listen": "test", "script": { - "id": "789bd9ca-3173-4883-b71a-bc2cd1c64b5d", + "id": "307729ac-4204-454d-b137-459c50f59d7c", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15625,10 +15442,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}/attachments/{{ATTACHMENT_ID1}}", "host": [ @@ -15650,7 +15463,7 @@ { "listen": "test", "script": { - "id": "3e977e94-e328-4e87-bfee-858502647c7b", + "id": "2b8b5172-3b22-439c-903f-070dce7fa52b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15669,10 +15482,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}/attachments/{{ATTACHMENT_ID2}}", "host": [ @@ -15694,7 +15503,7 @@ { "listen": "test", "script": { - "id": "24ea5c4e-2ae7-48a3-adec-1252d519f1dc", + "id": "ab680fc3-fe1a-40cf-8f42-9ac3a15e078c", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -15713,10 +15522,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}/attachments/{{ATTACHMENT_ID2}}", "host": [ @@ -15738,7 +15543,7 @@ { "listen": "test", "script": { - "id": "9df5dca7-61fe-4f9e-af32-236c4ddb839f", + "id": "ebd44667-104a-4be4-9c5c-bb8bfa7623b4", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -15757,10 +15562,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{TYPEA_ID}}/attachments/{{ATTACHMENT_ID1}}", "host": [ @@ -15782,7 +15583,7 @@ { "listen": "test", "script": { - "id": "991a6e5d-3eba-456a-87c8-52b8a98c92c2", + "id": "62f7624b-ab7a-4ff4-883c-67f88b1e9396", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -15801,10 +15602,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}/attachments/invalid", "host": [ @@ -15826,7 +15623,7 @@ { "listen": "test", "script": { - "id": "afaef135-c30d-4849-9993-4fef92f0c909", + "id": "f6e0c5ad-6da9-4c5c-bed4-d455f9781590", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15845,10 +15642,6 @@ "value": "Bearer {{expire_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}/attachments/{{ATTACHMENT_ID1}}", "host": [ @@ -15870,7 +15663,7 @@ { "listen": "test", "script": { - "id": "1bef6c4d-de8e-444d-ad20-086adb70c4cd", + "id": "47f64ca4-4ed1-4262-a6b3-cb38e35e6a00", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15889,10 +15682,6 @@ "value": "Bearer invalid" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}/attachments/{{ATTACHMENT_ID1}}", "host": [ @@ -15914,7 +15703,7 @@ { "listen": "test", "script": { - "id": "3bcd9285-486c-45d7-bc2d-2bbab5cb8796", + "id": "875c84b1-9117-4207-9bca-89a2058c058e", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -15933,10 +15722,6 @@ "value": "Bearer {{copilot2_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}/attachments/{{ATTACHMENT_ID2}}", "host": [ @@ -15958,7 +15743,7 @@ { "listen": "test", "script": { - "id": "9165b8c5-0df2-4da7-bb74-e985444fd246", + "id": "a92bd65b-0727-44b1-8b18-d284d8a8df5a", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -15971,10 +15756,6 @@ "request": { "method": "GET", "header": [], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}/attachments/{{ATTACHMENT_ID2}}", "host": [ @@ -15996,7 +15777,7 @@ { "listen": "test", "script": { - "id": "4664b0ac-bbbf-4292-b1c3-b65763a2d560", + "id": "b279cbc4-6b7f-40ac-88a3-3f3d07b067cf", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -16015,10 +15796,6 @@ "value": "Bearer {{m2m_challenge_attachments_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{TEST_CHALLENGE_M2M_ID}}/attachments/{{TEST_ATTACHMENT_M2M_ID}}", "host": [ @@ -16040,7 +15817,7 @@ { "listen": "test", "script": { - "id": "a9d5766b-ef50-46fa-9748-1a884d54c1c3", + "id": "40f93abf-e40a-4088-ab52-70605cc3682c", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -16059,10 +15836,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{TEST_CHALLENGE_M2M_ID}}/attachments/{{TEST_ATTACHMENT_M2M_ID}}", "host": [ @@ -16084,7 +15857,7 @@ { "listen": "test", "script": { - "id": "c2bc647b-031b-4aa2-b0a3-7347fbd271f7", + "id": "2734e3b9-c80b-452d-95b0-85477dcf5596", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -16103,10 +15876,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}/attachments/{{SETTINGA_ID}}", "host": [ @@ -16127,7 +15896,7 @@ { "listen": "prerequest", "script": { - "id": "b2e150fd-08d6-473d-b6c3-bdf657d09561", + "id": "6f3607ed-f703-4037-9474-7b5303c6ea34", "type": "text/javascript", "exec": [ "" @@ -16137,7 +15906,7 @@ { "listen": "test", "script": { - "id": "43873494-33c7-4ba0-a5d4-562670dd5e8d", + "id": "cca06552-f580-4bb7-9904-85e2f5052e5a", "type": "text/javascript", "exec": [ "" @@ -16145,6 +15914,7 @@ } } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -16156,7 +15926,7 @@ { "listen": "test", "script": { - "id": "ba49f70b-7d87-472c-b3db-04856549f8ab", + "id": "fbe086e6-0fd3-4d36-b75b-1f96712ec8b7", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -16187,7 +15957,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 10000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 600\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 300\n\t\t }\n\t\t ]\n\t\t}\n\t],\n\t\"tags\": [\"tag1\", \"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"legacyId\": 112233,\n\t\"status\": \"Active\",\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" + "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 10000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 600\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 300\n\t\t }\n\t\t ]\n\t\t}\n\t],\n \"discussions\": [{\n \"name\": \"name1\",\n \"type\": \"challenge\",\n \"provider\": \"provider1\",\n \"url\": \"url1\",\n \"options\": [{\"key1\":\"value1\"}, {\"key2\":\"value2\"}]\n }],\n\t\"tags\": [\"tag1\", \"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"legacyId\": 112233,\n\t\"status\": \"Active\",\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}", @@ -16208,7 +15978,7 @@ { "listen": "test", "script": { - "id": "39c480df-0b80-4c04-9530-c1f048d4e3f0", + "id": "8e2be9d4-0edd-479e-a2ad-8790431cef89", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -16260,7 +16030,7 @@ { "listen": "test", "script": { - "id": "e9dadb08-0eb4-412e-a8c4-17931a9ff663", + "id": "e4e9a58e-8e77-435c-99c4-703c26222a7f", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -16291,7 +16061,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 10000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 600\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 300\n\t\t }\n\t\t ]\n\t\t}\n\t],\n\t\"winners\": [\n\t\t{\n\t\t\t\"userId\": 12345678,\n\t\t\t\"handle\": \"thomaskranitsas\",\n\t\t\t\"placement\": 1\n\t\t},\n\t\t{\n\t\t\t\"userId\": 3456789,\n\t\t\t\"handle\": \"tonyj\",\n\t\t\t\"placement\": 2\n\t\t}\n\t],\n\t\"tags\": [\"tag1\", \"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"legacyId\": 112233,\n\t\"status\": \"Completed\",\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" + "raw": "{\n\t\"typeId\": \"{{TYPEA_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"test-create\",\n\t\"description\": \"test-description\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n\t\t{\n \t\"phaseId\": \"{{PHASEA_ID}}\",\n \t\"duration\": 1000000\n },\n {\n \t\"phaseId\": \"{{PHASEB_ID}}\",\n\t \t\"duration\": 10000000\n }\n\t],\n\t\"prizeSets\": [\n\t\t{\n\t\t\t\"type\": \"Challenge prizes\",\n\t\t\t\"description\": \"desc\",\n\t\t\t\"prizes\": [\n\t\t {\n\t\t \"description\": \"desc-first\",\n\t\t \"type\": \"first place\",\n\t\t \"value\": 600\n\t\t },\n\t\t {\n\t\t \"description\": \"desc-second\",\n\t\t \"type\": \"second place\",\n\t\t \"value\": 300\n\t\t }\n\t\t ]\n\t\t}\n\t],\n \"discussions\": [{\n \"name\": \"name1\",\n \"type\": \"challenge\",\n \"provider\": \"provider1\",\n \"url\": \"url1\",\n \"options\": [{\"key1\":\"value1\"}, {\"key2\":\"value2\"}]\n }],\n\t\"winners\": [\n\t\t{\n\t\t\t\"userId\": 12345678,\n\t\t\t\"handle\": \"thomaskranitsas\",\n\t\t\t\"placement\": 1\n\t\t},\n\t\t{\n\t\t\t\"userId\": 3456789,\n\t\t\t\"handle\": \"tonyj\",\n\t\t\t\"placement\": 2\n\t\t}\n\t],\n\t\"tags\": [\"tag1\", \"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"legacyId\": 112233,\n\t\"status\": \"Completed\",\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}", @@ -16312,7 +16082,7 @@ { "listen": "test", "script": { - "id": "5ac3fd1f-13b3-4db8-839f-bc063803721f", + "id": "8f4343a6-5477-48d6-9c6a-6445c752e61f", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -16343,7 +16113,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"typeId\": \"{{TYPEB_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"update-name-1\",\n\t\"description\": \"update-description-1\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n {\n \"phaseId\": \"{{PHASEA_ID}}\",\n \"duration\": 1000000\n },\n {\n \"phaseId\": \"{{PHASEB_ID}}\",\n \"duration\": 2000000\n }\n ],\n \"prizeSets\": [\n {\n \"type\": \"Challenge prizes\",\n \"description\": \"desc\",\n \"prizes\": [\n {\n \"description\": \"desc-first\",\n \"type\": \"first place\",\n \"value\": 500\n },\n {\n \"description\": \"desc-second\",\n \"type\": \"second place\",\n \"value\": 250\n }\n ]\n }\n ],\n \"winners\": [\n\t\t{\n\t\t\t\"userId\": 12345678,\n\t\t\t\"handle\": \"thomaskranitsas\",\n\t\t\t\"placement\": 1\n\t\t},\n\t\t{\n\t\t\t\"userId\": 3456789,\n\t\t\t\"handle\": \"tonyj\",\n\t\t\t\"placement\": 4\n\t\t}\n\t],\n\t\"tags\": [\"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"status\": \"Completed\",\n\t\"attachmentIds\": [\"{{ATTACHMENT_ID2}}\"],\n\t\"groups\": [\"group1\", \"group2\"],\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" + "raw": "{\n\t\"typeId\": \"{{TYPEB_ID}}\",\n\t\"legacy\": {\n\t\t\"track\": \"test-track\",\n\t\t\"reviewType\": \"review type\",\n\t\t\"forumId\": 456,\n\t\t\"confidentialityType\": \"public\"\n\t},\n\t\"name\": \"update-name-1\",\n\t\"description\": \"update-description-1\",\n\t\"timelineTemplateId\": \"{{TEMPLATEA_ID}}\",\n\t\"phases\": [\n {\n \"phaseId\": \"{{PHASEA_ID}}\",\n \"duration\": 1000000\n },\n {\n \"phaseId\": \"{{PHASEB_ID}}\",\n \"duration\": 2000000\n }\n ],\n \"prizeSets\": [\n {\n \"type\": \"Challenge prizes\",\n \"description\": \"desc\",\n \"prizes\": [\n {\n \"description\": \"desc-first\",\n \"type\": \"first place\",\n \"value\": 500\n },\n {\n \"description\": \"desc-second\",\n \"type\": \"second place\",\n \"value\": 250\n }\n ]\n }\n ],\n \"discussions\": [{\n \"name\": \"name1\",\n \"type\": \"challenge\",\n \"provider\": \"provider1\",\n \"url\": \"url1\",\n \"options\": [{\"key1\":\"value1\"}, {\"key2\":\"value2\"}]\n }],\n \"winners\": [\n\t\t{\n\t\t\t\"userId\": 12345678,\n\t\t\t\"handle\": \"thomaskranitsas\",\n\t\t\t\"placement\": 1\n\t\t},\n\t\t{\n\t\t\t\"userId\": 3456789,\n\t\t\t\"handle\": \"tonyj\",\n\t\t\t\"placement\": 4\n\t\t}\n\t],\n\t\"tags\": [\"tag3\", \"tag4\"],\n\t\"projectId\": 123,\n\t\"status\": \"Completed\",\n\t\"attachmentIds\": [\"{{ATTACHMENT_ID2}}\"],\n\t\"groups\": [\"group1\", \"group2\"],\n\t\"terms\": [\"0fcb41d1-ec7c-44bb-8f3b-f017a61cd708\", \"be0652ae-8b28-4e91-9b42-8ad00b31e9cb\", \"28841de8-2f42-486f-beac-21d46a832ab6\"]\n}" }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", @@ -16364,7 +16134,7 @@ { "listen": "test", "script": { - "id": "5c19137d-7309-4d42-951e-070145f6849a", + "id": "d6ae49ed-71aa-4720-a528-e899d26bdb1e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -16416,7 +16186,7 @@ { "listen": "test", "script": { - "id": "37465497-3580-492b-80ce-7d535081a30c", + "id": "e5116cdc-97f4-4d51-98ac-197f32f8e871", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -16468,7 +16238,7 @@ { "listen": "test", "script": { - "id": "4830fb3a-b8ae-443e-a3d8-7a19aafc068d", + "id": "e6d5f967-a32b-456f-88f0-5e00303a613b", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -16520,7 +16290,7 @@ { "listen": "test", "script": { - "id": "d705a52d-6cc8-40d2-bbfc-813bdee24a1e", + "id": "2f80b41f-fe97-4c5b-be7d-534baccbc48c", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -16572,7 +16342,7 @@ { "listen": "test", "script": { - "id": "5dd88b97-9cab-4b32-b6c9-82cb8bedd262", + "id": "2a3d3531-cb7e-4307-a8e4-2fde0b406d7a", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -16624,7 +16394,7 @@ { "listen": "test", "script": { - "id": "ae99b8ce-a515-4b78-b868-a1d2cb58f283", + "id": "b7f533b0-de15-4f39-b24d-9ee5ffdacd6c", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -16676,7 +16446,7 @@ { "listen": "test", "script": { - "id": "528bf0e4-23ad-49ad-baed-3b27099cc7a9", + "id": "f7c036a8-d473-4dc7-8080-24a13708e9ae", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -16728,7 +16498,7 @@ { "listen": "test", "script": { - "id": "b7b10937-7740-4ca6-be75-ca0d812a8354", + "id": "9c304f17-7403-45f2-a347-4a2d2cdbf131", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -16780,7 +16550,7 @@ { "listen": "test", "script": { - "id": "f66d283c-0706-470c-96fb-0b23fd3c176b", + "id": "70078b7e-3c44-403d-82ff-7dbb2fd50c8c", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -16827,7 +16597,7 @@ { "listen": "test", "script": { - "id": "5058d261-0574-4cab-bc34-4418f75b07b3", + "id": "774eaa84-cc6e-4b86-bec5-f94a95c09c7a", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -16879,7 +16649,7 @@ { "listen": "test", "script": { - "id": "2e526c0f-c61c-4f68-90b9-a0ddf4485ebc", + "id": "a28a2826-5716-4db1-8b66-3841676adc06", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -16931,7 +16701,7 @@ { "listen": "test", "script": { - "id": "a32b45fd-3ed2-413f-9e78-c70f58411e62", + "id": "10c3bd08-7279-4d20-8cf3-30846ffcc477", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -16983,7 +16753,7 @@ { "listen": "test", "script": { - "id": "562dd009-35b6-473a-96d4-eb26d6399c05", + "id": "29d0bddf-c494-42a0-9498-1282910456a5", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17035,7 +16805,7 @@ { "listen": "test", "script": { - "id": "cce2327f-83b6-4716-b61b-380295a98fb4", + "id": "ecb9f861-9cf8-430b-81af-2a5102890a4c", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -17087,7 +16857,7 @@ { "listen": "test", "script": { - "id": "31809b83-61fd-451c-9983-c516fd0d617e", + "id": "bcf1a0d9-b8fc-43fc-8620-d0487aacfe14", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17139,7 +16909,7 @@ { "listen": "test", "script": { - "id": "94695610-0445-425b-b2ad-d179b57ce782", + "id": "7e49e3d4-adea-4435-aa42-3b5f613cf85a", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -17191,7 +16961,7 @@ { "listen": "test", "script": { - "id": "9b4a6b3f-617f-4ff1-ac8a-0268ee2c785e", + "id": "e39bb59b-1954-455b-a52a-62c3763b085f", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17243,7 +17013,7 @@ { "listen": "test", "script": { - "id": "a890756a-91c9-43df-a312-f37e80ea9788", + "id": "31f3dcff-d801-4577-9e47-ddcdb12fb363", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17295,7 +17065,7 @@ { "listen": "test", "script": { - "id": "acd48485-fc08-452c-8dd6-595940e5ba0c", + "id": "3c93473b-7523-481a-9dfb-a2b17682cabb", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17347,7 +17117,7 @@ { "listen": "test", "script": { - "id": "8194600f-8655-4e82-ae93-c3a7ddb2922a", + "id": "a99ce2b7-d5ca-40ae-82e1-6a2194422dac", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17399,7 +17169,7 @@ { "listen": "test", "script": { - "id": "25f367d8-96f2-4784-bdcf-b289d03fd8a1", + "id": "ca9c8cb6-0fc7-4cf4-b6d7-4372ef88f859", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17451,7 +17221,7 @@ { "listen": "test", "script": { - "id": "dc962053-ba68-4fbe-9b7c-03ef012325bf", + "id": "d8514aef-416c-4634-81c1-ada32435a9e1", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17498,6 +17268,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -17509,7 +17280,7 @@ { "listen": "test", "script": { - "id": "2f6d2a33-d1c5-4f87-a0ba-bca054436128", + "id": "d6efdb47-887b-4566-aeda-31de880ace20", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17561,7 +17332,7 @@ { "listen": "test", "script": { - "id": "62ba2f74-3b1e-478f-8605-7930c8dddee5", + "id": "006f9e48-2a88-4d9e-8d83-5053eb774bf5", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17613,7 +17384,7 @@ { "listen": "test", "script": { - "id": "a2c7457d-0e78-442e-8c9f-dbfb2ef9cc81", + "id": "49227569-5495-4893-b0d7-1f6e71f95f3b", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17665,7 +17436,7 @@ { "listen": "test", "script": { - "id": "a75ea32b-81ac-4e41-9e3a-2126b0a3de24", + "id": "9d8f156c-5bdf-4069-aa17-73420ffd8b85", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17717,7 +17488,7 @@ { "listen": "test", "script": { - "id": "ed5d07f6-3c43-4010-a981-001f653fd81f", + "id": "fe54f3b3-60d8-4d12-bd6e-cdb3273a9677", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -17769,7 +17540,7 @@ { "listen": "test", "script": { - "id": "7ec10138-87c3-4a47-8423-746af70480ab", + "id": "2f1481c6-6747-4352-b2a2-0fff1eb764f9", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17821,7 +17592,7 @@ { "listen": "test", "script": { - "id": "c5fd84ce-943b-40cc-92c8-cc70dfb71f0f", + "id": "1ff9ff21-1ad1-48a2-b831-06462ea3f7a5", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17873,7 +17644,7 @@ { "listen": "test", "script": { - "id": "c1935b9b-6370-467b-b55c-da1f935ff972", + "id": "75b6091c-ec79-48ed-a3a4-b09368dc0fd8", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17925,7 +17696,7 @@ { "listen": "test", "script": { - "id": "0604ae96-4bef-4c4b-aabc-0842772553fc", + "id": "77055163-b638-4183-99e4-c49d211a1c90", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -17977,7 +17748,7 @@ { "listen": "test", "script": { - "id": "e2172d44-894c-48a6-a76e-8db0a95e2b00", + "id": "66fc8158-0e5f-41ff-90f8-39d1fb01714e", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18029,7 +17800,7 @@ { "listen": "test", "script": { - "id": "175f4ba0-b092-43c8-9811-9aabc6a2d60c", + "id": "be571a2a-db71-4ea8-9ed7-aaa6a36e058f", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -18081,7 +17852,7 @@ { "listen": "test", "script": { - "id": "1fee4155-4662-45ec-8c98-a01c4dfe4b30", + "id": "7cfd1c6c-7b8a-4a70-87c6-45bbcde7b0aa", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -18133,7 +17904,7 @@ { "listen": "test", "script": { - "id": "261a7364-c178-4026-8990-6b82fb188e1f", + "id": "8370d885-e0bc-4e60-a125-8f3835c6d071", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18185,7 +17956,7 @@ { "listen": "test", "script": { - "id": "e09e83be-e536-47fb-9f30-3d62d503d6b9", + "id": "84970544-cca3-42bb-88ac-683e578e19c9", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -18237,7 +18008,7 @@ { "listen": "test", "script": { - "id": "d9058d2d-7323-4818-b59d-423a5808b2d7", + "id": "a852f396-1c00-45ff-92b4-68cacf9ea0b3", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -18284,7 +18055,7 @@ { "listen": "test", "script": { - "id": "e6e2ad59-44b4-480b-94b4-333da1f11ea7", + "id": "37928956-6b66-460c-ad3f-53823cc85728", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -18336,7 +18107,7 @@ { "listen": "test", "script": { - "id": "012dbfec-56e0-40b1-afce-89a2739586ad", + "id": "a959b06e-b464-47d9-9e16-55e3283c9fa5", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -18388,7 +18159,7 @@ { "listen": "test", "script": { - "id": "eb67ce12-6cd6-4ba0-937e-dfc4ccd78ff0", + "id": "db47b663-6385-423b-9dd8-0db01e1bc4a4", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -18440,7 +18211,7 @@ { "listen": "test", "script": { - "id": "e65acac8-c74d-4d93-aa70-e7eb349f1eb2", + "id": "b75245c0-6456-4db6-b340-1f3065490857", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18492,7 +18263,7 @@ { "listen": "test", "script": { - "id": "8081cee3-8614-4ebb-92f7-7f9103129198", + "id": "253a6b06-dfce-455a-bcb2-eb25828d57bd", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -18544,7 +18315,7 @@ { "listen": "test", "script": { - "id": "91651f83-2360-4b64-8ded-67bb111d0515", + "id": "fc64a2f0-e548-44bf-a045-5774217bb95f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18596,7 +18367,7 @@ { "listen": "test", "script": { - "id": "ea1c866b-a735-4267-b5f5-3a47b0172536", + "id": "7f95e3cc-fff5-4839-a9a3-26a6dc6675ad", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18648,7 +18419,7 @@ { "listen": "test", "script": { - "id": "6eedbc4a-4a17-4fdb-be85-00f4b8a9033f", + "id": "5822f436-8a3f-46ce-86db-bfb4ec886e40", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18700,7 +18471,7 @@ { "listen": "test", "script": { - "id": "b1165efe-a392-45c6-aad7-8274f43cc5df", + "id": "71c4a10f-a0cb-4e50-a772-b5c6de8ead7c", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18752,7 +18523,7 @@ { "listen": "test", "script": { - "id": "246d5379-35bd-4d6d-ba6f-65df75a8ed73", + "id": "8c5590da-5cf2-47be-afd4-d06ca5c0e1ab", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -18799,6 +18570,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -18810,7 +18582,7 @@ { "listen": "test", "script": { - "id": "e8816215-46aa-4ad7-843a-aff750804cc1", + "id": "41c42eac-8dce-4846-b4d1-3cd0aa390669", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -18834,10 +18606,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID1}}", "host": [ @@ -18857,7 +18625,7 @@ { "listen": "test", "script": { - "id": "72124782-2c7e-471d-9ca2-8f15732e7b9f", + "id": "573d71d5-7d0e-4ef0-9391-b455d27c1625", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -18886,10 +18654,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -18909,7 +18673,7 @@ { "listen": "test", "script": { - "id": "de1d64ea-b292-4765-b6f4-f16e98c60d34", + "id": "61ba16df-7e58-4035-a312-c48df68fbd57", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -18938,10 +18702,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -18961,7 +18721,7 @@ { "listen": "test", "script": { - "id": "46d988a8-946e-4c90-a561-8b2ac72dd261", + "id": "ca96b5e2-eac2-49ef-8560-3c6a29b8609a", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -18990,10 +18750,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -19013,7 +18769,7 @@ { "listen": "test", "script": { - "id": "1cc089f7-869c-48ae-92a3-8f758d7ade7f", + "id": "b4b2bdaf-2729-4df9-91ce-76ac17bfea48", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19037,10 +18793,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/invalid-id", "host": [ @@ -19060,7 +18812,7 @@ { "listen": "test", "script": { - "id": "ec94379f-2acc-48c6-a68d-ba34c5b077e4", + "id": "db3ee1b6-9998-421d-8e5f-fa333619d35e", "exec": [ "pm.test(\"Status code is 404\", function () {", " pm.response.to.have.status(404);", @@ -19084,10 +18836,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{TYPEA_ID}}", "host": [ @@ -19107,7 +18855,7 @@ { "listen": "test", "script": { - "id": "8e4e5e52-37b4-4d0e-947b-88d376c18e79", + "id": "6e22a921-7133-452e-acea-79d80ac3e013", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19136,10 +18884,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -19159,7 +18903,7 @@ { "listen": "test", "script": { - "id": "e8051b49-436e-4bfe-8cf5-626509b13ba3", + "id": "84b02ace-9a5c-4c0c-b711-43fb46255c52", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200)", @@ -19188,10 +18932,6 @@ "value": "Bearer {{m2m_challenge_attachments_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -19211,7 +18951,7 @@ { "listen": "test", "script": { - "id": "9ebbedc2-2942-40c5-92a2-e343a388c48e", + "id": "615539ee-b5f9-4717-a126-ce232099cb26", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -19240,10 +18980,6 @@ "value": "Bearer invalid" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/{{CHALLENGE_ID2}}", "host": [ @@ -19259,6 +18995,7 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { @@ -19270,7 +19007,7 @@ { "listen": "test", "script": { - "id": "ff61fba9-8136-4592-97b4-76726144d8eb", + "id": "8cd6dcc0-7e2a-4550-9d68-e2a6ee882e56", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19299,10 +19036,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?page=1&perPage=10&id={{CHALLENGE_ID1}}&track=track&name=TEST&description=test&reviewType=review type&tag=tag3&projectId=123&createdDateStart=2017-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z&updatedDateStart=2017-02-22T00:00:00Z&updatedDateEnd=2028-02-22T00:00:00Z&createdBy=Tonyj&updatedBy=Tonyj&memberId=40309246&confidentialityType=public", "host": [ @@ -19391,7 +19124,7 @@ { "listen": "test", "script": { - "id": "adc03f49-c9d4-4a33-910e-07eec2c265f1", + "id": "045c41dc-b10b-4a5a-b399-1c8116857f11", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19420,10 +19153,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=2017-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z&memberId=40309246", "host": [ @@ -19465,7 +19194,7 @@ { "listen": "test", "script": { - "id": "a8298fbd-aee3-45de-ad28-5fbee4555fdc", + "id": "f536945f-4629-4321-b680-f5f6f07f9ff3", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19494,10 +19223,6 @@ "value": "Bearer {{copilot1_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=2017-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z&memberId=151743", "host": [ @@ -19539,7 +19264,7 @@ { "listen": "test", "script": { - "id": "daf343bf-80f0-498c-8a2d-cfdbc31d4d53", + "id": "55a96754-175f-4852-ab68-ff0b01d3f78a", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19568,10 +19293,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=2017-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -19609,7 +19330,7 @@ { "listen": "test", "script": { - "id": "2d76050e-f82d-47c0-8e32-bc109984dc6d", + "id": "af0fbc21-ce73-46c0-ad7b-1ecd0b94b242", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -19633,10 +19354,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=100", "host": [ @@ -19676,7 +19393,7 @@ { "listen": "test", "script": { - "id": "afdeb06e-e13f-4c63-aeba-d7b030331d0e", + "id": "93454956-0f82-497a-9526-c9b1fa4e88e9", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19700,10 +19417,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=abc&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -19741,7 +19454,7 @@ { "listen": "test", "script": { - "id": "28ed1f1a-08d6-4139-9fad-a25e925fa5ac", + "id": "a73f1eec-ed99-49f2-9b6c-06854dae4fb2", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19765,10 +19478,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?invalid=test-", "host": [ @@ -19793,7 +19502,7 @@ { "listen": "test", "script": { - "id": "7a1a86ed-a8ae-4192-ae38-03bfe7331bb3", + "id": "69c967ca-ff91-4740-b6d1-89b38f81d446", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19817,10 +19526,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?typeId=111", "host": [ @@ -19845,7 +19550,7 @@ { "listen": "test", "script": { - "id": "2c57375f-43d7-4c2c-bdfe-e14d8b31c30c", + "id": "5bfe9101-af69-45b9-98e8-ae6e81e5feaf", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19869,10 +19574,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?id=test-", "host": [ @@ -19897,7 +19598,7 @@ { "listen": "test", "script": { - "id": "edfef97d-5e9d-4f01-aeb5-a0fef58f137f", + "id": "96f1f797-17e4-4b6f-a17c-d10e23f98467", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19921,10 +19622,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?timelineTemplateId=test-", "host": [ @@ -19949,7 +19646,7 @@ { "listen": "test", "script": { - "id": "34263571-1570-44bf-8721-82cd32bc798c", + "id": "c692c643-ad97-4282-89c4-d253ec7863d1", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -19973,10 +19670,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?projectId=test-", "host": [ @@ -20001,7 +19694,7 @@ { "listen": "test", "script": { - "id": "7dd82ac5-2311-4660-b141-374b7d5a8649", + "id": "c7116a0e-608d-4234-bdc4-3781c1f9b7b4", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20025,10 +19718,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?forumId=test-", "host": [ @@ -20053,7 +19742,7 @@ { "listen": "test", "script": { - "id": "65e3e6bf-0aeb-4e1f-8447-890bc8230c57", + "id": "065ed4d1-7236-4356-9ea8-250b69e0c16f", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20077,10 +19766,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?legacyId=test-", "host": [ @@ -20105,7 +19790,7 @@ { "listen": "test", "script": { - "id": "15c7e380-8907-4074-a92b-0d284b947fdd", + "id": "f7b81e92-a7ab-4a6d-bbca-13e5b41db474", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20129,10 +19814,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?status=status-", "host": [ @@ -20157,7 +19838,7 @@ { "listen": "test", "script": { - "id": "c555c2a5-3233-416f-a92d-1453dfbc0e06", + "id": "ee5efc8f-9728-4f9d-9147-bcb5d699dad3", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20181,10 +19862,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?gitRepoURL=test-", "host": [ @@ -20209,7 +19886,7 @@ { "listen": "test", "script": { - "id": "feed3612-7d91-4662-999e-0b33b2564bd8", + "id": "54ffb3c7-2e62-4348-be03-fb2aad11364d", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20233,10 +19910,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?currentPhaseId=test-", "host": [ @@ -20261,7 +19934,7 @@ { "listen": "test", "script": { - "id": "84502893-d866-4463-af9b-5b1701e55af9", + "id": "ca11087f-205d-4346-9440-3d90659ba037", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -20285,10 +19958,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?memberId=test-", "host": [ @@ -20313,7 +19982,7 @@ { "listen": "test", "script": { - "id": "cf6d6cc6-3d5e-48ab-b8d3-9bd5c5eb5320", + "id": "a3d8ee13-1da5-4f1e-945f-46e67addca05", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -20342,10 +20011,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=2016-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -20383,7 +20048,7 @@ { "listen": "test", "script": { - "id": "3ad23fcd-43e1-4031-96a2-42b293df35e8", + "id": "5b13e4ce-4a4f-4a18-98eb-45243ac96b04", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -20412,10 +20077,6 @@ "value": "Bearer {{m2m_challenge_attachments_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?perPage=10&createdDateStart=2017-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -20453,7 +20114,7 @@ { "listen": "test", "script": { - "id": "c55d74fa-55e1-47e8-8e83-66617a3ca6dc", + "id": "a9a414ee-ab76-479c-a512-d2a661021bd3", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -20482,10 +20143,6 @@ "type": "text" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges?page=1&perPage=10&startDateStart=2019-06-01T00:00:00Z&startDateEnd=2019-06-30T23:59:59Z&endDateStart=2361-01-01T00:00:00Z&endDateEnd=2361-12-31T23:59:59Z", "host": [ @@ -20525,9 +20182,11 @@ "response": [] } ], + "protocolProfileBehavior": {}, "_postman_isSubFolder": true } - ] + ], + "protocolProfileBehavior": {} }, { "name": "AuditLogs", @@ -20538,7 +20197,7 @@ { "listen": "test", "script": { - "id": "3597c169-ba39-4147-b203-106a3295b661", + "id": "46684084-38e1-46d6-929d-2e561974f75f", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -20567,10 +20226,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -20623,7 +20278,7 @@ { "listen": "test", "script": { - "id": "945ec063-298b-4431-88d6-53ee5051af2b", + "id": "10105601-1f84-4c4d-9eb9-d583016ad69d", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -20652,10 +20307,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID2}}&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z&createdBy=ghostar", "host": [ @@ -20697,7 +20348,7 @@ { "listen": "test", "script": { - "id": "29458ab3-015c-4bde-8902-3d73154c40f1", + "id": "942bf170-4e56-4f88-8ccf-f5afbd5a726e", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -20726,10 +20377,6 @@ "value": "Bearer {{user_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&fieldName=n&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2019-03-22T00:00:00Z&createdBy=tonyj", "host": [ @@ -20770,7 +20417,7 @@ { "listen": "test", "script": { - "id": "83567200-a53e-4bd4-8ead-421eabff6a0a", + "id": "3d092185-d179-4832-8be4-3b180a878f23", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -20799,10 +20446,6 @@ "value": "Bearer {{expire_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&fieldName=n&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2019-03-22T00:00:00Z&createdBy=tonyj", "host": [ @@ -20843,7 +20486,7 @@ { "listen": "test", "script": { - "id": "59203ede-7420-4a5d-973e-10cc21c70748", + "id": "4ebbf777-b0b2-4c62-b62d-a97dc6876b5e", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -20867,10 +20510,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&fieldName=n&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2019-03-22T00:00:00Z&createdBy=tonyj", "host": [ @@ -20911,7 +20550,7 @@ { "listen": "test", "script": { - "id": "47cbf030-12bc-46d6-b478-795630d62c57", + "id": "7550e69a-94a4-4d2e-a031-59ffd9823a1d", "exec": [ "pm.test(\"Status code is 401\", function () {", " pm.response.to.have.status(401);", @@ -20940,10 +20579,6 @@ "value": "Bearer invalid" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&fieldName=n&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2019-03-22T00:00:00Z&createdBy=tonyj", "host": [ @@ -20984,7 +20619,7 @@ { "listen": "test", "script": { - "id": "fe570966-b88e-4c83-8974-490683667a5f", + "id": "a41f4e6c-321c-4bea-b255-b8b18549ca12", "exec": [ "pm.test(\"Status code is 400\", function () {", " pm.response.to.have.status(400);", @@ -21013,10 +20648,6 @@ "value": "Bearer {{admin_token}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&invalid=n&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2019-03-22T00:00:00Z&createdBy=tonyj", "host": [ @@ -21057,7 +20688,7 @@ { "listen": "test", "script": { - "id": "84ca7588-0ef3-4811-a2b8-66ebc3be0e14", + "id": "266f8fc0-4675-4ca4-b55f-65c00fbfa072", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -21086,10 +20717,6 @@ "value": "Bearer {{m2m_challenge_audit_logs_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -21142,7 +20769,7 @@ { "listen": "test", "script": { - "id": "92b3c098-d564-4221-bcf8-1687a5372904", + "id": "9a2d7e48-b797-4d05-a347-b7b4d252527f", "exec": [ "pm.test(\"Status code is 403\", function () {", " pm.response.to.have.status(403);", @@ -21171,10 +20798,6 @@ "value": "Bearer {{m2m_challenges_read}}" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenge-audit-logs?challengeId={{CHALLENGE_ID1}}&createdDateStart=2019-02-22T00:00:00Z&createdDateEnd=2022-03-22T00:00:00Z", "host": [ @@ -21221,7 +20844,8 @@ }, "response": [] } - ] + ], + "protocolProfileBehavior": {} }, { "name": "HealthCheck", @@ -21232,7 +20856,7 @@ { "listen": "test", "script": { - "id": "a3604296-80b6-445d-a47b-dec4d3c5ec66", + "id": "ea90d833-a9b4-49db-a390-757601145f71", "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", @@ -21256,10 +20880,6 @@ "value": "application/json" } ], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "{{URL}}/challenges/health", "host": [ @@ -21278,7 +20898,7 @@ { "listen": "prerequest", "script": { - "id": "5853267b-124b-4acd-9af1-38d566fd5d21", + "id": "857b7aca-1823-4007-b1fb-3a38511e2b38", "type": "text/javascript", "exec": [ "" @@ -21288,24 +20908,21 @@ { "listen": "test", "script": { - "id": "7a461f3d-b0b6-4f80-9b45-f1b3151eac99", + "id": "5b13b788-6093-4fbe-b1fe-c68f8c08c0ac", "type": "text/javascript", "exec": [ "" ] } } - ] + ], + "protocolProfileBehavior": {} }, { "name": "Elasticsearch - Get challenge index data", "request": { "method": "GET", "header": [], - "body": { - "mode": "raw", - "raw": "" - }, "url": { "raw": "http://localhost:9200/challenge/_search", "protocol": "http", @@ -21321,5 +20938,6 @@ }, "response": [] } - ] + ], + "protocolProfileBehavior": {} } \ No newline at end of file diff --git a/src/models/Challenge.js b/src/models/Challenge.js index 6c80f66f..72be37ed 100644 --- a/src/models/Challenge.js +++ b/src/models/Challenge.js @@ -108,6 +108,10 @@ const schema = new Schema({ type: Array, required: false }, + discussions: { + type: [Object], + required: false + }, created: { type: Date, required: true diff --git a/src/services/ChallengeService.js b/src/services/ChallengeService.js index 55bfb343..8ac366f4 100644 --- a/src/services/ChallengeService.js +++ b/src/services/ChallengeService.js @@ -762,6 +762,11 @@ async function createChallenge (currentUser, challenge, userToken) { throw new errors.BadRequestError(`Cannot assign a member before the challenge gets created.`) } } + if (challenge.discussions && challenge.discussions.length > 0) { + for (let i = 0; i < challenge.discussions.length; i += 1) { + challenge.discussions[i].id = uuid() + } + } if (challenge.phases && challenge.phases.length > 0) { await helper.validatePhases(challenge.phases) } @@ -888,6 +893,13 @@ createChallenge.schema = { name: Joi.string(), key: Joi.string() })), + discussions: Joi.array().items(Joi.object().keys({ + name: Joi.string().required(), + type: Joi.string().required().valid(_.values(constants.DiscussionTypes)), + provider: Joi.string().required(), + url: Joi.string(), + options: Joi.array().items(Joi.object()) + })), prizeSets: Joi.array().items(Joi.object().keys({ type: Joi.string().valid(_.values(constants.prizeSetTypes)).required(), description: Joi.string(), @@ -1186,6 +1198,27 @@ async function update (currentUser, challengeId, data, userToken, isFull) { throw new errors.ForbiddenError(`Only M2M, admin, challenge's copilot or users with full access can perform modification.`) } + // Only M2M can update url and options of discussions + if (data.discussions && data.discussions.length > 0) { + for (let i = 0; i < data.discussions.length; i += 1) { + if (_.isUndefined(data.discussions[i].id)) { + data.discussions[i].id = uuid() + if (!currentUser.isMachine) { + _.unset(data.discussions, 'url') + _.unset(data.discussions, 'options') + } + } else if (!currentUser.isMachine) { + const existingDiscussion = _.find(_.get(challenge, 'discussions', []), d => d.id === data.discussions[i].id) + if (existingDiscussion) { + _.assign(data.discussions[i], _.pick(existingDiscussion, ['url', 'options'])) + } else { + _.unset(data.discussions, 'url') + _.unset(data.discussions, 'options') + } + } + } + } + // Validate the challenge terms let newTermsOfUse if (!_.isUndefined(data.terms)) { @@ -1656,6 +1689,13 @@ fullyUpdateChallenge.schema = { name: Joi.string(), key: Joi.string() }).unknown(true)), + discussions: Joi.array().items(Joi.object().keys({ + name: Joi.string().required(), + type: Joi.string().required().valid(_.values(constants.DiscussionTypes)), + provider: Joi.string().required(), + url: Joi.string(), + options: Joi.array().items(Joi.object()) + })), tags: Joi.array().items(Joi.string().required()), // tag names projectId: Joi.number().integer().positive().required(), legacyId: Joi.number().integer().positive(), @@ -1728,6 +1768,13 @@ partiallyUpdateChallenge.schema = { name: Joi.string(), key: Joi.string() }).unknown(true)), + discussions: Joi.array().items(Joi.object().keys({ + name: Joi.string().required(), + type: Joi.string().required().valid(_.values(constants.DiscussionTypes)), + provider: Joi.string().required(), + url: Joi.string(), + options: Joi.array().items(Joi.object()) + })), startDate: Joi.date(), prizeSets: Joi.array().items(Joi.object().keys({ type: Joi.string().valid(_.values(constants.prizeSetTypes)).required(),