Declarative Operations
Query existing resources
See: query command docs for usage details.
Requires appropriate permissions matching resources involved.
See query options reference for more details on each field in request body YAML object (query specifier).
post/query
Request
- Base URLhttps://replace-with-account.api.decodable.co/v1alpha2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://auth.decodable.co/authorize?audience=https://api.decodable.co/Token URLhttps://auth.decodable.co/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-yaml
Response
A declarative query response: zero or more resource definitions, each with this schema.
Note that the response will be application/x-yaml by default (with one YAML doc per resource definition), but application/json may be selected via the Accept: request header.
Example response
{
"spec": {
"stream_mappings": [
{
"stream_id": "abcd1234"
}
],
"stream_id": "abcd1234",
"autoscale_configuration": {
"pause_conditions": {
"max_record_read_rate": {
"record_count": "100",
"duration_seconds": "300"
},
"max_job_runtime": {
"duration_seconds": "3600"
}
},
"resume_conditions": {
"schedule": {
"cron_expression": "0 8 * * *"
}
}
}
},
"status": {
"operator-chaining": "true"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.