Bad Request
Internal Server Error
Returns the list of Environments for a Project
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the Environment to be updated
Bad Request
Internal Server Error
Returns the updated Environment
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "identifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "description": "string",
- "color": "string",
- "type": "PreProduction",
- "yaml": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the Environment to be created
Bad Request
Internal Server Error
Returns the created Environment
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "identifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "description": "string",
- "color": "string",
- "type": "PreProduction",
- "yaml": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
The saved Environment
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns true if the Environment is deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns the list of Service Overrides for an Environment.serviceIdentifier, if passed, can be used to get the overrides for that particular Service in the Environment
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the Service Override to be upserted
Bad Request
Internal Server Error
Upsert ( Create/Update ) a Service Override in an Environment.
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "environmentIdentifier": "string",
- "serviceIdentifier": "string",
- "yaml": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns true if the Service Override is deleted
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Import and Create Environment from Git Repository and saves a record for it in Harness
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Returns the list of Environments that are accessible
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
Move environment YAML from inline to remote
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update git-metadata in remote environment and returns the identifier of updated environment
Bad Request
Internal Server Error
Returns identifier of updated environment
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Details of the Environment to be updated
Bad Request
Internal Server Error
Returns the updated Environment
{- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "identifier": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "name": "string",
- "description": "string",
- "color": "string",
- "type": "PreProduction",
- "yaml": "string"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}