List Resource Definitions.
Changed onFilter criteria can be applied to obtain all the resource definitions that could match the filters, grouped by type and sorted by matching rank. Resources marked as deleted are not listed in the response, unless specified via deleted query parameter.
Request
- Base URLhttps://api.humanitec.io
- URLhttps://api.humanitec.io/orgs/{orgId}/resources/defs
- Authnone declared
Path parameters
The Organization ID.
Query parameters
(Optional) Filter Resource Definitions that may match a specific Application.
(Optional) Filter Resource Definitions that may match a specific Environment.
(Optional) Filter Resource Definitions that may match a specific Environment Type.
(Optional) Filter Resource Definitions that may match a specific Resource.
(Optional) Filter Resource Definitions that may match a specific Resource Type.
(Optional) Filter Resource Definitions that may match a specific Class.
If returns also resource definitions which has been deleted.
Response
A possibly empty list of Resources Definitions.
Example response
[
{
"created_at": "2020-05-23T12:32:16Z",
"created_by": "a.user@example.com",
"criteria": [
{
"env_type": "development",
"id": "123456"
}
],
"driver_account": "gcp-dev-cloudsql",
"driver_inputs": {
"secret_refs": {
"credentials": {
"password": {
"value": "<secret>"
},
"user": {
"ref": "vault/path/to/data/secrets/user",
"store": "my-external-vault",
"version": "1"
}
}
},
"values": {
"instance": "my-dev-project:my-region:dev-db"
}
},
"driver_type": "humanitec/postgres-cloudsql",
"id": "dev-postgres",
"is_default": false,
"is_deleted": false,
"name": "Dev Postgres Instance",
"org_id": "test-org",
"provision": {
"aws-policy": {
"is_dependent": false,
"match_dependents": false
},
"dns#my-dns": {}
},
"type": "postgres"
}
]Changes
- info
added the required property
/to the response with the status
- info
- info
added the optional property
///to the response with the status
- info