v1

latestOpenAPI 3.0.0Apache 2.02026-07-17524793.1 KB
Policy

List all policies.

get/v1/{tenantId}/policies

Query parameters

offsetinteger

The number of items to skip before starting to collect the result set

limitinteger

The numbers of items to return

sortstring

The sort key and direction of items to return, string must like:"id:asc,name:desc"

Response

successful operation.

nextinteger

Example response

{
  "policies": [
    {
      "Id": "5bd6f273b0bdf90001dc91c3",
      "TenantId": "94b280022d0c4401bcf3b0ea85870519",
      "Name": "policy001",
      "Description": "Migration Policy",
      "Schedule": {
        "Type": "cron"
      }
    }
  ],
  "next": 1
}