Rancher · Example Payload

Rancher List Projects Example

Cluster ManagementContainersKubernetesMulti-ClusterOpen SourceSUSEPlatform Engineering

Rancher List Projects Example is an example object payload from Rancher, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://rancher.example.com/v3/projects",
    "headers": {
      "Authorization": "Bearer token-abc123:secret456",
      "Content-Type": "application/json"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "type": "collection",
      "data": [
        {
          "id": "c-m-k9b8g7f6:p-abc123",
          "name": "Default",
          "clusterId": "c-m-k9b8g7f6",
          "description": "Default project"
        },
        {
          "id": "c-m-k9b8g7f6:p-def456",
          "name": "System",
          "clusterId": "c-m-k9b8g7f6",
          "description": "System project"
        }
      ]
    }
  }
}