Schedule Sync Using POST
Request sync for a content source
Request
            
                URI
                    
                                POST                            
                            https://{api_host}//cava-s-182-041.eng.vmware.com/content/api/sourcecontrol/sync-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
                                            
                                                                                            
                                                    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                
            
        
        {
    "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, 
                            
        
    
                404            
            
        source not found
Operation doesn't return any data structure
            
            
                    Source Control Sync Operations
        
                                            
                            
                                    GET                                
                                
                                        Get Sync Request Using GET                                    
                                
                                    POST                                
                                
                                        Schedule Sync All Using POST                                    
                                
                                    POST                                
                                
                                        Schedule Sync Using POST                                    
                                
                                    GET                                
                                
                                        Sync History Using GET                                    
                                