Sync History Using GET

Sync History Using GET

Get history for files synced via source control sync

Request
URI
GET
https://{api_host}/content/api/sourcecontrol/sync-history
COPY
Query Parameters
string
contentName
Optional

Search based on content name

string
contentType
Optional

Search based on content type

string
integrationId
Optional

Search based on integration id

integer
page
Optional

Page you want to retrieve (1..N)

page example
1
string of array
projectIds
Optional

Search based on project ids

integer
size
Optional

Number of records per page

size example
10
string of array
sourceIds
Optional

Search based on content source ids

string
status
Optional

Search based on sync status


Responses
200

Sync history

Returns SourceControlSyncHistory of type(s) application/json
{
    "_embedded": [
        {
            "contentFullPath": "string",
            "contentName": "string",
            "contentType": "string",
            "details": [
                "string"
            ],
            "id": "string",
            "integrationId": "string",
            "projectId": "string",
            "projectName": "string",
            "requestId": "string",
            "sourceId": "string",
            "status": "string",
            "timestamp": "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
    }
}
array of object
_embedded
Optional

_embedded

array of object
_links
Optional

_links

object
page
Optional

page


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/content/api/sourcecontrol/sync-history