Sync

Operations of the Connector Sync API. Paths are relative to your deployment's API host.

GET /api/connector-sync-api/sync

List sync configs for a project

Authentication: bearer token (Authorization: Bearer <token>)

StatusDescriptionBody
200application/json SyncConfigResponseDtoDataArrayEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync

Create a sync config for a project + adapter (not authorised until a person authorises it)

Authentication: bearer token (Authorization: Bearer <token>)

Request body: application/json CreateSyncConfigDto

StatusDescriptionBody
201application/json SyncConfigResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-sync-api/sync/{adapterKey}

Get the sync config for one adapter

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
adapterKeypathone of "DOCUMENTATION", "TRACKER"yes
StatusDescriptionBody
200application/json SyncConfigResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PATCH /api/connector-sync-api/sync/{adapterKey}

Update a sync config (a direction change needs re-authorising)

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
adapterKeypathone of "DOCUMENTATION", "TRACKER"yes

Request body: application/json UpdateSyncConfigDto

StatusDescriptionBody
200application/json SyncConfigResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

DELETE /api/connector-sync-api/sync/{adapterKey}

Remove a sync config, revoking its authority first

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
adapterKeypathone of "DOCUMENTATION", "TRACKER"yes
StatusDescriptionBody
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{adapterKey}/authorise

Authorise the schedule: lend it a durable delegation of the owner's authority over the connection and project

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
adapterKeypathone of "DOCUMENTATION", "TRACKER"yes

Request body: application/json AuthoriseSyncScheduleDto

StatusDescriptionBody
200application/json SyncConfigResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{adapterKey}/revoke

Revoke the schedule's authority; it does not fire until re-authorised

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
adapterKeypathone of "DOCUMENTATION", "TRACKER"yes
StatusDescriptionBody
200application/json SyncConfigResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-sync-api/sync/{projectId}/analyses

List analyses for a project

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
projectIdpathstringyes
StatusDescriptionBody
200application/json SyncAnalysisResponseDtoDataArrayEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-sync-api/sync/{projectId}/analysis/{analysisId}

Get the status and results of a content scan

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
analysisIdpathstringyes
projectIdpathstringyes
StatusDescriptionBody
200application/json SyncAnalysisResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{projectId}/analysis/{analysisId}/confirm

Confirm a mapping proposal and create the sync mappings

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
analysisIdpathstringyes
projectIdpathstringyes

Request body: application/json ConfirmMappingsDto

StatusDescriptionBody
200application/json ConfirmMappingsResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{projectId}/analysis/{analysisId}/generate-mapping

Generate an AI mapping proposal for a completed analysis

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
analysisIdpathstringyes
projectIdpathstringyes

Request body: application/json GenerateMappingDto

StatusDescriptionBody
200application/json SyncAnalysisResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-sync-api/sync/{projectId}/analysis/{analysisId}/tree

Scan the analysed provider's content structure live; the tree is never stored

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
analysisIdpathstringyes
projectIdpathstringyes
StatusDescriptionBody
200application/json ExternalResourceDtoDataArrayEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{projectId}/analyze

Start a documentation structure scan, under a per-run delegation the caller authorises

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
projectIdpathstringyes

Request body: application/json TriggerAnalysisDto

StatusDescriptionBody
200application/json TriggerAnalysisResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-sync-api/sync/{projectId}/execute

Run a sync now, under a per-run delegation the caller authorises

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
projectIdpathstringyes

Request body: application/json ExecuteSyncDto

StatusDescriptionBody
200application/json SyncExecutionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-sync-api/sync/{projectId}/status

A project's sync status: each config's authority and latest run

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
projectIdpathstringyes
StatusDescriptionBody
200application/json SyncStatusResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto