API Reference

Export a single workspace

Description

Returns a file that represents the entirety of the workspace of the request. You can upload this file into another workspace to replicate this one.

GET /api/v1/admin/export

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Code Samples

curl -X GET https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/export  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/export  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/export" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://h.app.wdesk.com/s/wdata/prep/api/v1/admin/export', headers = headers)

print(r.json())

Returns

200 - OK

Returns a JSON object containing a body property, which contains a TokenDto object.

Example Responses


{
  "body": {
    "created": "string",
    "id": "string",
    "objectId": "string",
    "updated": "string",
    "useFlatKey": "boolean",
    "userId": "string",
    "version": "integer"
  },
  "code": "integer"
}