Console Data

Returns Console data for a repository.

Request

1GET /api/console?repository=my-project/my-app

The repository query parameter is required.

Example

1curl "https://api.hola.cloud/api/console?repository=my-project/my-app"

Response

The response contains the repository data known to Run, including pushed references and the saved runtime configuration. Exact fields can vary with service state.

 1{
 2  "repository": "my-project/my-app",
 3  "references": ["latest", "v1"],
 4  "env": [
 5    {"key": "LOG_LEVEL", "desired_value": "info"}
 6  ],
 7  "volumes": [
 8    {"name": "my-data", "target": "/data", "mode": "rw"}
 9  ]
10}

Comments

Leave a comment