Environments
Compare
Compare secrets of two environments.
Compare secrets of two environments.
Path Parameters
project_identifier*string
The name or the ID of the project.
environment_identifier*string
The name or the ID of the environment.
environment_identifier2*string
The name or the ID of the environment to compare with.
Query Parameters
include_value?boolean
Include the actual values of the secrets in the response.
expand_refs?boolean
Expand secrets references with their referred values.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/projects/string/environments/string/compare/string"[
{
"name": "PORT",
"values": [
"3000",
"5000"
]
},
{
"name": "DATABASE_URL",
"values": [
null,
"postgres://postgres:postgres@localhost:5432/postgres"
]
}
]{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}