devguard

ActionsId

Get the details of a single action by id.

GET
/actions/{id}/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.devguard.ch/api/actions/string/"
{
  "id": "string",
  "shortId": -9007199254740991,
  "name": "string",
  "organizationId": "string",
  "integrationCredentialId": "string",
  "externalTicketConfiguration": null,
  "scheduleId": "string",
  "template": "string",
  "status": "ACTIVE",
  "createdAt": "string",
  "updatedAt": "string",
  "lastError": "string",
  "lastErrorAt": "string",
  "integrationCredential": {
    "id": "string",
    "organizationId": "string",
    "type": "GITHUB",
    "name": "string",
    "configuration": null,
    "credentials": null,
    "status": "ACTIVE",
    "createdAt": "string",
    "updatedAt": "string",
    "lastSyncAt": "string"
  },
  "schedule": {
    "id": "string",
    "slug": "string",
    "name": "string",
    "description": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "organizationId": "string",
    "ruleSet": "string"
  },
  "externalTickets": [
    {
      "id": "string",
      "organizationId": "string",
      "actionId": "string",
      "sequenceNumber": -9007199254740991,
      "externalId": "string",
      "externalUrl": "string",
      "title": "string",
      "status": "OPEN",
      "createdAt": "string",
      "updatedAt": "string",
      "externalCreatedAt": "string",
      "externalUpdatedAt": "string",
      "metadata": null
    }
  ]
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

How is this guide?