/api/ee/remote-sync
GET /api/ee/remote-sync/has-remote-changes
Changed onCheck if there are new changes on the remote branch that can be pulled. Uses in-memory caching (configurable TTL via remote-sync-check-changes-cache-ttl-seconds setting).
Returns:
- has_changes: true if remote version differs from last imported version, or if never imported
- remote_version: current Git SHA on remote branch
- local_version: Git SHA of last successful import (nil if never imported)
- cached: true if result was served from cache
get/api/ee/remote-sync/has-remote-changes
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Query parameters
force-refreshboolean
Request body
object required
Response
Successful response
Changes
- info
added optional request body
- info
added the optional property
to the response with the status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status - info
removed
subschema #1subschema #2from theresponse propertyoneOflist for the response status
- info
- info
api operation id
get-api-ee-remote-sync-has-remote-changeswas added
- info