Schedule Sync Using POST
Request sync for a content source
Request
URI
POST
https://{api_host}/content/api/sourcecontrol/sync-requests
COPY
Request Body
request
SourceControlSyncRequest
of type(s)
application/json
Required
{
"createdAt": "string",
"lastUpdatedAt": "string",
"message": "string",
"projectId": "string",
"requestId": "string",
"sourceId": "string",
"status": "string"
}
string As date-time
As date-time
createdAt
Optional
Created at
string As date-time
As date-time
lastUpdatedAt
Optional
Last Updated at
string
message
Optional
Message
string
projectId
Optional
Project Id
string As uuid
As uuid
requestId
Optional
Request Id
string As uuid
As uuid
sourceId
Optional
Content Source Id
string
status
Optional
Status
Possible values are :
REQUESTED,
STARTED,
PROCESSING,
COMPLETED,
FAILED,
SKIPPED,
Responses
202
Submitted sync requests
Returns
SourceControlSyncRequest
of type(s)
application/json
"SourceControlSyncRequest Object"
string As date-time
As date-time
createdAt
Optional
Created at
string As date-time
As date-time
lastUpdatedAt
Optional
Last Updated at
string
message
Optional
Message
string
projectId
Optional
Project Id
string As uuid
As uuid
requestId
Optional
Request Id
string As uuid
As uuid
sourceId
Optional
Content Source Id
string
status
Optional
Status
Possible values are :
REQUESTED,
STARTED,
PROCESSING,
COMPLETED,
FAILED,
SKIPPED,
404
source not found
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/content/api/sourcecontrol/sync-requests
Source Control Sync Operations
POST
Schedule Sync All Using POST
GET
Sync History Using GET
POST
Schedule Sync Using POST
GET
Get Sync Request Using GET