Skip to main content

ONLYOFFICE DocSpace Migration API

The browsable version of this reference, with a request builder and code samples, is published at https://api.onlyoffice.com/docspace/api-backend/usage-api/.

All URIs are relative to https://yourportal.onlyoffice.com, where the host is the address of your DocSpace instance.

Migration​

MethodHTTP requestDescription
cancelMigrationPOST /api/2.0/migration/cancelCancel migration
clearMigrationPOST /api/2.0/migration/clearClear migration
finishMigrationPOST /api/2.0/migration/finishFinish migration
getMigrationLogsGET /api/2.0/migration/logsGet migration logs
getMigrationStatusGET /api/2.0/migration/statusGet migration status
listMigrationsGET /api/2.0/migration/listGet available migrators
startMigrationPOST /api/2.0/migration/migrateStart migration
uploadAndInitializeMigrationPOST /api/2.0/migration/init/{migratorName}Parse migration archive

Authorization​

cookieAuth​

  • Type: API key
  • API key parameter name: asc_auth_key
  • Location:

bearerAuth​

  • Type: HTTP Bearer Token authentication

asc_auth_key​

  • Type: API key
  • API key parameter name: asc_auth_key
  • Location:

Basic​

  • Type: HTTP basic authentication

Bearer​

  • Type: HTTP Bearer Token authentication (JWT)

ApiKeyBearer​

  • Type: API key
  • API key parameter name: ApiKeyBearer
  • Location: HTTP header

OAuth2​

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL:
  • Scopes:
    • read: Read access to protected resources
    • write: Write access to protected resources

OpenId​

x-signature​

  • Type: API key
  • API key parameter name: x-signature
  • Location: