Export (REST)
Through the REST API, the Export API allows clients to export applications as a RAP file or schema file.
Client code sample
To use the Export service, send requests by making calls with the required HTTP methods. See the following base URL for this service:
Copy
<host>/Relativity.REST/API/relativity-application/v1/workspaces/{workspaceID}/applications/
ExportAsync
Note: You must be a System Admin to call this endpoint.
To export an application as a RAP file, send a GET request for one of the following URLs:
Copy
https://<host>/Relativity.REST/API/relativity-application/v1/workspaces/{workspaceID:int}/applications/{applicationID:int}/rapfile
https://<host>/Relativity.REST/API/relativity-application/v1/workspaces/{workspaceID:int}/applications/{applicationGUID:guid}/rapfile
The raw JSON response will not be human-readable.
ExportSchemaAsync
Note: You must be a System Admin to call this endpoint.
To export an application as a RAP file, send a GET request for one of the following URLs:
Copy
https://<host>/Relativity.REST/API/relativity-application/v1/workspaces/{workspaceID:int}/applications/{applicationID:int}/schema
https://<host>/Relativity.REST/API/relativity-application/v1/workspaces/{workspaceID:int}/applications/{applicationGUID:guid}/schema
The raw JSON response will not be human-readable.