devguard

Asset actionSearch

Search available actions for mapping to assets.

GET
/asset-action/search/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Query Parameters

query?string
excludeAssetId?string
organizationId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.devguard.ch/api/asset-action/search/?organizationId=string"
[
  {
    "id": "string",
    "shortId": 0,
    "name": "string",
    "status": "string",
    "template": "string"
  }
]
{
  "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?