Create Program
POST/program/api/v1/projects/:projectID/programs
Create a new program with default composition
Generate JWTRequest
Path Parameters
projectID stringrequired
ID of the project
- application/json
Body
required
Program to create
id string
projectID string
programName string
programSlug stringrequired
clientReferrer string
defaultComposition string
mode string
createdBy string
updatedBy string
createdOn string
updatedOn string
Responses
- 201
- 400
- 500
Program created
- application/json
- Schema
- Example (from schema)
Schema
id string
projectID string
programName string
programSlug stringrequired
clientReferrer string
defaultComposition string
mode string
createdBy string
updatedBy string
createdOn string
updatedOn string
{
"id": "string",
"projectID": "string",
"programName": "string",
"programSlug": "string",
"clientReferrer": "string",
"defaultComposition": "string",
"mode": "string",
"createdBy": "string",
"updatedBy": "string",
"createdOn": "string",
"updatedOn": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
message stringrequired
Error message for the end user
errorCode string
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
name stringrequired
reason stringrequired
errorCode string
internal string
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
message stringrequired
Error message for the end user
errorCode string
Code that can be set that supplies a specific reason for why a request failed
invalidFields
object[]
Specific error scoped to a field
name stringrequired
reason stringrequired
errorCode string
internal string
Internal user only
{
"message": "string",
"errorCode": "string",
"invalidFields": [
{
"name": "string",
"reason": "string",
"errorCode": "string"
}
],
"internal": "string"
}
Loading...