@itentialopensource/adapter-google_drive 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +5422 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +31 -0
  18. package/entities/.system/schemaTokenResp.json +31 -0
  19. package/entities/About/action.json +25 -0
  20. package/entities/About/schema.json +30 -0
  21. package/entities/Changes/action.json +66 -0
  22. package/entities/Changes/schema.json +32 -0
  23. package/entities/Channels/action.json +24 -0
  24. package/entities/Channels/schema.json +30 -0
  25. package/entities/Comments/action.json +106 -0
  26. package/entities/Comments/schema.json +34 -0
  27. package/entities/Drives/action.json +146 -0
  28. package/entities/Drives/schema.json +36 -0
  29. package/entities/Files/action.json +208 -0
  30. package/entities/Files/schema.json +39 -0
  31. package/entities/Permissions/action.json +106 -0
  32. package/entities/Permissions/schema.json +34 -0
  33. package/entities/Replies/action.json +106 -0
  34. package/entities/Replies/schema.json +34 -0
  35. package/entities/Revisions/action.json +86 -0
  36. package/entities/Revisions/schema.json +33 -0
  37. package/entities/Teamdrives/action.json +106 -0
  38. package/entities/Teamdrives/schema.json +34 -0
  39. package/error.json +184 -0
  40. package/package.json +84 -0
  41. package/pronghorn.json +10981 -0
  42. package/propertiesSchema.json +840 -0
  43. package/refs?service=git-upload-pack +0 -0
  44. package/report/creationReport.json +534 -0
  45. package/report/googledrive.json +6538 -0
  46. package/report/updateReport1647550499630.json +95 -0
  47. package/sampleProperties.json +122 -0
  48. package/storage/metrics.json +41 -0
  49. package/test/integration/adapterTestBasicGet.js +85 -0
  50. package/test/integration/adapterTestConnectivity.js +93 -0
  51. package/test/integration/adapterTestIntegration.js +2966 -0
  52. package/test/unit/adapterBaseTestUnit.js +944 -0
  53. package/test/unit/adapterTestUnit.js +2856 -0
  54. package/utils/addAuth.js +94 -0
  55. package/utils/artifactize.js +146 -0
  56. package/utils/basicGet.js +50 -0
  57. package/utils/checkMigrate.js +63 -0
  58. package/utils/entitiesToDB.js +224 -0
  59. package/utils/findPath.js +74 -0
  60. package/utils/modify.js +154 -0
  61. package/utils/packModificationScript.js +35 -0
  62. package/utils/patches2bundledDeps.js +90 -0
  63. package/utils/pre-commit.sh +27 -0
  64. package/utils/removeHooks.js +20 -0
  65. package/utils/setup.js +33 -0
  66. package/utils/tbScript.js +169 -0
  67. package/utils/tbUtils.js +451 -0
  68. package/utils/testRunner.js +298 -0
  69. package/utils/troubleshootingAdapter.js +190 -0
  70. package/workflows/README.md +3 -0
@@ -0,0 +1,146 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "driveDrivesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/drives?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "driveDrivesCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/drives?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "driveDrivesDelete",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/drives/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "driveDrivesGet",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/drives/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "driveDrivesUpdate",
87
+ "protocol": "REST",
88
+ "method": "PATCH",
89
+ "entitypath": "{base_path}/{version}/drives/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "driveDrivesHide",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/drives/{pathv1}/hide?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "driveDrivesUnhide",
127
+ "protocol": "REST",
128
+ "method": "POST",
129
+ "entitypath": "{base_path}/{version}/drives/{pathv1}/unhide?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ }
145
+ ]
146
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "driveDrivesList",
12
+ "enum": [
13
+ "driveDrivesList",
14
+ "driveDrivesCreate",
15
+ "driveDrivesDelete",
16
+ "driveDrivesGet",
17
+ "driveDrivesUpdate",
18
+ "driveDrivesHide",
19
+ "driveDrivesUnhide"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ },
23
+ "oauthToken": {
24
+ "type": "string",
25
+ "description": "OAuth 2.0 token for the current user.",
26
+ "parse": false,
27
+ "encode": false,
28
+ "encrypt": {
29
+ "type": "AES",
30
+ "key": ""
31
+ },
32
+ "external_name": "oauth_token"
33
+ }
34
+ },
35
+ "definitions": {}
36
+ }
@@ -0,0 +1,208 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "driveFilesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/files?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "driveFilesCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/files?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "driveFilesGenerateIds",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/files/generateIds?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "driveFilesEmptyTrash",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/files/trash?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "driveFilesDelete",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/files/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "driveFilesGet",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/files/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "sendGetBody": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "driveFilesUpdate",
128
+ "protocol": "REST",
129
+ "method": "PATCH",
130
+ "entitypath": "{base_path}/{version}/files/{pathv1}?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "driveFilesCopy",
148
+ "protocol": "REST",
149
+ "method": "POST",
150
+ "entitypath": "{base_path}/{version}/files/{pathv1}/copy?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "driveFilesExport",
168
+ "protocol": "REST",
169
+ "method": "GET",
170
+ "entitypath": "{base_path}/{version}/files/{pathv1}/export?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "sendGetBody": false,
176
+ "requestDatatype": "JSON",
177
+ "responseDatatype": "JSON",
178
+ "headers": {},
179
+ "responseObjects": [
180
+ {
181
+ "type": "default",
182
+ "key": "",
183
+ "mockFile": ""
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "driveFilesWatch",
189
+ "protocol": "REST",
190
+ "method": "POST",
191
+ "entitypath": "{base_path}/{version}/files/{pathv1}/watch?{query}",
192
+ "requestSchema": "schema.json",
193
+ "responseSchema": "schema.json",
194
+ "timeout": 0,
195
+ "sendEmpty": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ }
207
+ ]
208
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "driveFilesList",
12
+ "enum": [
13
+ "driveFilesList",
14
+ "driveFilesCreate",
15
+ "driveFilesGenerateIds",
16
+ "driveFilesEmptyTrash",
17
+ "driveFilesDelete",
18
+ "driveFilesGet",
19
+ "driveFilesUpdate",
20
+ "driveFilesCopy",
21
+ "driveFilesExport",
22
+ "driveFilesWatch"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ },
26
+ "oauthToken": {
27
+ "type": "string",
28
+ "description": "OAuth 2.0 token for the current user.",
29
+ "parse": false,
30
+ "encode": false,
31
+ "encrypt": {
32
+ "type": "AES",
33
+ "key": ""
34
+ },
35
+ "external_name": "oauth_token"
36
+ }
37
+ },
38
+ "definitions": {}
39
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "drivePermissionsList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/files/{pathv1}/permissions?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "drivePermissionsCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/files/{pathv1}/permissions?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "drivePermissionsDelete",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/files/{pathv1}/permissions/{pathv2}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "drivePermissionsGet",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/files/{pathv1}/permissions/{pathv2}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "drivePermissionsUpdate",
87
+ "protocol": "REST",
88
+ "method": "PATCH",
89
+ "entitypath": "{base_path}/{version}/files/{pathv1}/permissions/{pathv2}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "drivePermissionsList",
12
+ "enum": [
13
+ "drivePermissionsList",
14
+ "drivePermissionsCreate",
15
+ "drivePermissionsDelete",
16
+ "drivePermissionsGet",
17
+ "drivePermissionsUpdate"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ },
21
+ "oauthToken": {
22
+ "type": "string",
23
+ "description": "OAuth 2.0 token for the current user.",
24
+ "parse": false,
25
+ "encode": false,
26
+ "encrypt": {
27
+ "type": "AES",
28
+ "key": ""
29
+ },
30
+ "external_name": "oauth_token"
31
+ }
32
+ },
33
+ "definitions": {}
34
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "driveRepliesList",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/files/{pathv1}/comments/{pathv2}/replies?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "driveRepliesCreate",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/files/{pathv1}/comments/{pathv2}/replies?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "driveRepliesDelete",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/files/{pathv1}/comments/{pathv2}/replies/{pathv3}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "driveRepliesGet",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/files/{pathv1}/comments/{pathv2}/replies/{pathv3}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "driveRepliesUpdate",
87
+ "protocol": "REST",
88
+ "method": "PATCH",
89
+ "entitypath": "{base_path}/{version}/files/{pathv1}/comments/{pathv2}/replies/{pathv3}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ }
105
+ ]
106
+ }