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}//cava-s-182-041.eng.vmware.com/content/api/sourcecontrol/sync-all-requests
COPY
Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information, please refer to /content/api/about


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
{
    "_embedded": [
        {
            "createdAt": "string",
            "lastUpdatedAt": "string",
            "message": "string",
            "projectId": "string",
            "requestId": "string",
            "sourceId": "string",
            "status": "string"
        }
    ],
    "_links": [
        {
            "deprecation": "string",
            "href": "string",
            "hreflang": "string",
            "media": "string",
            "rel": "string",
            "templated": false,
            "title": "string",
            "type": "string"
        }
    ],
    "page": {
        "number": 0,
        "size": 0,
        "totalElements": 0,
        "totalPages": 0
    }
}
_embedded
Optional

_embedded

array of Link
_links
Optional

_links

page
Optional

page