devguard

Asset reviews

Get a list of asset reviews.

GET
/asset-reviews/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Query Parameters

limit?number
Default100
Range5 <= value
page?number
Default1
Range1 <= value
organizationId*string
sortColumn?string
sortDirection?string
Value in"asc" | "desc"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.devguard.ch/api/asset-reviews/?organizationId=string"
{
  "items": [
    {
      "id": "string",
      "shortId": -9007199254740991,
      "title": "string",
      "notes": "string",
      "createdAt": "string",
      "finishedAt": "string",
      "deadline": "string",
      "priorityFilter": "ALL",
      "organizationId": "string",
      "coordinatorId": "string",
      "coordinator": {
        "id": "string",
        "slug": "string",
        "name": "string",
        "description": "string",
        "organizationId": "string",
        "users": [
          "string"
        ]
      },
      "items": [
        {
          "id": "string",
          "reviewedAt": "string",
          "reviewedBy": "string",
          "approved": true,
          "snapshot": {
            "property1": null,
            "property2": null
          },
          "organizationId": "string",
          "assetReviewId": "string"
        }
      ]
    }
  ],
  "total": 0,
  "page": 0,
  "limit": 0
}
{
  "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?