Copy Schedule To Environment
POST/v1/product/:product_id/environment/:environment_id/schedule/:schedule_id/copy
Copy a schedule to an environment, either as a sync or full copy
Request
Path Parameters
The product ID
The environment ID
The schedule ID to copy
Query Parameters
If True, sync schedule. If False, create full copy
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- EnvironmentScheduleEntryResponse
- ScheduleCopyResponse
Array [
]
anyOf
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when this resource was created
Name of the event
Description of the event
Start datetime of the event
ID of the account that created the event
Unique identifier for the event
Response model for schedule copy operation.
schedule
object
required
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when this resource was created
Name of the event
Description of the event
Start datetime of the event
ID of the account that created the event
Unique identifier for the event
modifications
object[]
required
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when this resource was created
Unique identifier for the target
Type of entity being modified
Name of the field being modified
Boolean value modification
String value modification
Integer value modification
Float value modification
Datetime value modification
Name of the modification
Description of the modification
ID of the sandbox of which the modification originated
Default value: [object Object]
Whether to delete the overlay modification from the overlay.
ID of the parent event
Unique identifier for the modification
Unique product identifier for the modification
{}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}