Last updated 1 month ago
Use these operations to interact with the in Cortex.
Your API key must have the Configure integrations permission.
Configure integrations
GET /api/v1/azure-devops/configurations HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully found configurations
{ "configurations": [ { "alias": "text", "host": "text", "isDefault": true, "lastFour": "text", "organizationSlug": "text", "username": "text" } ] }
GET /api/v1/azure-devops/default-configuration HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully found default configuration
{ "alias": "text", "host": "text", "isDefault": true, "lastFour": "text", "organizationSlug": "text", "username": "text" }
GET /api/v1/azure-devops/configuration/{alias} HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully found configuration
POST /api/v1/azure-devops/configuration/validate HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully validated all configurations
{ "configurations": [ { "alias": "text", "isValid": true, "message": "text" } ] }
POST /api/v1/azure-devops/configuration/validate/{alias} HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully validated configuration
{ "alias": "text", "isValid": true, "message": "text" }
DELETE /api/v1/azure-devops/configuration/{alias} HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully deleted configuration
DELETE /api/v1/azure-devops/configurations HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully deleted all configurations
No content
POST /api/v1/azure-devops/configuration HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 120 { "alias": "text", "host": "text", "isDefault": true, "organizationSlug": "text", "personalAccessToken": "text", "username": "text" }
Successfully added configuration
POST /api/v1/azure-devops/configurations HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 141 { "configurations": [ { "alias": "text", "host": "text", "isDefault": true, "organizationSlug": "text", "personalAccessToken": "text", "username": "text" } ] }
Successfully added configurations
{ "configurations": [ { "alias": "text", "host": "text", "isDefault": true, "lastFour": "text", "organizationSlug": "text", "username": "text" } ], "skippedConfigurations": { "ANY_ADDITIONAL_PROPERTY": "text" } }
WARNING: Updating aliases for configurations or changing the default configuration could cause entity YAMLs that use this integration to break.
PUT /api/v1/azure-devops/configuration/{alias} HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 33 { "alias": "text", "isDefault": true }
Successfully updated configuration