Schedule Sync All Using POST

Schedule Sync All Using POST

Request sync for the sources belonging to the user's projects or specified projects

Request
URI
POST
https://{api_host}/content/api/sourcecontrol/sync-all-requests
COPY
Request Body

request

SourceControlSyncAllRequest of type(s) application/json
Optional
{
    "projectIds": [
        "string"
    ]
}
array of string
projectIds
Optional

Project Ids

Responses
202

Submitted sync requests

Returns SourceControlSyncRequests of type(s) application/json
"SourceControlSyncRequests Object"
array of object
_embedded
Optional

_embedded

array of object
_links
Optional

_links

object
page
Optional

page


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/content/api/sourcecontrol/sync-all-requests