@itentialopensource/adapter-oracle_cloud 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 (166) 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 +11250 -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 +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Applinks/action.json +64 -0
  20. package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFileFileId-default.json +10 -0
  21. package/entities/Applinks/mockdatafiles/postDocumentsApi12ApplinksFolderFolderId-default.json +10 -0
  22. package/entities/Applinks/mockdatafiles/putDocumentsApi12ApplinksToken-default.json +5 -0
  23. package/entities/Applinks/schema.json +21 -0
  24. package/entities/Catalog/action.json +298 -0
  25. package/entities/Catalog/mockdatafiles/getDocumentsApi-default.json +61 -0
  26. package/entities/Catalog/mockdatafiles/getDocumentsApiVersion-default.json +23 -0
  27. package/entities/Catalog/mockdatafiles/getDocumentsApiVersionMetadataCatalog-default.json +147 -0
  28. package/entities/Catalog/schema.json +32 -0
  29. package/entities/Collections/action.json +145 -0
  30. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionId-default.json +5 -0
  31. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFiles-default.json +25 -0
  32. package/entities/Collections/mockdatafiles/deleteDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +5 -0
  33. package/entities/Collections/mockdatafiles/getDocumentsApi12CollectionsItems-default.json +37 -0
  34. package/entities/Collections/mockdatafiles/postDocumentsApi12Collections-default.json +28 -0
  35. package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFiles-default.json +32 -0
  36. package/entities/Collections/mockdatafiles/postDocumentsApi12CollectionsCollectionIdFilesFileId-default.json +6 -0
  37. package/entities/Collections/schema.json +25 -0
  38. package/entities/Configuration/action.json +87 -0
  39. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigCollaboration-default.json +9 -0
  40. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigNotificationEmail-default.json +5 -0
  41. package/entities/Configuration/mockdatafiles/getDocumentsApi12ConfigSitesDeliverycdn-default.json +10 -0
  42. package/entities/Configuration/mockdatafiles/putDocumentsApi12ConfigNotificationEmail-default.json +4 -0
  43. package/entities/Configuration/schema.json +22 -0
  44. package/entities/Files/action.json +721 -0
  45. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileId-default.json +5 -0
  46. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdMetadata-default.json +5 -0
  47. package/entities/Files/mockdatafiles/deleteDocumentsApi12FilesFileIdTags-default.json +5 -0
  48. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileId-default.json +150 -0
  49. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdAccesses-default.json +26 -0
  50. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdDataRenditions-default.json +21 -0
  51. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadata-default.json +15 -0
  52. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdMetadataFields-default.json +45 -0
  53. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPages-default.json +6 -0
  54. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdPreviewPath-default.json +7 -0
  55. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdTags-default.json +6 -0
  56. package/entities/Files/mockdatafiles/getDocumentsApi12FilesFileIdVersions-default.json +37 -0
  57. package/entities/Files/mockdatafiles/getDocumentsApi12FilesLists-default.json +34 -0
  58. package/entities/Files/mockdatafiles/postDocumentsApi12FilesData-default.json +30 -0
  59. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdConversation-default.json +9 -0
  60. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdCopy-default.json +7 -0
  61. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdData-default.json +30 -0
  62. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdDataRendition-default.json +5 -0
  63. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadata-default.json +5 -0
  64. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMetadataCollectionName-default.json +5 -0
  65. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdMove-default.json +6 -0
  66. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdPages-default.json +5 -0
  67. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdReserve-default.json +12 -0
  68. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdTags-default.json +5 -0
  69. package/entities/Files/mockdatafiles/postDocumentsApi12FilesFileIdUnreserve-default.json +5 -0
  70. package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileId-default.json +29 -0
  71. package/entities/Files/mockdatafiles/putDocumentsApi12FilesFileIdTags-default.json +5 -0
  72. package/entities/Files/schema.json +53 -0
  73. package/entities/Folders/action.json +535 -0
  74. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderId-default.json +5 -0
  75. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdDownloadJobId-default.json +4 -0
  76. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
  77. package/entities/Folders/mockdatafiles/deleteDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  78. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderId-default.json +26 -0
  79. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdDownloadJobId-default.json +17 -0
  80. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdItems-default.json +91 -0
  81. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadata-default.json +11 -0
  82. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdMetadataFields-default.json +26 -0
  83. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdSearchItems-default.json +87 -0
  84. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersFolderIdTags-default.json +6 -0
  85. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersItems-default.json +93 -0
  86. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersLists-default.json +26 -0
  87. package/entities/Folders/mockdatafiles/getDocumentsApi12FoldersSearchItems-default.json +99 -0
  88. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderId-default.json +30 -0
  89. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdBulkCreate-default.json +98 -0
  90. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdConversation-default.json +9 -0
  91. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdCopy-default.json +7 -0
  92. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdDownload-default.json +8 -0
  93. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadata-default.json +5 -0
  94. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMetadataCollectionName-default.json +5 -0
  95. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdMove-default.json +6 -0
  96. package/entities/Folders/mockdatafiles/postDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  97. package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderId-default.json +30 -0
  98. package/entities/Folders/mockdatafiles/putDocumentsApi12FoldersFolderIdTags-default.json +5 -0
  99. package/entities/Folders/schema.json +44 -0
  100. package/entities/MetadataCollection/action.json +167 -0
  101. package/entities/MetadataCollection/mockdatafiles/deleteDocumentsApi12MetadataCollectionName-default.json +3 -0
  102. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12Metadata-default.json +45 -0
  103. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataCollectionName-default.json +21 -0
  104. package/entities/MetadataCollection/mockdatafiles/getDocumentsApi12MetadataSearchFields-default.json +6 -0
  105. package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataCollectionName-default.json +3 -0
  106. package/entities/MetadataCollection/mockdatafiles/postDocumentsApi12MetadataSearchFields-default.json +3 -0
  107. package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionName-default.json +3 -0
  108. package/entities/MetadataCollection/mockdatafiles/putDocumentsApi12MetadataCollectionNameField-default.json +3 -0
  109. package/entities/MetadataCollection/schema.json +26 -0
  110. package/entities/Publiclinks/action.json +147 -0
  111. package/entities/Publiclinks/mockdatafiles/deleteDocumentsApi12PubliclinksLinkId-default.json +5 -0
  112. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFileFileId-default.json +37 -0
  113. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksFolderFolderId-default.json +36 -0
  114. package/entities/Publiclinks/mockdatafiles/getDocumentsApi12PubliclinksLinkId-default.json +16 -0
  115. package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFileFileId-default.json +17 -0
  116. package/entities/Publiclinks/mockdatafiles/postDocumentsApi12PubliclinksFolderFolderId-default.json +17 -0
  117. package/entities/Publiclinks/mockdatafiles/putDocumentsApi12PubliclinksLinkId-default.json +16 -0
  118. package/entities/Publiclinks/schema.json +25 -0
  119. package/entities/Shares/action.json +125 -0
  120. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderId-default.json +5 -0
  121. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdMyuser-default.json +5 -0
  122. package/entities/Shares/mockdatafiles/deleteDocumentsApi12SharesFolderIdUser-default.json +18 -0
  123. package/entities/Shares/mockdatafiles/getDocumentsApi12SharesFolderIdItems-default.json +16 -0
  124. package/entities/Shares/mockdatafiles/postDocumentsApi12SharesFolderId-default.json +19 -0
  125. package/entities/Shares/mockdatafiles/putDocumentsApi12SharesFolderIdRole-default.json +19 -0
  126. package/entities/Shares/schema.json +24 -0
  127. package/entities/Sites/action.json +24 -0
  128. package/entities/Sites/mockdatafiles/postDocumentsApi12SitesSiteIdSite-default.json +33 -0
  129. package/entities/Sites/schema.json +19 -0
  130. package/entities/Templates/action.json +24 -0
  131. package/entities/Templates/mockdatafiles/postDocumentsApi12TemplatesTemplateIdSite-default.json +33 -0
  132. package/entities/Templates/schema.json +19 -0
  133. package/entities/Users/action.json +66 -0
  134. package/entities/Users/mockdatafiles/getDocumentsApi12UsersItems-default.json +24 -0
  135. package/entities/Users/mockdatafiles/getDocumentsApi12UsersSearchItems-default.json +12 -0
  136. package/entities/Users/mockdatafiles/postDocumentsApi12UsersUserIDTransferContent-default.json +15 -0
  137. package/entities/Users/schema.json +21 -0
  138. package/error.json +184 -0
  139. package/package.json +83 -0
  140. package/pronghorn.json +10358 -0
  141. package/propertiesSchema.json +840 -0
  142. package/refs?service=git-upload-pack +0 -0
  143. package/report/creationReport.json +434 -0
  144. package/report/oracleCloud.json +11867 -0
  145. package/sampleProperties.json +106 -0
  146. package/test/integration/adapterTestBasicGet.js +85 -0
  147. package/test/integration/adapterTestConnectivity.js +93 -0
  148. package/test/integration/adapterTestIntegration.js +3824 -0
  149. package/test/unit/adapterBaseTestUnit.js +944 -0
  150. package/test/unit/adapterTestUnit.js +5333 -0
  151. package/utils/addAuth.js +94 -0
  152. package/utils/artifactize.js +146 -0
  153. package/utils/basicGet.js +50 -0
  154. package/utils/checkMigrate.js +63 -0
  155. package/utils/entitiesToDB.js +224 -0
  156. package/utils/findPath.js +74 -0
  157. package/utils/modify.js +154 -0
  158. package/utils/packModificationScript.js +35 -0
  159. package/utils/pre-commit.sh +27 -0
  160. package/utils/removeHooks.js +20 -0
  161. package/utils/setup.js +33 -0
  162. package/utils/tbScript.js +169 -0
  163. package/utils/tbUtils.js +445 -0
  164. package/utils/testRunner.js +298 -0
  165. package/utils/troubleshootingAdapter.js +190 -0
  166. package/workflows/README.md +3 -0
@@ -0,0 +1,91 @@
1
+ {
2
+ "count": "2",
3
+ "totalResults": "2",
4
+ "hasMore": "0",
5
+ "errorCode": "0",
6
+ "id": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
7
+ "parentID": "self",
8
+ "name": "foldera",
9
+ "description": "rest folder",
10
+ "type": "folder",
11
+ "size": "39",
12
+ "childItemsCount": "2",
13
+ "createdTime": "2014-02-21T20:52:37Z",
14
+ "modifiedTime": "2014-02-21T20:52:37Z",
15
+ "createdBy": {
16
+ "displayName": "User AA",
17
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
18
+ "loginName": "userAALoginName",
19
+ "type": "user"
20
+ },
21
+ "ownedBy": {
22
+ "displayName": "User AA",
23
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
24
+ "loginName": "userAALoginName",
25
+ "type": "user"
26
+ },
27
+ "modifiedBy": {
28
+ "displayName": "User AA",
29
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
30
+ "loginName": "userAALoginName",
31
+ "type": "user"
32
+ },
33
+ "items": [
34
+ {
35
+ "id": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
36
+ "parentID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
37
+ "name": "restFolder",
38
+ "type": "folder",
39
+ "size": "39",
40
+ "childItemsCount": "1",
41
+ "createdTime": "2014-02-21T20:54:50Z",
42
+ "modifiedTime": "2014-02-21T20:54:50Z",
43
+ "createdBy": {
44
+ "displayName": "User AA",
45
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
46
+ "loginName": "userAALoginName",
47
+ "type": "user"
48
+ },
49
+ "ownedBy": {
50
+ "displayName": "User AA",
51
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
52
+ "loginName": "userAALoginName",
53
+ "type": "user"
54
+ },
55
+ "modifiedBy": {
56
+ "displayName": "User AA",
57
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
58
+ "loginName": "userAALoginName",
59
+ "type": "user"
60
+ }
61
+ },
62
+ {
63
+ "id": "DB1C5AF480FFE61C588027A8T0000000000100000001",
64
+ "parentID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
65
+ "name": "example.txt",
66
+ "type": "file",
67
+ "size": "13",
68
+ "version": "1",
69
+ "createdTime": "2014-02-21T21:32:37Z",
70
+ "modifiedTime": "2014-02-21T21:32:37Z",
71
+ "createdBy": {
72
+ "displayName": "User AA",
73
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
74
+ "loginName": "userAALoginName",
75
+ "type": "user"
76
+ },
77
+ "ownedBy": {
78
+ "displayName": "User AA",
79
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
80
+ "loginName": "userAALoginName",
81
+ "type": "user"
82
+ },
83
+ "modifiedBy": {
84
+ "displayName": "User AA",
85
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
86
+ "loginName": "userAALoginName",
87
+ "type": "user"
88
+ }
89
+ }
90
+ ]
91
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "idList": "F94131468853B4845E0508854EE870070A1AA68C3354",
3
+ "type": "folder",
4
+ "errorCode": "0",
5
+ "metadata": {
6
+ "CollectionA": {
7
+ "FieldA1": "Value1",
8
+ "FieldA2": "Value2"
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "idList": "F94131468853B4845E0508854EE870070A1AA68C3354",
3
+ "type": "folder",
4
+ "errorCode": "0",
5
+ "metadataFields": {
6
+ "CollectionA": {
7
+ "isEnabled": 1,
8
+ "isInherited": 0,
9
+ "type": "collection",
10
+ "items": [
11
+ {
12
+ "type": "field",
13
+ "fieldName": "A1",
14
+ "fieldType": "string",
15
+ "isEnabled": 1
16
+ },
17
+ {
18
+ "type": "field",
19
+ "fieldName": "A2",
20
+ "fieldType": "string",
21
+ "isEnabled": 0
22
+ }
23
+ ]
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "count": "2",
3
+ "errorCode": "0",
4
+ "offset": "1",
5
+ "totalCount": "2",
6
+ "items": [
7
+ {
8
+ "type": "file",
9
+ "id": "DB4C832D0F144C0DD6310F451212FF6185DE5A6F9E67",
10
+ "name": "textData13.txt",
11
+ "parentID": "F9363F588099E137C5B2939E1212FF6185DE5A6F9E67",
12
+ "createdTime": "2015-12-07T23:19:13Z",
13
+ "modifiedTime": "2015-12-07T23:19:13Z",
14
+ "createdBy": {
15
+ "displayName": "User AA",
16
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
17
+ "loginName": "userAALoginName",
18
+ "type": "user"
19
+ },
20
+ "ownedBy": {
21
+ "displayName": "User AA",
22
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
23
+ "loginName": "userAALoginName",
24
+ "type": "user"
25
+ },
26
+ "modifiedBy": {
27
+ "displayName": "User AA",
28
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
29
+ "loginName": "userAALoginName",
30
+ "type": "user"
31
+ },
32
+ "metadata": {
33
+ "items": [
34
+ {
35
+ "name": "MyMetaCollection",
36
+ "fields": {
37
+ "items": [
38
+ {
39
+ "name": "IntField",
40
+ "type": "integer",
41
+ "value": "246"
42
+ },
43
+ {
44
+ "name": "DateField",
45
+ "type": "date",
46
+ "value": "2019-02-22T17:03:00.000Z"
47
+ }
48
+ ]
49
+ }
50
+ }
51
+ ]
52
+ },
53
+ "size": "38",
54
+ "version": "1"
55
+ },
56
+ {
57
+ "type": "file",
58
+ "id": "D242D99558418023F547247DB5D17B95F470BB4C11B8",
59
+ "name": "textData15.txt",
60
+ "parentID": "F9363F588099E137C5B2939E1212FF6185DE5A6F9E67",
61
+ "createdTime": "2015-12-09T20:51:53Z",
62
+ "modifiedTime": "2015-12-09T20:51:53Z",
63
+ "createdBy": {
64
+ "displayName": "User AA",
65
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
66
+ "loginName": "userAALoginName",
67
+ "type": "user"
68
+ },
69
+ "ownedBy": {
70
+ "displayName": "User AA",
71
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
72
+ "loginName": "userAALoginName",
73
+ "type": "user"
74
+ },
75
+ "modifiedBy": {
76
+ "displayName": "User AA",
77
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
78
+ "loginName": "userAALoginName",
79
+ "type": "user"
80
+ },
81
+ "metadata": {
82
+ "items": []
83
+ },
84
+ "size": "50"
85
+ }
86
+ ]
87
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "FD3947BCFB3D3517CC7E6312B5D17B95F47087F4E518",
4
+ "tags": "todo,pending",
5
+ "type": "folder"
6
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "count": "3",
3
+ "totalResults": "3",
4
+ "ownerFolderID": "self",
5
+ "hasMore": "0",
6
+ "errorCode": "0",
7
+ "items": [
8
+ {
9
+ "id": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
10
+ "parentID": "self",
11
+ "name": "foldera",
12
+ "type": "folder",
13
+ "size": "39",
14
+ "childItemsCount": "2",
15
+ "createdTime": "2014-02-21T20:52:37Z",
16
+ "modifiedTime": "2014-02-21T20:52:37Z",
17
+ "createdBy": {
18
+ "displayName": "User AA",
19
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
20
+ "loginName": "userAALoginName",
21
+ "type": "user"
22
+ },
23
+ "ownedBy": {
24
+ "displayName": "User AA",
25
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
26
+ "loginName": "userAALoginName",
27
+ "type": "user"
28
+ },
29
+ "modifiedBy": {
30
+ "displayName": "User AA",
31
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
32
+ "loginName": "userAALoginName",
33
+ "type": "user"
34
+ }
35
+ },
36
+ {
37
+ "id": "F4A669A2B7B69F2376C640A9T0000000000100000001",
38
+ "parentID": "self",
39
+ "name": "folderb",
40
+ "type": "folder",
41
+ "size": "0",
42
+ "childItemsCount": "0",
43
+ "createdTime": "2014-02-21T21:38:44Z",
44
+ "modifiedTime": "2014-02-21T21:38:44Z",
45
+ "createdBy": {
46
+ "displayName": "User AA",
47
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
48
+ "loginName": "userAALoginName",
49
+ "type": "user"
50
+ },
51
+ "ownedBy": {
52
+ "displayName": "User AA",
53
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
54
+ "loginName": "userAALoginName",
55
+ "type": "user"
56
+ },
57
+ "modifiedBy": {
58
+ "displayName": "User AA",
59
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
60
+ "loginName": "userAALoginName",
61
+ "type": "user"
62
+ }
63
+ },
64
+ {
65
+ "id": "DBFDB0B6543FB5B68107423AT0000000000100000001",
66
+ "parentID": "self",
67
+ "name": "test cases.txt",
68
+ "type": "file",
69
+ "size": "37786",
70
+ "version": "1",
71
+ "createdTime": "2014-02-21T21:38:52Z",
72
+ "modifiedTime": "2014-02-21T21:38:52Z",
73
+ "createdBy": {
74
+ "displayName": "User AA",
75
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
76
+ "loginName": "userAALoginName",
77
+ "type": "user"
78
+ },
79
+ "ownedBy": {
80
+ "displayName": "User AA",
81
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
82
+ "loginName": "userAALoginName",
83
+ "type": "user"
84
+ },
85
+ "modifiedBy": {
86
+ "displayName": "User AA",
87
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
88
+ "loginName": "userAALoginName",
89
+ "type": "user"
90
+ }
91
+ }
92
+ ]
93
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "id": "string",
3
+ "parentID": "string",
4
+ "name": "string",
5
+ "description": "string",
6
+ "type": "string",
7
+ "size": "string",
8
+ "childitemsCount": "string",
9
+ "createdTime": "string",
10
+ "modifiedTime": "string",
11
+ "createdBy": {
12
+ "id": "string",
13
+ "displayName": "string",
14
+ "type": "string"
15
+ },
16
+ "ownedBy": {
17
+ "id": "string",
18
+ "displayName": "string",
19
+ "type": "string"
20
+ },
21
+ "modifiedBy": {
22
+ "id": "string",
23
+ "displayName": "string",
24
+ "type": "string"
25
+ }
26
+ }
@@ -0,0 +1,99 @@
1
+ {
2
+ "count": "2",
3
+ "errorCode": "0",
4
+ "offset": "1",
5
+ "totalCount": "3",
6
+ "items": [
7
+ {
8
+ "type": "folder",
9
+ "id": "FF4321BD2656077C897A0E701212FF6185DE5A6F9E67",
10
+ "name": "three",
11
+ "parentID": "self",
12
+ "createdTime": "2015-12-09T20:51:53Z",
13
+ "modifiedTime": "2015-12-09T20:51:53Z",
14
+ "createdBy": {
15
+ "displayName": "User AA",
16
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
17
+ "loginName": "userAALoginName",
18
+ "type": "user"
19
+ },
20
+ "ownedBy": {
21
+ "displayName": "User AA",
22
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
23
+ "loginName": "userAALoginName",
24
+ "type": "user"
25
+ },
26
+ "modifiedBy": {
27
+ "displayName": "User AA",
28
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
29
+ "loginName": "userAALoginName",
30
+ "type": "user"
31
+ },
32
+ "metadata": {
33
+ "items": [
34
+ {
35
+ "name": "MyMetaCollection",
36
+ "fields": {
37
+ "items": [
38
+ {
39
+ "name": "IntField",
40
+ "type": "integer",
41
+ "value": "12345"
42
+ },
43
+ {
44
+ "name": "DateField",
45
+ "type": "date",
46
+ "value": "2023-02-20T12:00:00.000Z"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ {
52
+ "name": "dDefaultFolderMetaCollection",
53
+ "fields": {
54
+ "items": [
55
+ {
56
+ "name": "xTags",
57
+ "type": "string",
58
+ "value": "FixMe"
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ ]
64
+ },
65
+ "size": "-1"
66
+ },
67
+ {
68
+ "type": "file",
69
+ "id": "DB4C832D0F144C0DD6310F451212FF6185DE5A6F9E67",
70
+ "name": "textData13.txt",
71
+ "parentID": "F9363F588099E137C5B2939E1212FF6185DE5A6F9E67",
72
+ "createdTime": "2015-12-07T23:19:13Z",
73
+ "modifiedTime": "2015-12-07T23:19:13Z",
74
+ "createdBy": {
75
+ "displayName": "User AA",
76
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
77
+ "loginName": "userAALoginName",
78
+ "type": "user"
79
+ },
80
+ "ownedBy": {
81
+ "displayName": "User AA",
82
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
83
+ "loginName": "userAALoginName",
84
+ "type": "user"
85
+ },
86
+ "modifiedBy": {
87
+ "displayName": "User AA",
88
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
89
+ "loginName": "userAALoginName",
90
+ "type": "user"
91
+ },
92
+ "metadata": {
93
+ "items": []
94
+ },
95
+ "size": "38",
96
+ "version": "1"
97
+ }
98
+ ]
99
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
3
+ "parentID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
4
+ "name": "restFolder",
5
+ "description": "rest folder",
6
+ "type": "folder",
7
+ "size": "0",
8
+ "childItemsCount": "0",
9
+ "createdTime": "2014-02-21T20:56:07Z",
10
+ "modifiedTime": "2014-02-21T20:59:57Z",
11
+ "createdBy": {
12
+ "displayName": "User AA",
13
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
14
+ "loginName": "userAALoginName",
15
+ "type": "user"
16
+ },
17
+ "ownedBy": {
18
+ "displayName": "User AA",
19
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
20
+ "loginName": "userAALoginName",
21
+ "type": "user"
22
+ },
23
+ "modifiedBy": {
24
+ "displayName": "User AA",
25
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
26
+ "loginName": "userAALoginName",
27
+ "type": "user"
28
+ },
29
+ "errorCode": "0"
30
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "errorCode": 0,
3
+ "items": [
4
+ {
5
+ "id": "F31BB7F92F167752A3AB5EAC47440630DCC4D63610C1",
6
+ "type": "folder",
7
+ "name": "folder 1",
8
+ "description": "folder 1 description",
9
+ "parentID": "F1564DFB2D7C7FBE8EE7A38CACF5DA9752E1734D9F36",
10
+ "createdTime": "2021-03-11T21:32:45Z",
11
+ "modifiedTime": "2021-03-11T21:32:45Z",
12
+ "childItemsCount": "0",
13
+ "childFolderCount": "0",
14
+ "childFileCount": "0",
15
+ "size": "0",
16
+ "createdBy": {
17
+ "displayName": "User AA",
18
+ "loginName": "userAALoginName",
19
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
20
+ "type": "user"
21
+ },
22
+ "modifiedBy": {
23
+ "displayName": "User AA",
24
+ "loginName": "userAALoginName",
25
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
26
+ "type": "user"
27
+ },
28
+ "ownedBy": {
29
+ "displayName": "User AA",
30
+ "loginName": "userAALoginName",
31
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
32
+ "type": "user"
33
+ }
34
+ },
35
+ {
36
+ "id": "F29815ADE851DA3F9A07D6EA85BD0AE9B8B03D7D2718",
37
+ "type": "folder",
38
+ "name": "folder 2",
39
+ "description": "folder 2 description",
40
+ "parentID": "F1564DFB2D7C7FBE8EE7A38CACF5DA9752E1734D9F36",
41
+ "createdTime": "2021-03-11T21:32:45Z",
42
+ "modifiedTime": "2021-03-11T21:32:45Z",
43
+ "childItemsCount": "0",
44
+ "childFolderCount": "0",
45
+ "childFileCount": "0",
46
+ "size": "0",
47
+ "createdBy": {
48
+ "displayName": "User AA",
49
+ "loginName": "userAALoginName",
50
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
51
+ "type": "user"
52
+ },
53
+ "modifiedBy": {
54
+ "displayName": "User AA",
55
+ "loginName": "userAALoginName",
56
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
57
+ "type": "user"
58
+ },
59
+ "ownedBy": {
60
+ "displayName": "User AA",
61
+ "loginName": "userAALoginName",
62
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
63
+ "type": "user"
64
+ }
65
+ },
66
+ {
67
+ "id": "F1275FD876ED265557E8B6D45C09A67B319C4BA8294A",
68
+ "type": "folder",
69
+ "name": "folder 3",
70
+ "description": "folder 3 description",
71
+ "parentID": "F1564DFB2D7C7FBE8EE7A38CACF5DA9752E1734D9F36",
72
+ "createdTime": "2021-03-11T21:32:45Z",
73
+ "modifiedTime": "2021-03-11T21:32:45Z",
74
+ "childItemsCount": "0",
75
+ "childFolderCount": "0",
76
+ "childFileCount": "0",
77
+ "size": "0",
78
+ "createdBy": {
79
+ "displayName": "User AA",
80
+ "loginName": "userAALoginName",
81
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
82
+ "type": "user"
83
+ },
84
+ "modifiedBy": {
85
+ "displayName": "User AA",
86
+ "loginName": "userAALoginName",
87
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
88
+ "type": "user"
89
+ },
90
+ "ownedBy": {
91
+ "displayName": "User AA",
92
+ "loginName": "userAALoginName",
93
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
94
+ "type": "user"
95
+ }
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": "F1BDF6BBD9725002B8136F6598503556E71E89DE95CC",
3
+ "type": "folder",
4
+ "errorCode": "0",
5
+ "conversationID": "13841",
6
+ "conversationName": "Folder Conversation Test",
7
+ "conversationAppLink": "http://service1-tenant1.dly.gemmain.shared.cec.oraclecorp.com:19200/osn/web/cList/conversations/13841",
8
+ "conversationAppLinkToken": "e14ad9a457aaa177d33a40115494272bf23bc663072f3fe5cb7412a731df5607"
9
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "destinationID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
3
+ "id": "FCD4D4A73FA2317583B7C3BFT0000000000100000001",
4
+ "idList": "F512DA3911603E8AB84A07ACT0000000000100000001",
5
+ "type": "folder",
6
+ "errorCode": "0"
7
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "Location": "OCEHost/documents/api/1.2/folders/FE7DA518D17AA5E46E282D9A1B02AE3398E71823807D/_download/EF45E5E0A9F169D61CA387968719F5AA1614798736483",
3
+ "errorCode": 0,
4
+ "id": "fFolderGUID:FE7DA518D17AA5E46E282D9A1B02AE3398E71823807D",
5
+ "idList": "fFileGUID:D890E0ADF2EB12AAD28D14372E82C5967A21F51BF794,fFolderGUID:FE27E70CA140E819250B4D365F48D86BC9097E77B3EE,fFileGUID:DC9AEA3E7F3AA1C07FCE4E46B7AC2B4F52F010D5A813",
6
+ "parentID": "FE7DA518D17AA5E46E282D9A1B02AE3398E71823807D,",
7
+ "type": "folder"
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "F94131468853B4845E0508854EE870070A1AA68C3354",
3
+ "type": "folder",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "idList": "F94131468853B4845E0508854EE870070A1AA68C3354",
3
+ "type": "folder",
4
+ "errorCode": "0"
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "destinationID": "FB4CD874EF94CD2CC1B60B72T0000000000100000001",
3
+ "idList": "F512DA3911603E8AB84A07ACT0000000000100000001",
4
+ "type": "folder",
5
+ "errorCode": "0"
6
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "FD3947BCFB3D3517CC7E6312B5D17B95F47087F4E518",
4
+ "type": "folder"
5
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "id": "F512DA3911603E8AB84A07ACT0000000000100000001",
3
+ "parentID": "FF4729683CD68C1AFB1AE87DT0000000000100000001",
4
+ "name": "backup",
5
+ "description": "my backup folder",
6
+ "type": "folder",
7
+ "size": "0",
8
+ "childItemsCount": "0",
9
+ "createdTime": "2014-02-21T20:56:07Z",
10
+ "modifiedTime": "2014-02-21T20:59:57Z",
11
+ "createdBy": {
12
+ "displayName": "User AA",
13
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
14
+ "loginName": "userAALoginName",
15
+ "type": "user"
16
+ },
17
+ "ownedBy": {
18
+ "displayName": "User AA",
19
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
20
+ "loginName": "userAALoginName",
21
+ "type": "user"
22
+ },
23
+ "modifiedBy": {
24
+ "displayName": "User AA",
25
+ "id": "U0EAA20910FAF3052ACB79E4T00000000001",
26
+ "loginName": "userAALoginName",
27
+ "type": "user"
28
+ },
29
+ "errorCode": "0"
30
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "errorCode": "0",
3
+ "idList": "FD3947BCFB3D3517CC7E6312B5D17B95F47087F4E518",
4
+ "type": "folder"
5
+ }