Sync
Per-resource sync state (repos / channels / collections) for one connection
Changed onget/workspaces/{workspaceSlug}/connections/{connectionId}/sync/resources
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/connections/{connectionId}/sync/resources
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
connectionIdinteger required
Response
OK
Example response
[
{
"counts": [
{
"key": "pullRequests",
"label": "Pull requests"
}
]
}
]Changes
- breaking
for the
pathrequest parameterworkspaceSlug, the minLength was increased from0to3 - warning
for the
pathrequest parameterworkspaceSlug, the maxLength was set to51 - warning
changed the pattern of the
pathrequest parameterworkspaceSlugfrom^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$
- breaking