This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true
to the request query parameters.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:orchestration-write
.
object
string
The RID of a schedule run
string
The Resource Identifier (RID) of a Schedule.
string
The RID of a schedule version
string
The time at which the schedule run was created.
string
The Foundry user who manually invoked this schedule run. Automatic trigger runs have this field set to empty.
union
The result of triggering the schedule. If empty, it means the service is still working on triggering the schedule.
object
The schedule is not running as all targets are up-to-date.
object
The schedule has been successfully triggered.
string
The RID of a build
object
An error occurred attempting to run the schedule.
string
(enum)Enum values: TargetResolutionFailure
, CyclicDependency
, IncompatibleTargets
, PermissionDenied
, JobSpecNotFound
, ScheduleOwnerNotFound
, Internal
string
1
2
3
curl -X POST \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/orchestration/schedules/ri.scheduler.main.schedule.8843955e-37d1-4363-85eb-539833e10a41/run?preview=true"
1
2
3
4
5
6
{
"scheduleVersionRid": "ri.scheduler.main.schedule-version.4d1eb55f-6c13-411c-a911-5d84e08d8017",
"createdBy": "f05f8da4-b84c-4fca-9c77-8af0b13d11de",
"scheduleRid": "ri.scheduler.main.schedule.8843955e-37d1-4363-85eb-539833e10a41",
"rid": "ri.scheduler.main.run.d2a5e9c6-298d-4788-a71d-42885d7bebb3"
}