{ "uuid": "20b7d593-ee9e-43ef-91b7-6f63303100c1", "lastMigration": 29, "name": "LaunchDarkly REST API", "endpointPrefix": "api/v2", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a1cb0a87-725a-490b-bbef-98280af072da", "documentation": "You can issue a GET request to the root resource to find all of the resource categories supported by the API.", "method": "get", "endpoint": "", "responses": [ { "uuid": "1b963155-40df-41ce-bb99-4e5c079ca28a", "body": "{\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A list of links to available resources in the API.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9b66a814-9d3a-49be-8646-52dc36151c0d", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "49ccb157-9407-44df-b2df-fece8c52ad6b", "documentation": "Returns a list of relay proxy configurations in the account.", "method": "get", "endpoint": "account/relay-auto-configs", "responses": [ { "uuid": "f4920183-cb12-4177-8bb9-dea1c2a763d8", "body": "{\n \"items\": [\n {\n \"_creator\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": 1443652232590,\n \"displayKey\": \"66eo\",\n \"fullKey\": \"rel-8a3a773d-b75e-48eb-a850-492cda9266eo\",\n \"lastModified\": 1469326565348,\n \"name\": \"My relay proxy config\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Relay proxy configs response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6a538aff-4d14-4a1b-9a53-309524104649", "documentation": "Create a new relay proxy config.", "method": "post", "endpoint": "account/relay-auto-configs", "responses": [ { "uuid": "ace9990d-bc3b-458d-9ce1-66c9e5a9f3eb", "body": "{\n \"_creator\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": 1443652232590,\n \"displayKey\": \"66eo\",\n \"fullKey\": \"rel-8a3a773d-b75e-48eb-a850-492cda9266eo\",\n \"lastModified\": 1469326565348,\n \"name\": \"My relay proxy config\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Relay proxy config response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "540a5aa6-234d-4ff1-9d9a-2001e3c871d6", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "068b4361-59dc-48e0-996c-61886d19326d", "body": "", "latency": 0, "statusCode": 403, "label": "Access to the requested resource was denied.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "09ea944b-a672-4d1d-8fc7-0ecf7e7866be", "documentation": "Delete a relay proxy configuration by ID.", "method": "delete", "endpoint": "account/relay-auto-configs/:id", "responses": [ { "uuid": "eec4c594-fc78-439c-a623-61a22870a53d", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "91a82b25-32bc-41cf-81b4-9fb7ca7ee237", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "67f43515-4a59-44f2-834f-c3be586e6b7b", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9fa8acaa-52fa-4f5d-ac2b-f53528775645", "documentation": "Get a single relay proxy configuration by ID.", "method": "get", "endpoint": "account/relay-auto-configs/:id", "responses": [ { "uuid": "20537bc6-d46e-4e66-8c96-e824e730bf2c", "body": "{\n \"_creator\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": 1443652232590,\n \"displayKey\": \"66eo\",\n \"fullKey\": \"rel-8a3a773d-b75e-48eb-a850-492cda9266eo\",\n \"lastModified\": 1469326565348,\n \"name\": \"My relay proxy config\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Relay proxy config response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "307939de-c9eb-42dd-b3df-4cb2c624942f", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7d05288b-8cc6-42e9-b99d-0823e2484c8d", "documentation": "Modify a relay proxy configuration by ID.", "method": "patch", "endpoint": "account/relay-auto-configs/:id", "responses": [ { "uuid": "f04c0221-e3be-4584-8ee0-d0f6173a9df2", "body": "{\n \"_creator\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": 1443652232590,\n \"displayKey\": \"66eo\",\n \"fullKey\": \"rel-8a3a773d-b75e-48eb-a850-492cda9266eo\",\n \"lastModified\": 1469326565348,\n \"name\": \"My relay proxy config\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Relay proxy config response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "68bffb62-865a-446f-aff4-fcf0e793a64a", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "590cffbd-23f5-4dee-b41b-9be359d36f2a", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "29698e5f-be0c-4962-be95-d9424adbe843", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "379508b3-10ee-42a6-9de7-8fc6e6e6219f", "documentation": "Reset a relay proxy configuration's secret key with an optional expiry time for the old key.", "method": "post", "endpoint": "account/relay-auto-configs/:id/reset", "responses": [ { "uuid": "373b299e-0b18-4ede-9025-62163adc08bc", "body": "{\n \"_creator\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": 1443652232590,\n \"displayKey\": \"66eo\",\n \"fullKey\": \"rel-8a3a773d-b75e-48eb-a850-492cda9266eo\",\n \"lastModified\": 1469326565348,\n \"name\": \"My relay proxy config\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Relay proxy config response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "92faa17a-70d5-4556-a58c-a28e53903b27", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08d098fa-d716-49d5-916e-ccfa783fe8da", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "110419eb-33f2-4252-90e7-644313a23b46", "documentation": "Get a list of all audit log entries. The query parameters allow you to restrict the returned results by date ranges, resource specifiers, or a full-text search query.", "method": "get", "endpoint": "auditlog", "responses": [ { "uuid": "afd6c507-e867-40b3-b707-a89c6b7d8003", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"comment\": \"This is a comment string\",\n \"date\": 1472243938774,\n \"description\": \"Changed the name from Test to Testing\",\n \"kind\": \"environment\",\n \"member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"name\": \"Testing\",\n \"shortDescription\": \"\\\"\\\"\",\n \"target\": {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Testing\",\n \"resources\": [\n \"proj/alexis:env/test\"\n ]\n },\n \"title\": \"[Reese Applebaum](mailto:refapp@launchdarkly.com) changed the name of [Testing](https://app.launchdarkly.com/settings#/projects)\",\n \"titleVerb\": \"changed the name of\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Audit log entries response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "956ae537-a5ce-4170-b0b5-48ff5bced41c", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55bde0a2-f1ff-447c-a8f8-3ad64d17fd15", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "144ae9b1-5fbb-4fe7-b217-c0292fe47a7f", "documentation": "Use this endpoint to fetch a single audit log entry by its resouce ID.", "method": "get", "endpoint": "auditlog/:resourceId", "responses": [ { "uuid": "886c8633-a1d9-48d0-84af-76167721ff5c", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"comment\": \"This is a comment string\",\n \"date\": 1472243938774,\n \"description\": \"Changed the name from Test to Testing\",\n \"kind\": \"environment\",\n \"member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"name\": \"Testing\",\n \"shortDescription\": \"\\\"\\\"\",\n \"target\": {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Testing\",\n \"resources\": [\n \"proj/alexis:env/test\"\n ]\n },\n \"title\": \"[Reese Applebaum](mailto:refapp@launchdarkly.com) changed the name of [Testing](https://app.launchdarkly.com/settings#/projects)\",\n \"titleVerb\": \"changed the name of\"\n}", "latency": 0, "statusCode": 200, "label": "Audit log entry response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e3f91c4b-c03c-435e-b921-818c8c96c88d", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a3a235a3-6475-49a4-8ffb-42d2634a1b09", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "abb724ff-5f71-4e17-b750-f4a306db46c3", "documentation": "Returns a list of all data export destinations.", "method": "get", "endpoint": "destinations", "responses": [ { "uuid": "02815044-1444-4622-86b6-fbda74682fd9", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"37ed9aad-de0a-4665-932e-41c35587aeea\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"config\": {\n \"project\": \"cool-project\",\n \"topic\": \"test\"\n },\n \"kind\": \"{{oneOf (array 'google-pubsub' 'kinesis' 'mparticle' 'segment')}}\",\n \"name\": \"Example Google Pub/Sub Destination\",\n \"on\": true,\n \"version\": 2\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Destinations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "35b6923b-66b3-4d6e-a541-bd79fef48c13", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6b272092-dbdd-4727-90af-6d24dd19104f", "documentation": "Create a new data export destination", "method": "post", "endpoint": "destinations/:projectKey/:environmentKey", "responses": [ { "uuid": "da4b8c61-cabc-44d0-aa96-c35d6b628b13", "body": "{\n \"_id\": \"37ed9aad-de0a-4665-932e-41c35587aeea\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"config\": {\n \"project\": \"cool-project\",\n \"topic\": \"test\"\n },\n \"kind\": \"{{oneOf (array 'google-pubsub' 'kinesis' 'mparticle' 'segment')}}\",\n \"name\": \"Example Google Pub/Sub Destination\",\n \"on\": true,\n \"version\": 2\n}", "latency": 0, "statusCode": 201, "label": "Destination response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "67a2fbb4-9234-4643-8dd8-b063c67d3de5", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ed59a4e-872d-4e5d-bea4-c04740a165fc", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e174037b-c5b6-479f-9b28-e72401278b87", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8072c44d-46c4-49dd-a37f-445755a207d7", "documentation": "Get a single data export destination by ID", "method": "delete", "endpoint": "destinations/:projectKey/:environmentKey/:destinationId", "responses": [ { "uuid": "01313820-6d50-4f0b-854e-45c24a3184db", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cefb7dd2-fe32-4fad-a431-cdd7143da2da", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c8ae6c79-2895-43e1-b93e-3d36817369f5", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ab75ddfd-89ef-43db-b780-046d1d05dc13", "documentation": "Get a single data export destination by ID", "method": "get", "endpoint": "destinations/:projectKey/:environmentKey/:destinationId", "responses": [ { "uuid": "3f7a2a06-32e9-4459-8eee-0c24616f3c22", "body": "{\n \"_id\": \"37ed9aad-de0a-4665-932e-41c35587aeea\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"config\": {\n \"project\": \"cool-project\",\n \"topic\": \"test\"\n },\n \"kind\": \"{{oneOf (array 'google-pubsub' 'kinesis' 'mparticle' 'segment')}}\",\n \"name\": \"Example Google Pub/Sub Destination\",\n \"on\": true,\n \"version\": 2\n}", "latency": 0, "statusCode": 200, "label": "Destination response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a4afcf97-c369-4402-9afa-a45fa71803f9", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c822db76-7d51-4da2-82e3-051c6d429ccd", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "82dd6c82-3b1e-400c-95f8-f25be8aafe51", "documentation": "Perform a partial update to a data export destination.", "method": "patch", "endpoint": "destinations/:projectKey/:environmentKey/:destinationId", "responses": [ { "uuid": "f9b2ac59-555b-4135-96db-adc1e370d4b9", "body": "{\n \"_id\": \"37ed9aad-de0a-4665-932e-41c35587aeea\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"config\": {\n \"project\": \"cool-project\",\n \"topic\": \"test\"\n },\n \"kind\": \"{{oneOf (array 'google-pubsub' 'kinesis' 'mparticle' 'segment')}}\",\n \"name\": \"Example Google Pub/Sub Destination\",\n \"on\": true,\n \"version\": 2\n}", "latency": 0, "statusCode": 200, "label": "Destination response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fcd68cb6-a017-4898-9771-438fa382b363", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dd929e03-7d9d-4816-8612-55a20d64347f", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bc7719bc-417b-4bb1-a753-7f75bcfc0bd1", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fbcaa2a7-6efc-4938-b4cc-bc6af6bb3ef4", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3f6cf48f-2926-43a3-8a09-00c36747bc63", "documentation": "Get the status for a particular feature flag across environments", "method": "get", "endpoint": "flag-status/:projectKey/:featureFlagKey", "responses": [ { "uuid": "001320bf-530a-43ee-952c-d73c1fff32ba", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"environments\": {},\n \"key\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Status of the requested feature flag across environments", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e28bb267-f38c-4ed2-98de-116dcf02b932", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e6df1ba5-0f0f-4e85-ac78-6e50ce655694", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0d937e79-cec4-45f8-b9be-d4017d1e4413", "documentation": "Get a list of statuses for all feature flags. The status includes the last time the feature flag was requested, as well as the state of the flag.", "method": "get", "endpoint": "flag-statuses/:projectKey/:environmentKey", "responses": [ { "uuid": "ef51cfad-366e-4f41-ac77-2fe5dfb40b77", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"default\": {},\n \"lastRequested\": \"2016-08-16T21:10:11.886Z\",\n \"name\": \"{{oneOf (array 'new' 'active' 'inactive' 'launched')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "List of feature flag statuses.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "55af6bc9-f4f3-4a70-b8fb-641bd5bc166b", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9733d858-88ad-4881-a097-4835c7f906aa", "documentation": "Get the status for a particular feature flag.", "method": "get", "endpoint": "flag-statuses/:projectKey/:environmentKey/:featureFlagKey", "responses": [ { "uuid": "169df971-e032-45e6-ad81-2d18fc3fb0c5", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"default\": {},\n \"lastRequested\": \"2016-08-16T21:10:11.886Z\",\n \"name\": \"{{oneOf (array 'new' 'active' 'inactive' 'launched')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Status of the requested feature flag.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "04a10cdf-5ecb-4d24-9dab-21aeb75172b1", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "84fe5fc1-70e2-46f5-9de8-da377f89f69f", "documentation": "Get a list of all features in the given project.", "method": "get", "endpoint": "flags/:projectKey", "responses": [ { "uuid": "73d6c654-fe70-416c-8e1f-add238002395", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_maintainer\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_version\": 23,\n \"archived\": {{faker 'datatype.boolean'}},\n \"archivedDate\": 1443652232590,\n \"clientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"creationDate\": 1443652232590,\n \"customProperties\": {\n \"bugs\": {\n \"name\": \"Issue tracker ids\",\n \"value\": [\n \"123\",\n \"456\"\n ]\n },\n \"deprecated\": {\n \"name\": \"Deprecated Date\",\n \"value\": []\n }\n },\n \"defaults\": {\n \"offVariation\": {{faker 'number.int' max=99999}},\n \"onVariation\": {{faker 'number.int' max=99999}}\n },\n \"description\": \"This flag controls whether test feature is turned on or not.\",\n \"environments\": {},\n \"goalIds\": [\n \"d7239405bd89c930e885aa76\",\n \"405bc930e88d7239d895aa76\"\n ],\n \"includeInSnippet\": {{faker 'datatype.boolean'}},\n \"key\": \"test-feature\",\n \"kind\": \"boolean\",\n \"maintainerId\": \"561c579cd8fd5c2704000001\",\n \"name\": \"Test Feature\",\n \"tags\": [],\n \"temporary\": {{faker 'datatype.boolean'}},\n \"variations\": [\n {\n \"value\": \"a\"\n },\n {\n \"value\": \"b\"\n }\n ]\n }\n ],\n \"totalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Flags response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "724731f6-17bc-4bf1-9bf9-c5dfb0923815", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2708fd0a-708d-4295-bada-e7848d2379fd", "documentation": "Creates a new feature flag.", "method": "post", "endpoint": "flags/:projectKey", "responses": [ { "uuid": "c0945dca-4a36-4127-882b-8139dbf2da2d", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_maintainer\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_version\": 23,\n \"archived\": {{faker 'datatype.boolean'}},\n \"archivedDate\": 1443652232590,\n \"clientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"creationDate\": 1443652232590,\n \"customProperties\": {\n \"bugs\": {\n \"name\": \"Issue tracker ids\",\n \"value\": [\n \"123\",\n \"456\"\n ]\n },\n \"deprecated\": {\n \"name\": \"Deprecated Date\",\n \"value\": []\n }\n },\n \"defaults\": {\n \"offVariation\": {{faker 'number.int' max=99999}},\n \"onVariation\": {{faker 'number.int' max=99999}}\n },\n \"description\": \"This flag controls whether test feature is turned on or not.\",\n \"environments\": {},\n \"goalIds\": [\n \"d7239405bd89c930e885aa76\",\n \"405bc930e88d7239d895aa76\"\n ],\n \"includeInSnippet\": {{faker 'datatype.boolean'}},\n \"key\": \"test-feature\",\n \"kind\": \"boolean\",\n \"maintainerId\": \"561c579cd8fd5c2704000001\",\n \"name\": \"Test Feature\",\n \"tags\": [],\n \"temporary\": {{faker 'datatype.boolean'}},\n \"variations\": [\n {\n \"value\": \"a\"\n },\n {\n \"value\": \"b\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a30a2fbc-882f-48c8-83e5-dc469a5afd08", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71193c38-4194-483c-aaae-ecf1a8830921", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "adf2610b-0e94-49f5-a654-0389512d4863", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0544c920-a162-4532-a179-43b3a89eb469", "documentation": "Get dependent flags for the flag in the environment specified in path parameters", "method": "get", "endpoint": "flags/:projectKey/:environmentKey/:featureFlagKey/dependent-flags", "responses": [ { "uuid": "94c0adcd-6f4e-4c64-b2c7-6216571fa03d", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"items\": [\n {\n \"_links\": {\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Dependent flags in a single envrionemnt response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9ab27020-8e9a-4bec-98c1-fceeebdbd428", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a5dc773-5961-4af5-beee-9cc20d7fba21", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d7af1c9b-54d4-4810-8a2a-0802b2d5f9fb", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "11f82af5-c7d0-4b4a-ba47-333982804007", "documentation": "Delete a feature flag in all environments. Be careful-- only delete feature flags that are no longer being used by your application.", "method": "delete", "endpoint": "flags/:projectKey/:featureFlagKey", "responses": [ { "uuid": "ad30521a-fb47-43ae-af69-6acdbcc3bd95", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fce9ba5c-a2cc-4abd-8afa-0da1766548be", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08fe060c-a4aa-4c96-aaef-64dea4618f58", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0435d4b7-09d9-45f6-81ce-e706ac320a93", "documentation": "Get a single feature flag by key.", "method": "get", "endpoint": "flags/:projectKey/:featureFlagKey", "responses": [ { "uuid": "77b838ec-8aaa-4e5f-951e-6d1dfee3ad6e", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_maintainer\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_version\": 23,\n \"archived\": {{faker 'datatype.boolean'}},\n \"archivedDate\": 1443652232590,\n \"clientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"creationDate\": 1443652232590,\n \"customProperties\": {\n \"bugs\": {\n \"name\": \"Issue tracker ids\",\n \"value\": [\n \"123\",\n \"456\"\n ]\n },\n \"deprecated\": {\n \"name\": \"Deprecated Date\",\n \"value\": []\n }\n },\n \"defaults\": {\n \"offVariation\": {{faker 'number.int' max=99999}},\n \"onVariation\": {{faker 'number.int' max=99999}}\n },\n \"description\": \"This flag controls whether test feature is turned on or not.\",\n \"environments\": {},\n \"goalIds\": [\n \"d7239405bd89c930e885aa76\",\n \"405bc930e88d7239d895aa76\"\n ],\n \"includeInSnippet\": {{faker 'datatype.boolean'}},\n \"key\": \"test-feature\",\n \"kind\": \"boolean\",\n \"maintainerId\": \"561c579cd8fd5c2704000001\",\n \"name\": \"Test Feature\",\n \"tags\": [],\n \"temporary\": {{faker 'datatype.boolean'}},\n \"variations\": [\n {\n \"value\": \"a\"\n },\n {\n \"value\": \"b\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "77305e4f-0787-42f9-b286-35cda76ee093", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "68133320-3f5d-4758-b229-470b02456d2e", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1a08a88f-3a1b-417a-b992-27795f898f47", "documentation": "Perform a partial update to a feature.", "method": "patch", "endpoint": "flags/:projectKey/:featureFlagKey", "responses": [ { "uuid": "6afe83aa-361d-480e-95df-e2e4fa48cd6c", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_maintainer\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_version\": 23,\n \"archived\": {{faker 'datatype.boolean'}},\n \"archivedDate\": 1443652232590,\n \"clientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"creationDate\": 1443652232590,\n \"customProperties\": {\n \"bugs\": {\n \"name\": \"Issue tracker ids\",\n \"value\": [\n \"123\",\n \"456\"\n ]\n },\n \"deprecated\": {\n \"name\": \"Deprecated Date\",\n \"value\": []\n }\n },\n \"defaults\": {\n \"offVariation\": {{faker 'number.int' max=99999}},\n \"onVariation\": {{faker 'number.int' max=99999}}\n },\n \"description\": \"This flag controls whether test feature is turned on or not.\",\n \"environments\": {},\n \"goalIds\": [\n \"d7239405bd89c930e885aa76\",\n \"405bc930e88d7239d895aa76\"\n ],\n \"includeInSnippet\": {{faker 'datatype.boolean'}},\n \"key\": \"test-feature\",\n \"kind\": \"boolean\",\n \"maintainerId\": \"561c579cd8fd5c2704000001\",\n \"name\": \"Test Feature\",\n \"tags\": [],\n \"temporary\": {{faker 'datatype.boolean'}},\n \"variations\": [\n {\n \"value\": \"a\"\n },\n {\n \"value\": \"b\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fa0e850d-269c-4234-a8cb-a51a253a0bdd", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5de8b447-73eb-4550-886f-71dbc0f6a152", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "34ffcf08-944d-4b0a-a7e1-b55ef13f2173", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "56e01c8a-09c1-492c-a382-03d668186766", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "50fd6715-e70d-44dd-91a1-07212b82d7b8", "documentation": "Copies the feature flag configuration from one environment to the same feature flag in another environment.", "method": "post", "endpoint": "flags/:projectKey/:featureFlagKey/copy", "responses": [ { "uuid": "32cc4820-973d-444a-abfa-f9994a3f0e33", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_maintainer\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"_version\": 23,\n \"archived\": {{faker 'datatype.boolean'}},\n \"archivedDate\": 1443652232590,\n \"clientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"creationDate\": 1443652232590,\n \"customProperties\": {\n \"bugs\": {\n \"name\": \"Issue tracker ids\",\n \"value\": [\n \"123\",\n \"456\"\n ]\n },\n \"deprecated\": {\n \"name\": \"Deprecated Date\",\n \"value\": []\n }\n },\n \"defaults\": {\n \"offVariation\": {{faker 'number.int' max=99999}},\n \"onVariation\": {{faker 'number.int' max=99999}}\n },\n \"description\": \"This flag controls whether test feature is turned on or not.\",\n \"environments\": {},\n \"goalIds\": [\n \"d7239405bd89c930e885aa76\",\n \"405bc930e88d7239d895aa76\"\n ],\n \"includeInSnippet\": {{faker 'datatype.boolean'}},\n \"key\": \"test-feature\",\n \"kind\": \"boolean\",\n \"maintainerId\": \"561c579cd8fd5c2704000001\",\n \"name\": \"Test Feature\",\n \"tags\": [],\n \"temporary\": {{faker 'datatype.boolean'}},\n \"variations\": [\n {\n \"value\": \"a\"\n },\n {\n \"value\": \"b\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Flag configuration copy response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ac7b160e-5dd2-464e-996d-0e7608cb71e5", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e814342c-b9fa-409f-8288-6c57844e03e6", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ddf44e0a-50c2-4167-b233-4b602172480c", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "81689127-55e1-4ba8-a9dc-2a3482325bfd", "documentation": "Get dependent flags across all environments for the flag specified in the path parameters", "method": "get", "endpoint": "flags/:projectKey/:featureFlagKey/dependent-flags", "responses": [ { "uuid": "803fd773-2e8e-4e6b-80bd-9b815a5bddf7", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"items\": [\n {\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"environments\": [\n {\n \"_links\": {\n \"flagLink\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ],\n \"key\": \"\",\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Dependent flags accross all environemnts in the project response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2aec8d3f-a7dd-401d-bcd7-356bfb49b2fa", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f39f04b7-f7e9-4c48-b753-5ce84f2a7334", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f2f174dd-2fe5-432c-9839-7f1c49257b82", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a709e50b-32a9-4736-9abf-c4ecfb9f98d3", "documentation": "Get expiring user targets for feature flag", "method": "get", "endpoint": "flags/:projectKey/:featureFlagKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "c6e1da5b-eb71-4bf1-81cd-f9e3fdc44388", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"userKey\": \"\",\n \"variationId\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "User targets of the requested feature flag.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "797d1307-27e2-46da-bd2b-16b6f154dfa9", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d2ec8f33-3925-495e-b044-ed71715c1afa", "documentation": "Update, add, or delete expiring user targets on feature flag", "method": "patch", "endpoint": "flags/:projectKey/:featureFlagKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "ca9c194c-ac28-46bb-9c8f-ff53dd3eb1da", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"userKey\": \"\",\n \"variationId\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "User targeting expirations on feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3d01d13a-1de7-4a25-a1cc-2c4104b34c99", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b35ebfe1-4122-4ad9-be03-ccb5125f97c0", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c9e5d2c6-fc33-444e-a101-8187900d46e2", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1e2d9b45-7f91-4f8d-b309-e59433ba2cf4", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "69dd655d-690a-4b96-a1c3-de46a46aa56d", "documentation": "Get a list of all configured audit log event integrations associated with this account.", "method": "get", "endpoint": "integrations", "responses": [ { "uuid": "43128495-4bb7-403a-87ef-fafc6635c36c", "body": "{\n \"_links\": {\n \"appdynamics\": {\n \"href\": \"/api/v2/integrations/appdynamics\",\n \"type\": \"application/json\"\n },\n \"splunk\": {\n \"href\": \"/api/v2/integrations/splunk\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_status\": {\n \"errorCount\": 2,\n \"lastSuccess\": 1443652232590,\n \"successCount\": 6\n },\n \"config\": {\n \"apiKey\": \"582**************************116\",\n \"hostURL\": \"https://api.datadoghq.com\"\n },\n \"kind\": \"datadog\",\n \"name\": \"V2\",\n \"on\": true,\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n \"\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Integrations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cd4501df-e728-4042-87fd-a4f81d00273e", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1e8e7080-205f-4b79-8efa-b35586f10051", "documentation": "Get a list of all configured integrations of a given kind.", "method": "get", "endpoint": "integrations/:integrationKey", "responses": [ { "uuid": "3dcc2c2e-279c-41e1-b591-187099038d9b", "body": "{\n \"_links\": {\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_status\": {\n \"errorCount\": 2,\n \"lastSuccess\": 1443652232590,\n \"successCount\": 6\n },\n \"config\": {\n \"apiKey\": \"582**************************116\",\n \"hostURL\": \"https://api.datadoghq.com\"\n },\n \"kind\": \"datadog\",\n \"name\": \"V2\",\n \"on\": true,\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n \"\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Integrations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fe8b0b83-e3dc-465c-b266-e89aec9e4158", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9dfd2d5c-6900-4f7c-ac42-3838c21d460c", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3660b59d-ac4f-47dd-8f59-2510942ca424", "documentation": "Create a new integration subscription of a given kind.", "method": "post", "endpoint": "integrations/:integrationKey", "responses": [ { "uuid": "8e72dd9c-cd2c-4c44-9dba-baf970b82b78", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_status\": {\n \"errorCount\": 2,\n \"lastSuccess\": 1443652232590,\n \"successCount\": 6\n },\n \"config\": {\n \"apiKey\": \"582**************************116\",\n \"hostURL\": \"https://api.datadoghq.com\"\n },\n \"kind\": \"datadog\",\n \"name\": \"V2\",\n \"on\": true,\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 201, "label": "Integrations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2b8340ee-efcf-4268-b64a-13e5e20e209d", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2725175d-31a9-4977-a620-b5e033d23bec", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "89d458cb-7f8d-4654-9c1e-b81d11649f97", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d9a78ac7-49fc-47ef-a3c2-f6fd062e0eb0", "documentation": "Delete an integration subscription by ID.", "method": "delete", "endpoint": "integrations/:integrationKey/:integrationId", "responses": [ { "uuid": "afb0a9d3-f8cd-4f9a-b1d7-64fe32b9a5f8", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bedc0a5e-abd8-4baa-8cf4-375449f640f5", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ebd6030-b550-4a7f-afd6-403e88b7f59f", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0aa3e1a-ae0c-4b70-9b93-aa4982d64a06", "documentation": "Get a single integration subscription by ID.", "method": "get", "endpoint": "integrations/:integrationKey/:integrationId", "responses": [ { "uuid": "23130836-b079-48e4-b247-8ab64c9a13a0", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_status\": {\n \"errorCount\": 2,\n \"lastSuccess\": 1443652232590,\n \"successCount\": 6\n },\n \"config\": {\n \"apiKey\": \"582**************************116\",\n \"hostURL\": \"https://api.datadoghq.com\"\n },\n \"kind\": \"datadog\",\n \"name\": \"V2\",\n \"on\": true,\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Integrations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "800bcf68-3e32-438a-8f75-6630ccfc262d", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "99decd4b-4183-4c1b-ba8f-34825509ab1a", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6fb1d413-d765-4a17-8565-2a0b96defc17", "documentation": "Modify an integration subscription by ID.", "method": "patch", "endpoint": "integrations/:integrationKey/:integrationId", "responses": [ { "uuid": "d790eb76-b55f-4dc4-8692-e542774159dc", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_status\": {\n \"errorCount\": 2,\n \"lastSuccess\": 1443652232590,\n \"successCount\": 6\n },\n \"config\": {\n \"apiKey\": \"582**************************116\",\n \"hostURL\": \"https://api.datadoghq.com\"\n },\n \"kind\": \"datadog\",\n \"name\": \"V2\",\n \"on\": true,\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Integrations response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ff32d75a-d9e3-4d58-864d-84e80ff07d49", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0ab0581e-7972-4c7b-9fd3-ec482965339f", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "79d73258-5246-46a6-9a76-4c8ecfdc79df", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8ad83f1e-e069-4cd2-b30d-09cace2a1083", "documentation": "Returns a list of all members in the account.", "method": "get", "endpoint": "members", "responses": [ { "uuid": "169ec902-05ca-4dd5-8fef-e80b315cc4bd", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n }\n ],\n \"totalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Members response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "375c1b7b-90c2-40ca-bf6c-4232aee99a36", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0feb25d0-ed3f-4fda-a321-f06c60e9cd9b", "documentation": "Invite new members.", "method": "post", "endpoint": "members", "responses": [ { "uuid": "52fe7a3d-7667-49c9-a6f8-dce042f84818", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n }\n ],\n \"totalCount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 201, "label": "Members response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "496c6b03-5545-4b96-960d-d0fab451a76b", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "45a0cdc8-2a97-4599-a70d-053c0e7a49c9", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ebfc5e27-7ea1-4639-b428-099729680277", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a42cc614-129c-4df2-ae75-d764acc51a7b", "documentation": "Get the current team member associated with the token", "method": "get", "endpoint": "members/me", "responses": [ { "uuid": "0ff6d562-389a-432f-a7fa-38535445873f", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Member response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6c9ebd30-cc0d-410e-b58d-43d69a6f989c", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f552f2a9-b476-4196-8224-6fc69449f635", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2bc94fda-d517-4fa2-9324-a618f3020821", "documentation": "Delete a team member by ID.", "method": "delete", "endpoint": "members/:memberId", "responses": [ { "uuid": "77762ac0-39e7-4059-b025-63b15a51d929", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d19ecb6c-bc1f-4ef2-8182-d88965c2385f", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "46d08067-cdf0-4428-96dd-d22b3648f171", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9250c57e-98a7-423d-a1e4-3a0802b708fc", "documentation": "Get a single team member by ID.", "method": "get", "endpoint": "members/:memberId", "responses": [ { "uuid": "02cb15d9-5509-46d3-8cfe-649eaee201b6", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Member response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c3be8911-9d56-42f3-80bd-80f683a0f099", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "48f1095e-6df7-4721-9e87-98386be04938", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ac5df7c4-018a-4f09-bbe3-7064edd6b7c6", "documentation": "Modify a team member by ID.", "method": "patch", "endpoint": "members/:memberId", "responses": [ { "uuid": "75384dda-a48e-48a2-a62b-8fd65d01ccf4", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Member response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f57169d8-55c8-40f1-a6e1-89cc46374a20", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "406c5547-abdb-44f1-a302-7e23f206fcbb", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ff6589cd-0f8b-44ab-91fd-9b90f29f2ad9", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "439f6775-ad88-4d94-8f85-512ace7f9c56", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88ef3366-9cd8-41d1-904e-745eafedcaa6", "documentation": "Returns a list of all projects in the account.", "method": "get", "endpoint": "projects", "responses": [ { "uuid": "82d6d354-805b-4112-8c42-27c48ec63fac", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"defaultClientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"environments\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"includeInSnippetByDefault\": true,\n \"key\": \"zentasks\",\n \"name\": \"Zentasks\",\n \"tags\": [\n \"\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Projects response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7bc2b90e-fe1c-4d20-a46b-b184f0816533", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "68993fc6-cae4-42ae-8f15-ace3563a84a2", "documentation": "Create a new project with the given key and name.", "method": "post", "endpoint": "projects", "responses": [ { "uuid": "64590935-45d2-4ed2-bbf7-8c7697dd0440", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"defaultClientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"environments\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"includeInSnippetByDefault\": true,\n \"key\": \"zentasks\",\n \"name\": \"Zentasks\",\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 201, "label": "Successful Project response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "12fb216c-b118-43c1-be0b-afe83ffa3710", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9149dccf-7735-4820-af7c-965bb8728a59", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5f235f2e-14a6-4505-9258-262eb5ad578b", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "72e82f1a-6424-497a-aad6-b8bbbd7985c0", "documentation": "Delete a project by key. Caution-- deleting a project will delete all associated environments and feature flags. You cannot delete the last project in an account.", "method": "delete", "endpoint": "projects/:projectKey", "responses": [ { "uuid": "a729857b-70ca-470b-9b09-8c1761567ce2", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "31436b2d-fac8-4a01-9d89-f27dd1e358b8", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cc61454d-fa69-42fa-97cf-a71d1829a1a3", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee90de3c-674e-40b9-8a15-ffd794867d46", "documentation": "Fetch a single project by key.", "method": "get", "endpoint": "projects/:projectKey", "responses": [ { "uuid": "dfba7316-efca-4d6f-b727-48ff0e02e91f", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"defaultClientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"environments\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"includeInSnippetByDefault\": true,\n \"key\": \"zentasks\",\n \"name\": \"Zentasks\",\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Project response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9696ee09-8163-45f1-b408-91d27363acf3", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ab2b1f4a-be0b-4a76-b97f-5fadb37b5c7d", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e2bb85cd-bdcb-4f9a-ae00-ceceea72bf67", "documentation": "Modify a project by ID.", "method": "patch", "endpoint": "projects/:projectKey", "responses": [ { "uuid": "dc1d28f5-0979-4650-97f8-14f1bc24fc9c", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"defaultClientSideAvailability\": {\n \"usingEnvironmentId\": {{faker 'datatype.boolean'}},\n \"usingMobileKey\": {{faker 'datatype.boolean'}}\n },\n \"environments\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n }\n ],\n \"includeInSnippetByDefault\": true,\n \"key\": \"zentasks\",\n \"name\": \"Zentasks\",\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful Project response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e8e7a931-6c77-4ace-9c19-e6acef0f8f4c", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f210b828-672d-42f4-abd4-6d1736068977", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c89d6c07-9d54-45c4-ac2c-72698050c2dc", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8e98924b-48dd-4a83-9ece-1f2466e30d1f", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3c6e0ca0-3258-4bef-9e19-ace881efe423", "documentation": "Create a new environment in a specified project with a given name, key, and swatch color.", "method": "post", "endpoint": "projects/:projectKey/environments", "responses": [ { "uuid": "26a05209-e2ca-40cd-9c5b-54476a801cf9", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 201, "label": "Environment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "865aed04-086d-428c-98ec-99ed2641d120", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec735e58-6276-4438-825d-2b690982175a", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e412cac9-840e-416d-99b5-af9f38186182", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66c2cc1c-50f0-4576-82bd-536bf5a52990", "documentation": "Delete an environment in a specific project.", "method": "delete", "endpoint": "projects/:projectKey/environments/:environmentKey", "responses": [ { "uuid": "fdca7ad2-aeaa-4afd-9fdf-c8cd2a6a8d8d", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "032da204-d2ee-432e-980c-c42019a71d10", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6843ca4b-3584-4be3-82b0-60af6786d050", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "24011671-6026-42b5-9130-4f8d33ef63b4", "documentation": "Get an environment given a project and key.", "method": "get", "endpoint": "projects/:projectKey/environments/:environmentKey", "responses": [ { "uuid": "00927291-7431-4229-8882-7003443da173", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Environment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d1e97322-3ce7-4cec-a3ca-57f018bbf9a5", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d9f72bdd-b569-4d0b-9d35-e8cad95503f2", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "505134fb-ee40-4a0e-b9ca-87e8caaff44c", "documentation": "Modify an environment by ID. If you try to patch the environment by setting both required and requiredApprovalTags, it will result in an error. Users can specify either required approvals for all flags in an environment or those with specific tags, but not both. Only customers on an Enterprise plan can require approval for flag updates with either mechanism.", "method": "patch", "endpoint": "projects/:projectKey/environments/:environmentKey", "responses": [ { "uuid": "e1928530-302e-48a4-b1ab-84944a65a295", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Environment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "362a51b7-b004-4194-a185-4c7048cf7d7f", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "527a9e6d-f823-4933-8cb1-a3faa0e65780", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b8ed5211-5f07-4550-9ceb-ad2f4d285e8a", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "75fe16a2-b826-46a3-b811-22d3766d8396", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "538e2752-e302-43ac-9ecf-a84c3ed06a9e", "documentation": "Reset an environment's SDK key with an optional expiry time for the old key.", "method": "post", "endpoint": "projects/:projectKey/environments/:environmentKey/apiKey", "responses": [ { "uuid": "9d40cb6b-2763-45f0-857c-aa497f1c1a41", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Environment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b7823f5b-68b5-4845-ab9b-c6aca4c2a193", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cc2327c1-0893-4d98-826d-4a9457fb0200", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0c17a9a-82bd-4743-a1b8-ee7270698051", "documentation": "Reset an environment's mobile key. The optional expiry for the old key is deprecated for this endpoint, so the old key will always expire immediately.", "method": "post", "endpoint": "projects/:projectKey/environments/:environmentKey/mobileKey", "responses": [ { "uuid": "ef7fb72d-a07b-4334-95a0-30b41e63c80e", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"apiKey\": \"XXX\",\n \"approvalSettings\": {\n \"canApplyDeclinedChanges\": {{faker 'datatype.boolean'}},\n \"canReviewOwnRequest\": {{faker 'datatype.boolean'}},\n \"minNumApprovals\": 2,\n \"required\": {{faker 'datatype.boolean'}},\n \"requiredApprovalTags\": [\n \"\"\n ],\n \"serviceKind\": \"{{oneOf (array 'launchdarkly' 'service-now')}}\"\n },\n \"color\": \"417505\",\n \"confirmChanges\": {{faker 'datatype.boolean'}},\n \"defaultTrackEvents\": {{faker 'datatype.boolean'}},\n \"defaultTtl\": {{faker 'number.int' max=99999}},\n \"key\": \"production\",\n \"mobileKey\": \"XXX\",\n \"name\": \"Production\",\n \"requireComments\": {{faker 'datatype.boolean'}},\n \"secureMode\": {{faker 'datatype.boolean'}},\n \"tags\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Environment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0d9c68aa-95a2-4fd2-9aa5-bf52afa02e49", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "173ddb67-a467-497d-8c70-7633c24bc509", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b2f8edf-6ef4-4343-9e01-ffb7c7dcbc38", "documentation": "Get all approval requests for a feature flag config", "method": "get", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests", "responses": [ { "uuid": "ad4e24b7-eec9-4707-a908-e1e07d5c8932", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"allReviews\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"kind\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\"\n }\n ],\n \"appliedByMemberID\": \"\",\n \"appliedDate\": {{faker 'number.int' max=99999}},\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ],\n \"notifyMemberIds\": [\n \"memberId\",\n \"memberId2\"\n ],\n \"operatingOnId\": \"\",\n \"requestorId\": \"\",\n \"reviewStatus\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"status\": \"{{oneOf (array 'pending' 'completed' 'scheduled' 'failed')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Approval requests response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2d63f20-24e6-41c5-bbbf-4a64ecea0bfa", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a162da9b-452b-4b18-9f2a-c0ea3caeb0d0", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "94ebe582-67d3-4f8a-a5d8-5265ecb0899b", "documentation": "Delete an approval request for a feature flag config", "method": "delete", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests/:approvalRequestId", "responses": [ { "uuid": "89206045-82db-4b72-99a1-acee81010c0c", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b887a17f-efe1-40e9-803a-85a33fb9c8e0", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "28b0210a-00ea-4be4-9f73-977cfdb57d11", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3c7a8646-11aa-409c-91d2-2bbdf4e01f29", "documentation": "Get a single approval request for a feature flag config", "method": "get", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests/:approvalRequestId", "responses": [ { "uuid": "17e66008-2bb3-4c31-aace-a4131e1357d6", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"allReviews\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"kind\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\"\n }\n ],\n \"appliedByMemberID\": \"\",\n \"appliedDate\": {{faker 'number.int' max=99999}},\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ],\n \"notifyMemberIds\": [\n \"memberId\",\n \"memberId2\"\n ],\n \"operatingOnId\": \"\",\n \"requestorId\": \"\",\n \"reviewStatus\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"status\": \"{{oneOf (array 'pending' 'completed' 'scheduled' 'failed')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Approval request response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "95cb4ddd-9ad1-40c7-809f-6103cee33f97", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f76f8cf7-332a-4033-b58f-7695a3d55bfe", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "95f0aaaf-8c7f-4aab-b352-cf011c3f5f0d", "documentation": "Create an approval request for a feature flag config", "method": "post", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests/:approvalRequestId", "responses": [ { "uuid": "9c75712e-b675-4a16-8e10-540100e8b544", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"allReviews\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"kind\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\"\n }\n ],\n \"appliedByMemberID\": \"\",\n \"appliedDate\": {{faker 'number.int' max=99999}},\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ],\n \"notifyMemberIds\": [\n \"memberId\",\n \"memberId2\"\n ],\n \"operatingOnId\": \"\",\n \"requestorId\": \"\",\n \"reviewStatus\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"status\": \"{{oneOf (array 'pending' 'completed' 'scheduled' 'failed')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Approval request response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3adc2752-8f21-47d4-bf6c-bcdb67d0f64b", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6ae9d51e-23f4-4d8e-8394-666fc0eee24f", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5a34e742-a34b-4b39-ba13-2244951bbccb", "documentation": "Apply approval request for a feature flag config", "method": "post", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests/:approvalRequestId/apply", "responses": [ { "uuid": "6cf372d9-7359-4b01-9f3e-50b1e0d073a2", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"allReviews\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"kind\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\"\n }\n ],\n \"appliedByMemberID\": \"\",\n \"appliedDate\": {{faker 'number.int' max=99999}},\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ],\n \"notifyMemberIds\": [\n \"memberId\",\n \"memberId2\"\n ],\n \"operatingOnId\": \"\",\n \"requestorId\": \"\",\n \"reviewStatus\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"status\": \"{{oneOf (array 'pending' 'completed' 'scheduled' 'failed')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Approval request applied response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6ab95649-e675-45fb-a229-9dcc263fdf66", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "51fa1651-e94f-4fcb-bcb0-8c8451ac7268", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5067cafd-53eb-4067-afe7-e3dfd9b1fc14", "documentation": "Review approval request for a feature flag config", "method": "post", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/approval-requests/:approvalRequestId/review", "responses": [ { "uuid": "6925d1fc-5f81-46f2-ab7b-f547e52a555e", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"allReviews\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"kind\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\"\n }\n ],\n \"appliedByMemberID\": \"\",\n \"appliedDate\": {{faker 'number.int' max=99999}},\n \"creationDate\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ],\n \"notifyMemberIds\": [\n \"memberId\",\n \"memberId2\"\n ],\n \"operatingOnId\": \"\",\n \"requestorId\": \"\",\n \"reviewStatus\": \"{{oneOf (array 'pending' 'approved' 'declined')}}\",\n \"status\": \"{{oneOf (array 'pending' 'completed' 'scheduled' 'failed')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Approval request reviewed response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f4847b28-46ed-4a7d-b620-8c6329a11844", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d46c0eeb-9ebf-4eaa-96f1-726ee8f1a19b", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a568ccc8-49b5-463b-ab9b-2b2ced5fdd1c", "documentation": "Get all scheduled workflows for a feature flag by key.", "method": "get", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes", "responses": [ { "uuid": "db80bd8c-abd5-4fc1-a786-3998a265e9ae", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A list of scheduled changes for feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a6f40a52-bf52-47c3-9277-c78ff765ca88", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7536f747-9c76-4170-a93f-eb7bf30cba29", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cd31b9a5-c010-4b21-8c31-204a5142b216", "documentation": "Creates a new scheduled change for a feature flag.", "method": "post", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes", "responses": [ { "uuid": "5cfc0014-fd35-4735-9465-3b49b4f5d25d", "body": "{\n \"_id\": \"\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "A scheduled change for feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec0ab600-cb35-412b-9378-94c07485ce56", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8aec3ef3-33eb-469d-abce-b5bba4e54b91", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec3c50b7-a5f4-43a5-8fa1-925cb9289ef4", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d3126435-fa9e-48cc-afa4-c2748921b121", "documentation": "Lists conflicts between the given instructions and any existing scheduled changes for the feature flag. The actual HTTP verb should be REPORT, not POST.", "method": "post", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes-conflicts", "responses": [ { "uuid": "f570605f-bd8e-484f-98d6-8caa5c8bad39", "body": "{\n \"instructions\": [\n {\n \"conflicts\": [\n {\n \"_id\": \"\",\n \"reason\": \"\"\n }\n ],\n \"kind\": \"removeUserTargets\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Scheduled changes conflict response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "89e567b0-6b82-4a67-8c51-125d148ac6a3", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dc61aa87-774e-472e-930f-672b512447d6", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d7566695-7f59-43ed-b917-23d2bc1cb1fb", "documentation": "Delete a scheduled change on a feature flag in an environment.", "method": "delete", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes/:scheduledChangeId", "responses": [ { "uuid": "8a7f6b9f-0f88-4ed2-806c-60a2348bc529", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ca99be99-aee7-425e-bb06-c61e02a6df50", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb7e8e89-debb-4804-9efe-430134af82f0", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c6561565-4c71-4b44-a442-c119f508431e", "documentation": "Get a scheduled change on a feature flag by id.", "method": "get", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes/:scheduledChangeId", "responses": [ { "uuid": "5ee76c85-dbf8-4e89-a123-2ac36ea54b4b", "body": "{\n \"_id\": \"\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A scheduled change for feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2c844641-79be-4cbc-ac87-510895b09549", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37bdbdf3-0b02-45c1-9de8-6a8e4be556f2", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "91a59c77-ee31-4046-bd9a-c1109c56b25f", "documentation": "Updates an existing scheduled-change on a feature flag in an environment.", "method": "patch", "endpoint": "projects/:projectKey/flags/:featureFlagKey/environments/:environmentKey/scheduled-changes/:scheduledChangeId", "responses": [ { "uuid": "7cdd4d43-cbfc-4235-b575-a4195de57159", "body": "{\n \"_id\": \"\",\n \"_version\": {{faker 'number.int' max=99999}},\n \"executionDate\": {{faker 'number.int' max=99999}},\n \"instructions\": [\n {\n \"kind\": \"removeUserTargets\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "A Scheduled change for feature flag response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7fe5d5cb-e6c2-4af4-9359-929c3d1a056f", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ce1375e-0ef1-47c1-b748-7d5458d5ea12", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0a223785-4e9a-4f85-bd71-e413d4ba4bb0", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a73ad6d1-0717-47a2-b773-22c8ad7eeb9a", "documentation": "Return a complete list of custom roles.", "method": "get", "endpoint": "roles", "responses": [ { "uuid": "e8e67de2-2382-47e1-8519-b686d541da54", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"description\": \"Description of revenue team role here\",\n \"key\": \"revenue-team\",\n \"name\": \"revenue team\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Custom roles response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1953653b-1877-4c07-b246-617ddf76799b", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1ea6e80a-be64-4e19-ba58-23403abd1fbc", "documentation": "Create a new custom role.", "method": "post", "endpoint": "roles", "responses": [ { "uuid": "0a02b03a-bfe9-4d70-875c-666023b95432", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"description\": \"Description of revenue team role here\",\n \"key\": \"revenue-team\",\n \"name\": \"revenue team\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "Custom role response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0018dd6d-2f94-4a14-b7a2-bd4d47e18320", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "90f72704-be3d-4b1f-a9b5-1e4575f54871", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "43b1c6c9-f91a-471f-9a6e-c26293085918", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "83722d0a-25a9-442d-8e1b-fe57f3d916b4", "documentation": "Delete a custom role by key.", "method": "delete", "endpoint": "roles/:customRoleKey", "responses": [ { "uuid": "8e2cf912-17b0-479c-ab3b-0ee085eef1b7", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2b4f55b-e9bc-4066-b9cc-342ed7893c41", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d436e164-384d-4182-85da-e8021519bf43", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5457d9c5-e51f-44b9-9f97-3217e70449e8", "documentation": "Get one custom role by key.", "method": "get", "endpoint": "roles/:customRoleKey", "responses": [ { "uuid": "b5906bac-41e3-4183-8b0a-0d9338544592", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"description\": \"Description of revenue team role here\",\n \"key\": \"revenue-team\",\n \"name\": \"revenue team\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Custom role response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1e1d7682-6813-4190-9718-75d5b3424a14", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77b29f22-fe55-4fbc-8801-fd63b6eb32a9", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "060b9134-4484-4783-828d-4ffc1ee3aa95", "documentation": "Modify a custom role by key.", "method": "patch", "endpoint": "roles/:customRoleKey", "responses": [ { "uuid": "98d98379-f832-47e5-b493-8d1a5e88feb6", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"description\": \"Description of revenue team role here\",\n \"key\": \"revenue-team\",\n \"name\": \"revenue team\",\n \"policy\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"deny\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Custom role response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "45b75726-b13c-4bdf-ad13-73b93d0097ce", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "62179711-8072-434f-874b-6e2db16f8f84", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f8464a32-1a3b-4120-862d-6db65f738738", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "89a15a45-13e2-4402-a7a8-546759a015e3", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dca9d3b6-788c-4dbc-9862-213a8634a5bd", "documentation": "Get a list of all user segments in the given project.", "method": "get", "endpoint": "segments/:projectKey/:environmentKey", "responses": [ { "uuid": "9627563f-6c16-43d0-a3fe-e4a049321ff6", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_flags\": [\n {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ],\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"creationDate\": 1443652232590,\n \"description\": \"Users in this segment can access beta features.\",\n \"excluded\": [\n \"\"\n ],\n \"included\": [\n \"\"\n ],\n \"key\": \"beta-testers\",\n \"name\": \"Beta Testers\",\n \"rules\": [\n {\n \"bucketBy\": \"\",\n \"clauses\": [\n {\n \"_id\": \"\",\n \"attribute\": \"groups\",\n \"negate\": {{faker 'datatype.boolean'}},\n \"op\": \"in\",\n \"values\": [\n \"Top Customers\"\n ]\n }\n ],\n \"weight\": {{faker 'number.int' max=99999}}\n }\n ],\n \"tags\": [\n \"dev\",\n \"ops\"\n ],\n \"unbounded\": {{faker 'datatype.boolean'}},\n \"version\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Segments response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a0b89332-6af0-4188-9cfb-aab355993f8a", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4e493645-1f91-41e7-9a5c-1b345a7a0f41", "documentation": "Creates a new user segment.", "method": "post", "endpoint": "segments/:projectKey/:environmentKey", "responses": [ { "uuid": "209827bd-0c30-4852-8b1a-4e980d0a67a8", "body": "{\n \"_flags\": [\n {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ],\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"creationDate\": 1443652232590,\n \"description\": \"Users in this segment can access beta features.\",\n \"excluded\": [\n \"\"\n ],\n \"included\": [\n \"\"\n ],\n \"key\": \"beta-testers\",\n \"name\": \"Beta Testers\",\n \"rules\": [\n {\n \"bucketBy\": \"\",\n \"clauses\": [\n {\n \"_id\": \"\",\n \"attribute\": \"groups\",\n \"negate\": {{faker 'datatype.boolean'}},\n \"op\": \"in\",\n \"values\": [\n \"Top Customers\"\n ]\n }\n ],\n \"weight\": {{faker 'number.int' max=99999}}\n }\n ],\n \"tags\": [\n \"dev\",\n \"ops\"\n ],\n \"unbounded\": {{faker 'datatype.boolean'}},\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 201, "label": "User segment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fc4311ad-94ba-4960-a018-aa5a0d8c933e", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c1e40d6f-c68c-41cb-85b6-371d845cf47d", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27184a9b-e949-49f1-b682-58104cf132a8", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "26843d22-f4e5-46af-b9a1-f03acdaf029a", "documentation": "Delete a user segment.", "method": "delete", "endpoint": "segments/:projectKey/:environmentKey/:userSegmentKey", "responses": [ { "uuid": "2a9628f8-2f1d-4175-a714-d849e03bd186", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec14c0c0-72d0-4746-a923-5b7c27ce3e18", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b59b65bf-89f9-445d-92fe-eb562d466c37", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3955be1f-7c6b-43d8-ba94-b8fad64ed878", "documentation": "Get a single user segment by key.", "method": "get", "endpoint": "segments/:projectKey/:environmentKey/:userSegmentKey", "responses": [ { "uuid": "7ba2a3f7-24b1-4ed3-8fd5-9e0b5c573080", "body": "{\n \"_flags\": [\n {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ],\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"creationDate\": 1443652232590,\n \"description\": \"Users in this segment can access beta features.\",\n \"excluded\": [\n \"\"\n ],\n \"included\": [\n \"\"\n ],\n \"key\": \"beta-testers\",\n \"name\": \"Beta Testers\",\n \"rules\": [\n {\n \"bucketBy\": \"\",\n \"clauses\": [\n {\n \"_id\": \"\",\n \"attribute\": \"groups\",\n \"negate\": {{faker 'datatype.boolean'}},\n \"op\": \"in\",\n \"values\": [\n \"Top Customers\"\n ]\n }\n ],\n \"weight\": {{faker 'number.int' max=99999}}\n }\n ],\n \"tags\": [\n \"dev\",\n \"ops\"\n ],\n \"unbounded\": {{faker 'datatype.boolean'}},\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "User segment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2ad7ea2-c1c2-4241-974c-8c65901d639c", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5725b424-adc4-4c06-8cbf-3ef8ad74d6e2", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5b19eea8-b6df-4880-8b60-f17491ee14d5", "documentation": "Perform a partial update to a user segment.", "method": "patch", "endpoint": "segments/:projectKey/:environmentKey/:userSegmentKey", "responses": [ { "uuid": "7bce3a50-45b9-4496-b5df-64afb385d596", "body": "{\n \"_flags\": [\n {\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_site\": {\n \"href\": \"/features/sort.order\",\n \"type\": \"text/html\"\n },\n \"key\": \"\",\n \"name\": \"\"\n }\n ],\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"creationDate\": 1443652232590,\n \"description\": \"Users in this segment can access beta features.\",\n \"excluded\": [\n \"\"\n ],\n \"included\": [\n \"\"\n ],\n \"key\": \"beta-testers\",\n \"name\": \"Beta Testers\",\n \"rules\": [\n {\n \"bucketBy\": \"\",\n \"clauses\": [\n {\n \"_id\": \"\",\n \"attribute\": \"groups\",\n \"negate\": {{faker 'datatype.boolean'}},\n \"op\": \"in\",\n \"values\": [\n \"Top Customers\"\n ]\n }\n ],\n \"weight\": {{faker 'number.int' max=99999}}\n }\n ],\n \"tags\": [\n \"dev\",\n \"ops\"\n ],\n \"unbounded\": {{faker 'datatype.boolean'}},\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "User segment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ea6e3fce-514e-4062-abf0-9896ec7325c8", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37c1ae8d-8062-463e-9400-9bbd17b097c8", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9f9e5879-9e99-43cb-b53f-16facbcd8538", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4c3b6b73-1dd9-4c81-bb14-4a39ef9b0a67", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5ff11ac-7b49-49cf-b1f5-c4f556cb61eb", "documentation": "Update targets included or excluded in a big segment", "method": "post", "endpoint": "segments/:projectKey/:environmentKey/:userSegmentKey/users", "responses": [ { "uuid": "531b39d8-accf-47c5-ac11-a42b1d531861", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f1a865e1-4f9b-4fde-a7d9-2826b45887d0", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e6974f97-362e-4994-80a0-c89580e3da10", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee2eca08-096c-4f7f-8d93-e76fa0b546da", "documentation": "Get expiring user targets for user segment", "method": "get", "endpoint": "segments/:projectKey/:userSegmentKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "0a55494d-95c0-451e-8e68-7fee06a40476", "body": "{\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"targetType\": \"\",\n \"userKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "User targeting expirations on user segment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cf403766-5225-4b78-9639-79961332faa7", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f8f986b0-9257-4bf4-b7c8-b31223211e65", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd16f1bc-9809-42de-96ed-bd395f2ce16b", "documentation": "Update, add, or delete expiring user targets on user segment", "method": "patch", "endpoint": "segments/:projectKey/:userSegmentKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "6853d91f-6f28-4e09-8a2c-060b36d6d13a", "body": "{\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"targetType\": \"\",\n \"userKey\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "User targeting expirations on user segment response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "21275961-56db-4e05-86b3-bf77839c7f5c", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f46b5249-6105-4072-8804-a3082b094e5d", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e6ecf790-6d61-4970-a485-79e31ffe1bff", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3200865e-15cf-4474-a7d9-b59bc2e30ab1", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dc8d76d8-c669-4bb6-ac88-4c23f2ad4a45", "documentation": "Returns a list of tokens in the account.", "method": "get", "endpoint": "tokens", "responses": [ { "uuid": "697bbf09-306e-4b47-836a-af9eb8b4fbda", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"creationDate\": 1443652232590,\n \"customRoleIds\": [\n \"\"\n ],\n \"defaultApiVersion\": {{faker 'number.int' max=99999}},\n \"inlineRole\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"lastModified\": 1469326565348,\n \"lastUsed\": 1469326565348,\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\",\n \"name\": \"My access token\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"role\": \"writer\",\n \"serviceToken\": {{faker 'datatype.boolean'}},\n \"token\": \"3243\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Tokens response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e879701e-cbd8-4332-a38f-f94d909d0674", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "90c83e70-8357-434e-b915-4cacbbb709f0", "documentation": "Create a new token.", "method": "post", "endpoint": "tokens", "responses": [ { "uuid": "04d07afa-92cf-4153-88d1-0e2eff117e17", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"creationDate\": 1443652232590,\n \"customRoleIds\": [\n \"\"\n ],\n \"defaultApiVersion\": {{faker 'number.int' max=99999}},\n \"inlineRole\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"lastModified\": 1469326565348,\n \"lastUsed\": 1469326565348,\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\",\n \"name\": \"My access token\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"role\": \"writer\",\n \"serviceToken\": {{faker 'datatype.boolean'}},\n \"token\": \"3243\"\n}", "latency": 0, "statusCode": 201, "label": "Token response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "03ef7ef7-15d1-475c-a7cd-86584138a689", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9c2f7339-061c-4cdf-ab01-5d776a913872", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4ee3339d-66e2-4b0e-ae19-0ba477bc3e7b", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66689a09-8707-4793-9f5d-812e070ac1de", "documentation": "Delete an access token by ID.", "method": "delete", "endpoint": "tokens/:tokenId", "responses": [ { "uuid": "c1513996-ce6a-4023-92bb-e925adcc938b", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c936248b-3e2c-4b37-9908-38066b05db91", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f259b24f-ceb8-402a-97d8-38738eadc668", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e6c9772a-37a3-4ed6-b53b-36da368176fc", "documentation": "Get a single access token by ID.", "method": "get", "endpoint": "tokens/:tokenId", "responses": [ { "uuid": "643b4aab-1de7-47e9-bbb3-e8ed14ec6389", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"creationDate\": 1443652232590,\n \"customRoleIds\": [\n \"\"\n ],\n \"defaultApiVersion\": {{faker 'number.int' max=99999}},\n \"inlineRole\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"lastModified\": 1469326565348,\n \"lastUsed\": 1469326565348,\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\",\n \"name\": \"My access token\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"role\": \"writer\",\n \"serviceToken\": {{faker 'datatype.boolean'}},\n \"token\": \"3243\"\n}", "latency": 0, "statusCode": 200, "label": "Token response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fc901b4b-385a-4083-9116-61442ef333e4", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a5c640e7-8b53-4bc0-956d-62f8ef86be65", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3233cb3e-5b1c-43f5-bc91-0daef4054579", "documentation": "Modify an access token by ID.", "method": "patch", "endpoint": "tokens/:tokenId", "responses": [ { "uuid": "3c427079-c609-4747-8a07-655f9fb245bd", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"creationDate\": 1443652232590,\n \"customRoleIds\": [\n \"\"\n ],\n \"defaultApiVersion\": {{faker 'number.int' max=99999}},\n \"inlineRole\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"lastModified\": 1469326565348,\n \"lastUsed\": 1469326565348,\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\",\n \"name\": \"My access token\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"role\": \"writer\",\n \"serviceToken\": {{faker 'datatype.boolean'}},\n \"token\": \"3243\"\n}", "latency": 0, "statusCode": 200, "label": "Token response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0e09ecd0-1dce-4563-bd10-47247e287122", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f6b97af-ae25-4f86-a154-8a94e84639dc", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "921aceaf-0873-4edd-a771-a723684fb623", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "790dbaf6-152d-438b-becb-ad97104eeac6", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cdf126fd-657e-4fad-a525-e10cf9536b07", "documentation": "Reset an access token's secret key with an optional expiry time for the old key.", "method": "post", "endpoint": "tokens/:tokenId/reset", "responses": [ { "uuid": "532b87a0-4266-4c5f-8f3a-7a7520fc8af6", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_member\": {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_lastSeen\": 1469326565348,\n \"_lastSeenMetadata\": {\n \"tokenId\": \"5fd2a1ee05600316d5cb3e96\"\n },\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_pendingInvite\": {{faker 'datatype.boolean'}},\n \"_verified\": {{faker 'datatype.boolean'}},\n \"customRoles\": [\n \"5a580a01b4ff89217bdf9dc1\"\n ],\n \"email\": \"user@launchdarkly.com\",\n \"firstName\": \"Alan\",\n \"isBeta\": {{faker 'datatype.boolean'}},\n \"lastName\": \"Turing\",\n \"role\": \"{{oneOf (array 'writer' 'reader' 'admin' 'owner')}}\"\n },\n \"creationDate\": 1443652232590,\n \"customRoleIds\": [\n \"\"\n ],\n \"defaultApiVersion\": {{faker 'number.int' max=99999}},\n \"inlineRole\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"lastModified\": 1469326565348,\n \"lastUsed\": 1469326565348,\n \"memberId\": \"5a580a01b4ff89217bdf9dc1\",\n \"name\": \"My access token\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"role\": \"writer\",\n \"serviceToken\": {{faker 'datatype.boolean'}},\n \"token\": \"3243\"\n}", "latency": 0, "statusCode": 200, "label": "Token response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "db6292e2-bab5-44b6-b92d-ef4e33cdece6", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "889b7f25-06fa-432f-91a4-287a12994ad1", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d5c6d8cc-9f3c-4ea5-a7b6-a6210d13fe2f", "documentation": "Returns of the usage endpoints available.", "method": "get", "endpoint": "usage", "responses": [ { "uuid": "c17e6375-ff96-4c29-8614-857192b998e3", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"subseries\": [\n {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n ]\n },\n \"series\": [\n {\n \"0\": {{faker 'number.int' max=99999}},\n \"time\": 1551740400000\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Usage endpoints", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec78dc3a-e955-42ce-9cde-a03c78a89f7b", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c62bf831-3d1f-4758-a064-6d4b5bf8f353", "documentation": "Get events usage by event id and the feature flag key.", "method": "get", "endpoint": "usage/evaluations/:envId/:flagKey", "responses": [ { "uuid": "8af65e66-1786-4e9b-be13-92cfb135cc7b", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"sdkVersions\": [\n {\n \"sdk\": \"ruby\",\n \"version\": \"5.4.3\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5c15fa86-9649-4afd-bb11-58bf248cb277", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f334ebc2-360a-4bb6-b961-eac69f21f504", "body": "{\n \"code\": \"not_found\",\n \"message\": \"unknown environment\"\n}", "latency": 0, "statusCode": 404, "label": "The environment or flag you requested could not be found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "690e72f1-eb47-4e4f-bd7d-db834257ebca", "documentation": "Get events usage endpoints.", "method": "get", "endpoint": "usage/events", "responses": [ { "uuid": "8e4cdd8d-e633-43d2-b3d4-0006901eeb75", "body": "{\n \"links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"subseries\": [\n {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "da02c183-ef12-40fa-b165-32fb69eb6e76", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b05e2c5-59f9-4d9c-b43e-81c6d0b5fe26", "documentation": "Get events usage by event type.", "method": "get", "endpoint": "usage/events/:type", "responses": [ { "uuid": "330007b6-7811-4728-a3e5-2087b5dc1c16", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"sdkVersions\": [\n {\n \"sdk\": \"ruby\",\n \"version\": \"5.4.3\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ea66cd9a-d39c-44ff-881f-1d1a7173a306", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3b8a8c9-5759-4949-9c1b-3f72326d66fd", "body": "{\n \"code\": \"not_found\",\n \"message\": \"Stream source not found\"\n}", "latency": 0, "statusCode": 404, "label": "The stream source you requested could not be found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c8ec5e50-7e6d-42fd-8b9a-b1f100157136", "documentation": "Get monthly active user data.", "method": "get", "endpoint": "usage/mau", "responses": [ { "uuid": "db22edf7-bfc7-48c9-83c3-ca3984ac8997", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"subseries\": [\n {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n ]\n },\n \"metadata\": [\n {\n \"sdk\": \"ruby\",\n \"source\": \"server\",\n \"version\": \"5.4.3\"\n }\n ],\n \"series\": [\n {\n \"0\": {{faker 'number.int' max=99999}},\n \"time\": 1551740400000\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4bbb15c3-f4d0-454f-a6aa-f4674b374a72", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8157a536-8a97-4a1c-89bf-e108ced671e9", "documentation": "Get monthly active user data by category.", "method": "get", "endpoint": "usage/mau/bycategory", "responses": [ { "uuid": "c7a5ff0a-8448-4b7d-bc12-0339ccdf6f3b", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"metadata\": [\n {}\n ],\n \"series\": [\n {\n \"0\": {{faker 'number.int' max=99999}},\n \"time\": 1551740400000\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "935803a8-84bb-4f44-9176-baa4abbe05a4", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "503f35e0-29e4-47f7-a802-05e1c68907c9", "documentation": "Returns a list of all streams.", "method": "get", "endpoint": "usage/streams", "responses": [ { "uuid": "79bcda9e-f2ec-4d31-9b2d-00fb61e5c546", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"subseries\": [\n {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "Stream usage endpoints", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "253e6126-23b3-47c4-839e-21fc40b15f01", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fc7075f4-0025-4e23-a6de-64d32e68189e", "documentation": "Get a stream endpoint and return timeseries data.", "method": "get", "endpoint": "usage/streams/:source", "responses": [ { "uuid": "12427f2e-7971-46f8-8c58-b7e6926b2e62", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"subseries\": [\n {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n ]\n },\n \"metadata\": [\n {\n \"sdk\": \"ruby\",\n \"source\": \"server\",\n \"version\": \"5.4.3\"\n }\n ],\n \"series\": [\n {\n \"0\": {{faker 'number.int' max=99999}},\n \"time\": 1551740400000\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Responds with time series data on stream usage.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4cb78165-4e1f-4491-ad1c-518bc672e9e2", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "44b36535-bbe9-44a2-abdd-47750a2557ff", "body": "{\n \"code\": \"not_found\",\n \"message\": \"Stream source not found\"\n}", "latency": 0, "statusCode": 404, "label": "The stream source you requested could not be found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4839c135-5013-482e-bb65-ad004b0ebf84", "documentation": "Get a stream timeseries data by source show sdk version metadata.", "method": "get", "endpoint": "usage/streams/:source/bysdkversion", "responses": [ { "uuid": "61ef6a20-433f-4e14-bbe5-ce88c54319c5", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"metadata\": [\n {\n \"sdk\": \"ruby\",\n \"source\": \"server\",\n \"version\": \"5.4.3\"\n }\n ],\n \"series\": [\n {\n \"0\": {{faker 'number.int' max=99999}},\n \"time\": 1551740400000\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and metadata on sdk version.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d344770e-58a0-4793-aad5-8c552df077c5", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "105af079-85bb-4f63-99b8-690a5db265a8", "body": "{\n \"code\": \"not_found\",\n \"message\": \"Stream source not found\"\n}", "latency": 0, "statusCode": 404, "label": "The stream source you requested could not be found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4318c92e-fb02-4102-bfdb-c7e770080e3b", "documentation": "Get a stream timeseries data by source and show all sdk version associated.", "method": "get", "endpoint": "usage/streams/:source/sdkversions", "responses": [ { "uuid": "cc241605-baff-4ed0-9fee-db3bb583509f", "body": "{\n \"_links\": {\n \"parent\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"sdkVersions\": [\n {\n \"sdk\": \"ruby\",\n \"version\": \"5.4.3\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Returns timeseries data and all sdk versions.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "62c03f1f-6ad5-404b-9422-ea4cb0be3d47", "body": "{\n \"message\": \"This is a beta API, you must pass beta in the LD-API-Version header to use it.\"\n}", "latency": 0, "statusCode": 403, "label": "This is a beta API, you must pass beta in the LD-API-Version header to use it.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c11e1f92-dd49-4c71-a031-e38247f71c65", "body": "{\n \"code\": \"not_found\",\n \"message\": \"Stream source not found\"\n}", "latency": 0, "statusCode": 404, "label": "The stream source you requested could not be found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "98b7b6b6-0682-4dff-a5d3-f3a55a812cf6", "documentation": "Search users in LaunchDarkly based on their last active date, or a search query. It should not be used to enumerate all users in LaunchDarkly-- use the List users API resource.", "method": "get", "endpoint": "user-search/:projectKey/:environmentKey", "responses": [ { "uuid": "a104807e-f0d1-44ca-b3d8-513fc1b26562", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"avatar\": \"https://s3.amazonaws.com/uifaces/faces/twitter/shylockjoy/73.jpg\",\n \"environmentId\": \"54ac2d97de674204ddd61096\",\n \"lastPing\": \"2015-03-03T02:37:22.492Z\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"user\": {\n \"anonymous\": {{faker 'datatype.boolean'}},\n \"avatar\": \"\",\n \"country\": \"\",\n \"custom\": {\n \"company\": \"example.com\"\n },\n \"email\": \"\",\n \"firstName\": \"\",\n \"ip\": \"\",\n \"key\": \"a00bea\",\n \"lastName\": \"\",\n \"name\": \"Bob Loblaw\",\n \"secondary\": \"\"\n }\n }\n ],\n \"totalCount\": 3\n}", "latency": 0, "statusCode": 200, "label": "Users response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d1139ff7-6c06-4dcf-a4f7-6a57a6557523", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "004935fb-cf82-4f52-a12c-6d8e01173164", "documentation": "List all users in the environment. Includes the total count of users. In each page, there will be up to 'limit' users returned (default 20). This is useful for exporting all users in the system for further analysis. Paginated collections will include a next link containing a URL with the next set of elements in the collection.", "method": "get", "endpoint": "users/:projectKey/:environmentKey", "responses": [ { "uuid": "d88020f4-b09c-46ce-babd-894893bda491", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"avatar\": \"https://s3.amazonaws.com/uifaces/faces/twitter/shylockjoy/73.jpg\",\n \"environmentId\": \"54ac2d97de674204ddd61096\",\n \"lastPing\": \"2015-03-03T02:37:22.492Z\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"user\": {\n \"anonymous\": {{faker 'datatype.boolean'}},\n \"avatar\": \"\",\n \"country\": \"\",\n \"custom\": {\n \"company\": \"example.com\"\n },\n \"email\": \"\",\n \"firstName\": \"\",\n \"ip\": \"\",\n \"key\": \"a00bea\",\n \"lastName\": \"\",\n \"name\": \"Bob Loblaw\",\n \"secondary\": \"\"\n }\n }\n ],\n \"totalCount\": 3\n}", "latency": 0, "statusCode": 200, "label": "Users response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "98fc447f-025a-4938-b43e-f1a584b29630", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5525837-4ab5-40c2-8849-62c52fdb47d4", "documentation": "Delete a user by ID.", "method": "delete", "endpoint": "users/:projectKey/:environmentKey/:userKey", "responses": [ { "uuid": "e27a7d33-c514-4c61-8c76-3b6550cad908", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c16e04d6-fd8a-421d-b353-864b73eec7ac", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "50b599d6-4187-48bb-99a4-6b064cc7cfa7", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a2e3f0df-038d-4434-9f60-1daa97d8c620", "documentation": "Get a user by key.", "method": "get", "endpoint": "users/:projectKey/:environmentKey/:userKey", "responses": [ { "uuid": "8c054916-416f-49f0-99f6-c867f6bb18d7", "body": "{\n \"avatar\": \"https://s3.amazonaws.com/uifaces/faces/twitter/shylockjoy/73.jpg\",\n \"environmentId\": \"54ac2d97de674204ddd61096\",\n \"lastPing\": \"2015-03-03T02:37:22.492Z\",\n \"ownerId\": \"5a580a01b4ff89217bdf9dc1\",\n \"user\": {\n \"anonymous\": {{faker 'datatype.boolean'}},\n \"avatar\": \"\",\n \"country\": \"\",\n \"custom\": {\n \"company\": \"example.com\"\n },\n \"email\": \"\",\n \"firstName\": \"\",\n \"ip\": \"\",\n \"key\": \"a00bea\",\n \"lastName\": \"\",\n \"name\": \"Bob Loblaw\",\n \"secondary\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "User response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0a9b026a-c013-4a35-8990-fb7105d60a66", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3a200aec-870b-4bf0-87cd-cc3fe3b5cbc0", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f5410dde-8ede-49c2-a526-120467fb67a2", "documentation": "Fetch a single flag setting for a user by key.", "method": "get", "endpoint": "users/:projectKey/:environmentKey/:userKey/flags", "responses": [ { "uuid": "2858d0d9-d213-494a-9137-c27ca3deb4dc", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": {\n \"alternate.page\": {\n \"_links\": {\n \"self\": {\n \"href\": \"/api/v2/users/lacuna/production/Abbie_Braun/flags/alternate.page\",\n \"type\": \"application/json\"\n }\n },\n \"_value\": \"false,\",\n \"setting\": null\n },\n \"sort.order\": {\n \"_links\": {\n \"_value\": true,\n \"self\": {\n \"href\": \"/api/v2/users/lacuna/production/Abbie_Braun/flags/sort.order\",\n \"type\": \"application/json\"\n },\n \"setting\": null\n }\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "User flags settings response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0c27ee2a-9d24-4ecd-b3e9-8188bce49348", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "33c5893d-ddfe-4518-8573-b5ba0bd69cdb", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f75bdd74-02ec-4277-8158-77ebd8a46861", "documentation": "Fetch a single flag setting for a user by key.", "method": "get", "endpoint": "users/:projectKey/:environmentKey/:userKey/flags/:featureFlagKey", "responses": [ { "uuid": "02728c12-d8fc-4af8-9421-4b4356fe954e", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_value\": true,\n \"setting\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "User flag setting response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8331a4b0-f22e-4b85-aac9-1515577f741f", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8112b276-b1fb-4a85-bfad-b414b5ac9c61", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c18924fe-4e1a-48b7-b440-e1be63683ab4", "documentation": "Specifically enable or disable a feature flag for a user based on their key.", "method": "put", "endpoint": "users/:projectKey/:environmentKey/:userKey/flags/:featureFlagKey", "responses": [ { "uuid": "5492d51f-8a02-48ed-9f7e-7c6e276a8599", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "080d7b30-102b-4bce-8630-5ad7b31590a6", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bc9912b4-3878-4c91-be09-fdbfa37f685e", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aaa9da93-f59e-46b3-a31c-b77c3e28b559", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ee4f6862-4c85-4969-8908-041f0a01b096", "documentation": "Get expiring dates on flags for user", "method": "get", "endpoint": "users/:projectKey/:userKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "f7581355-b396-4de4-8f6f-0a8e485b1f61", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"userKey\": \"\",\n \"variationId\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "User targets of the requested feature flag.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "074299c6-1964-4e49-bfcb-2ceaa8755466", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f536e9b4-72bf-4fe0-bb53-a1222c38e2cd", "documentation": "Update, add, or delete expiring user targets for a single user on all flags", "method": "patch", "endpoint": "users/:projectKey/:userKey/expiring-user-targets/:environmentKey", "responses": [ { "uuid": "12097ae7-30e4-4b45-a89a-d30fd43c4d35", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"_resourceId\": {\n \"environmentKey\": \"\",\n \"flagKey\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"projectKey\": \"\"\n },\n \"_version\": {{faker 'number.int' max=99999}},\n \"expirationDate\": 1735689600000,\n \"userKey\": \"\",\n \"variationId\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "User Targeting expiration for single user on all flags response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5bcd8326-b17e-4191-944a-be66cf20c592", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "16a403ca-d7b0-4bb0-930b-58a6b98d8484", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78924160-193a-4621-a72d-8f43bb16f2c2", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0de1ba8f-e876-4276-a2ea-96b6422dad2f", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1917e04e-f100-4880-8b5e-b9cbea18ac5c", "documentation": "Fetch a list of all webhooks.", "method": "get", "endpoint": "webhooks", "responses": [ { "uuid": "1c7f46a6-e99e-4c2b-ae96-3207601606cf", "body": "{\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"items\": [\n {\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Example hook\",\n \"on\": true,\n \"secret\": \"frobozz\",\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n []\n ],\n \"url\": \"https://example.com/example\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Webhooks response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b26cf1d7-35af-4620-8098-a95c1a4d4d16", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "21c881bd-07e5-4449-8467-02e5629512bc", "documentation": "Create a webhook.", "method": "post", "endpoint": "webhooks", "responses": [ { "uuid": "cbec201c-6149-4376-93f9-62c52f3046cc", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Example hook\",\n \"on\": true,\n \"secret\": \"frobozz\",\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n []\n ],\n \"url\": \"https://example.com/example\"\n}", "latency": 0, "statusCode": 201, "label": "Webhook response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6cdfaddc-89d8-43bf-b32c-f3a288a7e3d6", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69287d4a-9b4c-43b8-adea-5d44c5aa131c", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bc91d59b-0e3b-4315-9d67-04a3e857d956", "documentation": "Delete a webhook by ID.", "method": "delete", "endpoint": "webhooks/:resourceId", "responses": [ { "uuid": "6834d1d9-500e-4a8d-b33c-5b3005dd761f", "body": "", "latency": 0, "statusCode": 204, "label": "Action completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b7a90d51-fd7c-4c5c-9bb4-2d5026713db5", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c6ee624d-d04f-4102-bf0f-73eec4033157", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "512bd979-840f-4af7-a51e-b42307a6b717", "documentation": "Get a webhook by ID.", "method": "get", "endpoint": "webhooks/:resourceId", "responses": [ { "uuid": "1944e7cf-9e32-4d30-9a86-d368f4685063", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Example hook\",\n \"on\": true,\n \"secret\": \"frobozz\",\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n []\n ],\n \"url\": \"https://example.com/example\"\n}", "latency": 0, "statusCode": 200, "label": "Webhook response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f1738494-57fa-41b9-a756-d4e07421773d", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4a20dfc9-5c94-4cdb-a709-1419ff82c351", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66a08b84-4daf-44b2-ac49-b3d50dbe2c3b", "documentation": "Modify a webhook by ID.", "method": "patch", "endpoint": "webhooks/:resourceId", "responses": [ { "uuid": "80fe56ef-d33f-4e97-aff5-ea141c3bda42", "body": "{\n \"_id\": \"5a580a01b4ff89217bdf9dc1\",\n \"_links\": {\n \"next\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n },\n \"self\": {\n \"href\": \"/api/v2/endpoint\",\n \"type\": \"application/json\"\n }\n },\n \"name\": \"Example hook\",\n \"on\": true,\n \"secret\": \"frobozz\",\n \"statements\": [\n {\n \"actions\": [\n \"updateOn\"\n ],\n \"effect\": \"{{oneOf (array 'allow' 'deny')}}\",\n \"notActions\": [\n \"updateOn\"\n ],\n \"notResources\": [\n \"proj/*:env/*:flag/my-flag\"\n ],\n \"resources\": [\n \"proj/*:env/*:flag/my-flag\"\n ]\n }\n ],\n \"tags\": [\n []\n ],\n \"url\": \"https://example.com/example\"\n}", "latency": 0, "statusCode": 200, "label": "Webhook response.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b194bc31-9d04-492c-bc99-7be36e581edb", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid request body.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e32de564-7a15-4e14-8040-02391be014e2", "body": "", "latency": 0, "statusCode": 401, "label": "Invalid access token.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7cf0c3e5-37a4-4f52-9fe9-b9e2cc0253a8", "body": "", "latency": 0, "statusCode": 404, "label": "Invalid resource specifier.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5d785884-2372-49e6-afe9-5356d606e893", "body": "", "latency": 0, "statusCode": 409, "label": "Status conflict.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "a1cb0a87-725a-490b-bbef-98280af072da" }, { "type": "route", "uuid": "49ccb157-9407-44df-b2df-fece8c52ad6b" }, { "type": "route", "uuid": "6a538aff-4d14-4a1b-9a53-309524104649" }, { "type": "route", "uuid": "09ea944b-a672-4d1d-8fc7-0ecf7e7866be" }, { "type": "route", "uuid": "9fa8acaa-52fa-4f5d-ac2b-f53528775645" }, { "type": "route", "uuid": "7d05288b-8cc6-42e9-b99d-0823e2484c8d" }, { "type": "route", "uuid": "379508b3-10ee-42a6-9de7-8fc6e6e6219f" }, { "type": "route", "uuid": "110419eb-33f2-4252-90e7-644313a23b46" }, { "type": "route", "uuid": "144ae9b1-5fbb-4fe7-b217-c0292fe47a7f" }, { "type": "route", "uuid": "abb724ff-5f71-4e17-b750-f4a306db46c3" }, { "type": "route", "uuid": "6b272092-dbdd-4727-90af-6d24dd19104f" }, { "type": "route", "uuid": "8072c44d-46c4-49dd-a37f-445755a207d7" }, { "type": "route", "uuid": "ab75ddfd-89ef-43db-b780-046d1d05dc13" }, { "type": "route", "uuid": "82dd6c82-3b1e-400c-95f8-f25be8aafe51" }, { "type": "route", "uuid": "3f6cf48f-2926-43a3-8a09-00c36747bc63" }, { "type": "route", "uuid": "0d937e79-cec4-45f8-b9be-d4017d1e4413" }, { "type": "route", "uuid": "9733d858-88ad-4881-a097-4835c7f906aa" }, { "type": "route", "uuid": "84fe5fc1-70e2-46f5-9de8-da377f89f69f" }, { "type": "route", "uuid": "2708fd0a-708d-4295-bada-e7848d2379fd" }, { "type": "route", "uuid": "0544c920-a162-4532-a179-43b3a89eb469" }, { "type": "route", "uuid": "11f82af5-c7d0-4b4a-ba47-333982804007" }, { "type": "route", "uuid": "0435d4b7-09d9-45f6-81ce-e706ac320a93" }, { "type": "route", "uuid": "1a08a88f-3a1b-417a-b992-27795f898f47" }, { "type": "route", "uuid": "50fd6715-e70d-44dd-91a1-07212b82d7b8" }, { "type": "route", "uuid": "81689127-55e1-4ba8-a9dc-2a3482325bfd" }, { "type": "route", "uuid": "a709e50b-32a9-4736-9abf-c4ecfb9f98d3" }, { "type": "route", "uuid": "d2ec8f33-3925-495e-b044-ed71715c1afa" }, { "type": "route", "uuid": "69dd655d-690a-4b96-a1c3-de46a46aa56d" }, { "type": "route", "uuid": "1e8e7080-205f-4b79-8efa-b35586f10051" }, { "type": "route", "uuid": "3660b59d-ac4f-47dd-8f59-2510942ca424" }, { "type": "route", "uuid": "d9a78ac7-49fc-47ef-a3c2-f6fd062e0eb0" }, { "type": "route", "uuid": "a0aa3e1a-ae0c-4b70-9b93-aa4982d64a06" }, { "type": "route", "uuid": "6fb1d413-d765-4a17-8565-2a0b96defc17" }, { "type": "route", "uuid": "8ad83f1e-e069-4cd2-b30d-09cace2a1083" }, { "type": "route", "uuid": "0feb25d0-ed3f-4fda-a321-f06c60e9cd9b" }, { "type": "route", "uuid": "a42cc614-129c-4df2-ae75-d764acc51a7b" }, { "type": "route", "uuid": "2bc94fda-d517-4fa2-9324-a618f3020821" }, { "type": "route", "uuid": "9250c57e-98a7-423d-a1e4-3a0802b708fc" }, { "type": "route", "uuid": "ac5df7c4-018a-4f09-bbe3-7064edd6b7c6" }, { "type": "route", "uuid": "88ef3366-9cd8-41d1-904e-745eafedcaa6" }, { "type": "route", "uuid": "68993fc6-cae4-42ae-8f15-ace3563a84a2" }, { "type": "route", "uuid": "72e82f1a-6424-497a-aad6-b8bbbd7985c0" }, { "type": "route", "uuid": "ee90de3c-674e-40b9-8a15-ffd794867d46" }, { "type": "route", "uuid": "e2bb85cd-bdcb-4f9a-ae00-ceceea72bf67" }, { "type": "route", "uuid": "3c6e0ca0-3258-4bef-9e19-ace881efe423" }, { "type": "route", "uuid": "66c2cc1c-50f0-4576-82bd-536bf5a52990" }, { "type": "route", "uuid": "24011671-6026-42b5-9130-4f8d33ef63b4" }, { "type": "route", "uuid": "505134fb-ee40-4a0e-b9ca-87e8caaff44c" }, { "type": "route", "uuid": "538e2752-e302-43ac-9ecf-a84c3ed06a9e" }, { "type": "route", "uuid": "a0c17a9a-82bd-4743-a1b8-ee7270698051" }, { "type": "route", "uuid": "4b2f8edf-6ef4-4343-9e01-ffb7c7dcbc38" }, { "type": "route", "uuid": "94ebe582-67d3-4f8a-a5d8-5265ecb0899b" }, { "type": "route", "uuid": "3c7a8646-11aa-409c-91d2-2bbdf4e01f29" }, { "type": "route", "uuid": "95f0aaaf-8c7f-4aab-b352-cf011c3f5f0d" }, { "type": "route", "uuid": "5a34e742-a34b-4b39-ba13-2244951bbccb" }, { "type": "route", "uuid": "5067cafd-53eb-4067-afe7-e3dfd9b1fc14" }, { "type": "route", "uuid": "a568ccc8-49b5-463b-ab9b-2b2ced5fdd1c" }, { "type": "route", "uuid": "cd31b9a5-c010-4b21-8c31-204a5142b216" }, { "type": "route", "uuid": "d3126435-fa9e-48cc-afa4-c2748921b121" }, { "type": "route", "uuid": "d7566695-7f59-43ed-b917-23d2bc1cb1fb" }, { "type": "route", "uuid": "c6561565-4c71-4b44-a442-c119f508431e" }, { "type": "route", "uuid": "91a59c77-ee31-4046-bd9a-c1109c56b25f" }, { "type": "route", "uuid": "a73ad6d1-0717-47a2-b773-22c8ad7eeb9a" }, { "type": "route", "uuid": "1ea6e80a-be64-4e19-ba58-23403abd1fbc" }, { "type": "route", "uuid": "83722d0a-25a9-442d-8e1b-fe57f3d916b4" }, { "type": "route", "uuid": "5457d9c5-e51f-44b9-9f97-3217e70449e8" }, { "type": "route", "uuid": "060b9134-4484-4783-828d-4ffc1ee3aa95" }, { "type": "route", "uuid": "dca9d3b6-788c-4dbc-9862-213a8634a5bd" }, { "type": "route", "uuid": "4e493645-1f91-41e7-9a5c-1b345a7a0f41" }, { "type": "route", "uuid": "26843d22-f4e5-46af-b9a1-f03acdaf029a" }, { "type": "route", "uuid": "3955be1f-7c6b-43d8-ba94-b8fad64ed878" }, { "type": "route", "uuid": "5b19eea8-b6df-4880-8b60-f17491ee14d5" }, { "type": "route", "uuid": "c5ff11ac-7b49-49cf-b1f5-c4f556cb61eb" }, { "type": "route", "uuid": "ee2eca08-096c-4f7f-8d93-e76fa0b546da" }, { "type": "route", "uuid": "dd16f1bc-9809-42de-96ed-bd395f2ce16b" }, { "type": "route", "uuid": "dc8d76d8-c669-4bb6-ac88-4c23f2ad4a45" }, { "type": "route", "uuid": "90c83e70-8357-434e-b915-4cacbbb709f0" }, { "type": "route", "uuid": "66689a09-8707-4793-9f5d-812e070ac1de" }, { "type": "route", "uuid": "e6c9772a-37a3-4ed6-b53b-36da368176fc" }, { "type": "route", "uuid": "3233cb3e-5b1c-43f5-bc91-0daef4054579" }, { "type": "route", "uuid": "cdf126fd-657e-4fad-a525-e10cf9536b07" }, { "type": "route", "uuid": "d5c6d8cc-9f3c-4ea5-a7b6-a6210d13fe2f" }, { "type": "route", "uuid": "c62bf831-3d1f-4758-a064-6d4b5bf8f353" }, { "type": "route", "uuid": "690e72f1-eb47-4e4f-bd7d-db834257ebca" }, { "type": "route", "uuid": "4b05e2c5-59f9-4d9c-b43e-81c6d0b5fe26" }, { "type": "route", "uuid": "c8ec5e50-7e6d-42fd-8b9a-b1f100157136" }, { "type": "route", "uuid": "8157a536-8a97-4a1c-89bf-e108ced671e9" }, { "type": "route", "uuid": "503f35e0-29e4-47f7-a802-05e1c68907c9" }, { "type": "route", "uuid": "fc7075f4-0025-4e23-a6de-64d32e68189e" }, { "type": "route", "uuid": "4839c135-5013-482e-bb65-ad004b0ebf84" }, { "type": "route", "uuid": "4318c92e-fb02-4102-bfdb-c7e770080e3b" }, { "type": "route", "uuid": "98b7b6b6-0682-4dff-a5d3-f3a55a812cf6" }, { "type": "route", "uuid": "004935fb-cf82-4f52-a12c-6d8e01173164" }, { "type": "route", "uuid": "c5525837-4ab5-40c2-8849-62c52fdb47d4" }, { "type": "route", "uuid": "a2e3f0df-038d-4434-9f60-1daa97d8c620" }, { "type": "route", "uuid": "f5410dde-8ede-49c2-a526-120467fb67a2" }, { "type": "route", "uuid": "f75bdd74-02ec-4277-8158-77ebd8a46861" }, { "type": "route", "uuid": "c18924fe-4e1a-48b7-b440-e1be63683ab4" }, { "type": "route", "uuid": "ee4f6862-4c85-4969-8908-041f0a01b096" }, { "type": "route", "uuid": "f536e9b4-72bf-4fe0-bb53-a1222c38e2cd" }, { "type": "route", "uuid": "1917e04e-f100-4880-8b5e-b9cbea18ac5c" }, { "type": "route", "uuid": "21c881bd-07e5-4449-8467-02e5629512bc" }, { "type": "route", "uuid": "bc91d59b-0e3b-4315-9d67-04a3e857d956" }, { "type": "route", "uuid": "512bd979-840f-4af7-a51e-b42307a6b717" }, { "type": "route", "uuid": "66a08b84-4daf-44b2-ac49-b3d50dbe2c3b" } ] }