Returns the a rendered template given an application component for an app environment
POST/api/v2/workspaces/:workspace/template/compile/app/:appenv/:component
Returns the a rendered template given an application component for an app environment
Request
Path Parameters
workspace stringrequired
Workspace to use
appenv stringrequired
The application environment name
component stringrequired
The application component name
- application/json
Body
required
Template stringrequired
Responses
- 200
- 400
- 401
- 403
- 500
The templated result
- application/json
- Schema
- Example (from schema)
Schema
data string
{
"data": "string"
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32required
fieldErrors
undefined[]
required
errCode stringrequired
field stringrequired
message stringrequired
message stringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...