forked from jckleiner/notion-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notion-api-response-structure.json
64 lines (63 loc) · 1.28 KB
/
notion-api-response-structure.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// In progress
{
"results": [
{
"id": "<id>",
"eventName": "exportSpace",
"request": {
"spaceId": "<workspace-id>",
"exportOptions": {
"exportType": "markdown",
"flattenExportFiletree": false,
"timeZone": "Europe/Berlin",
"locale": "en"
}
},
"actor": {
"table": "notion_user",
"id": "<id>"
},
"state": "in_progress",
"rootRequest": {
"eventName": "exportSpace",
"requestId": "<request-id>"
},
"status": {
"type": "progress",
"pagesExported": 3
}
}
]
}
// Success
{
"results": [
{
"id": "<id>",
"eventName": "exportSpace",
"request": {
"spaceId": "<workspace-id>",
"exportOptions": {
"exportType": "markdown",
"flattenExportFiletree": false,
"timeZone": "Europe/Berlin",
"locale": "en"
}
},
"actor": {
"table": "notion_user",
"id": "<id>"
},
"state": "success",
"rootRequest": {
"eventName": "exportSpace",
"requestId": "<id>"
},
"status": {
"type": "complete",
"pagesExported": 25,
"exportURL": "<download-url>"
}
}
]
}