Skip to main content
GET
/
environment
/
{environmentId}
/
deploymentRule
Get environment deployment rule
curl --request GET \
  --url https://api.qovery.com/environment/{environmentId}/deploymentRule \
  --header 'Authorization: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "on_demand_preview": false,
  "auto_stop": false,
  "auto_preview": false,
  "timezone": "UTC",
  "start_time": "1970-01-01T08:00:00.000Z",
  "stop_time": "1970-01-01T19:00:00.000Z",
  "weekdays": [
    "MONDAY"
  ]
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

environmentId
string<uuid>
required

Environment ID

Response

Get deployment rule

id
string<uuid>
required
created_at
string<date-time>
required
timezone
string
required
Example:

"UTC"

start_time
string<date-time>
required
Example:

"1970-01-01T08:00:00.000Z"

stop_time
string<date-time>
required
Example:

"1970-01-01T19:00:00.000Z"

weekdays
enum<string>[]
required
updated_at
string<date-time>
on_demand_preview
boolean
default:false
auto_stop
boolean
default:false
auto_preview
boolean
default:false