@salesforce/lds-adapters-platform-files 0.1.0-dev1
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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/platform-files.js +5240 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createContentDocFromContentBody.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/adapters/getFilePreview.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getFilePreviewCommunity.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getFileUploadConfig.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesFilesPreviewsByCommunityIdAndFileIdAndPreviewFormat.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectFileUploadConfig.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectFilesPreviewsByFileIdAndPreviewFormat.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectFilesUsersByUserId.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ContentHubPermissionTypeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContentHubProviderTypeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryAuthenticationRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryFeaturesRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryRepresentation.d.ts +76 -0
- package/dist/es/es2018/types/src/generated/types/ExternalFilePermissionInformationRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/FileAssetRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/FileDetailRepresentation.d.ts +190 -0
- package/dist/es/es2018/types/src/generated/types/FileInputRepresentation.d.ts +82 -0
- package/dist/es/es2018/types/src/generated/types/FilePreviewRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/FilePreviewUrlRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FileUploadConfigRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ModerationFlagItemRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ModerationFlagsCollectionRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ModerationFlagsRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/MotifRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/OutOfOfficeRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/PhotoRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ReferenceRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RepositoryGroupSummaryRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ReputationLevelRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ReputationRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/TopicCollectionRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/TopicImagesRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/TopicRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/UserSummaryRepresentation.d.ts +87 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +5300 -0
- package/src/raml/api.raml +1011 -0
- package/src/raml/luvio.raml +37 -0
|
@@ -0,0 +1,1011 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v66.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
ContentHubPermissionTypeRepresentation:
|
|
29
|
+
description: Description of a permission type.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
id:
|
|
33
|
+
description: The internal id of the permission type in the external repository.
|
|
34
|
+
type: string
|
|
35
|
+
label:
|
|
36
|
+
description: The label as returned by the external repository.
|
|
37
|
+
type: string
|
|
38
|
+
ContentHubProviderTypeRepresentation:
|
|
39
|
+
description: Description of the type of a Content Hub repository.
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
label:
|
|
43
|
+
description: The provider type localized label.
|
|
44
|
+
type: string
|
|
45
|
+
type:
|
|
46
|
+
description: 'One of: ContentHubBox, ContentHubGDrive, ContentHubSharepointOffice365,
|
|
47
|
+
ContentHubSharepoint, ContentHubSharepointOneDrive, SimpleURL.'
|
|
48
|
+
type: string
|
|
49
|
+
ContentHubRepositoryAuthenticationRepresentation:
|
|
50
|
+
description: Authentication information related to a repository.
|
|
51
|
+
type: object
|
|
52
|
+
properties:
|
|
53
|
+
authFlowUrl:
|
|
54
|
+
description: "- When authentication protocol is OAuth, the URL to use to start
|
|
55
|
+
the OAuth flow- When authentication protocol is username/password, URL to
|
|
56
|
+
the 'Authentication Settings for External Systems' page- When authentication
|
|
57
|
+
protocol is anonymous, URL is null."
|
|
58
|
+
type: string
|
|
59
|
+
authProtocol:
|
|
60
|
+
description: Represents the authentication protocol used by the External Data
|
|
61
|
+
Source.
|
|
62
|
+
type: string
|
|
63
|
+
enum:
|
|
64
|
+
- NoAuthentication
|
|
65
|
+
- Oauth
|
|
66
|
+
- Password
|
|
67
|
+
userHasAuthSettings:
|
|
68
|
+
description: True only if the user has credentials created. If the XDS is
|
|
69
|
+
configured using 'Named Principal' identity type, true if the Admin has
|
|
70
|
+
authenticated using his/her credentials. False otherwise.
|
|
71
|
+
type: boolean
|
|
72
|
+
ContentHubRepositoryFeaturesRepresentation:
|
|
73
|
+
description: Description of the features of a Content Hub repository.
|
|
74
|
+
type: object
|
|
75
|
+
properties:
|
|
76
|
+
canBrowse:
|
|
77
|
+
description: Whether or not the Content Hub repository's folder hierarchy
|
|
78
|
+
can be browsed.
|
|
79
|
+
type: boolean
|
|
80
|
+
canSearch:
|
|
81
|
+
description: Whether or not the Content Hub repository can be searched.
|
|
82
|
+
type: boolean
|
|
83
|
+
ContentHubRepositoryRepresentation:
|
|
84
|
+
description: Description of a Content Hub repository.
|
|
85
|
+
type: object
|
|
86
|
+
properties:
|
|
87
|
+
authentication:
|
|
88
|
+
description: The repository authentication information.
|
|
89
|
+
type: ContentHubRepositoryAuthenticationRepresentation
|
|
90
|
+
features:
|
|
91
|
+
description: The repository features.
|
|
92
|
+
type: ContentHubRepositoryFeaturesRepresentation
|
|
93
|
+
label:
|
|
94
|
+
description: The repository label.
|
|
95
|
+
type: string
|
|
96
|
+
name:
|
|
97
|
+
description: The repository name.
|
|
98
|
+
type: string
|
|
99
|
+
providerType:
|
|
100
|
+
description: The repository provider type.
|
|
101
|
+
type: ContentHubProviderTypeRepresentation
|
|
102
|
+
rootFolderItemsUrl:
|
|
103
|
+
description: URL to the Connect resource for the list of items in the repository
|
|
104
|
+
root folder.
|
|
105
|
+
type: string
|
|
106
|
+
additionalLabel:
|
|
107
|
+
description: An additional label (if any) for the user, e.g. "Customer", "Partner", or
|
|
108
|
+
"Acme Corporation".
|
|
109
|
+
type: string | nil
|
|
110
|
+
communityNickname:
|
|
111
|
+
description: Community Nickname.
|
|
112
|
+
type: string
|
|
113
|
+
companyName:
|
|
114
|
+
description: Name of the company.
|
|
115
|
+
type: string
|
|
116
|
+
displayName:
|
|
117
|
+
description: Display Name or Community Nickname.
|
|
118
|
+
type: string
|
|
119
|
+
firstName:
|
|
120
|
+
description: User's first name.
|
|
121
|
+
type: string
|
|
122
|
+
isInThisCommunity:
|
|
123
|
+
description: true if the user is in the community used in the request. false
|
|
124
|
+
otherwise.
|
|
125
|
+
type: boolean
|
|
126
|
+
lastName:
|
|
127
|
+
description: User's last name.
|
|
128
|
+
type: string
|
|
129
|
+
mySubscription:
|
|
130
|
+
description: If the logged-in user is following this user, this contains information
|
|
131
|
+
about the subscription, else returns null.
|
|
132
|
+
type: ReferenceRepresentation
|
|
133
|
+
title:
|
|
134
|
+
description: Title of the user.
|
|
135
|
+
type: string
|
|
136
|
+
userType:
|
|
137
|
+
description: 'Type of user. Valid values are: ChatterGuest—User is a Chatter
|
|
138
|
+
customer in an external group; Guest—Unauthenticated users; Internal—User
|
|
139
|
+
is a standard organization member Portal—User is a Customer Portal User,
|
|
140
|
+
a communities user, and so on; System—User is Chatter Expert or a system
|
|
141
|
+
user.'
|
|
142
|
+
type: string
|
|
143
|
+
enum:
|
|
144
|
+
- ChatterGuest
|
|
145
|
+
- ChatterOnly
|
|
146
|
+
- Guest
|
|
147
|
+
- Internal
|
|
148
|
+
- Portal
|
|
149
|
+
- System
|
|
150
|
+
- Undefined
|
|
151
|
+
ExternalFilePermissionInformationRepresentation:
|
|
152
|
+
description: External file permissions related information
|
|
153
|
+
type: object
|
|
154
|
+
properties:
|
|
155
|
+
externalFilePermissionTypes:
|
|
156
|
+
description: Available permissions types for the parent folder of the external
|
|
157
|
+
file, null for non external files or includeExternalFilePermissionsInfo
|
|
158
|
+
is false
|
|
159
|
+
type: array
|
|
160
|
+
items:
|
|
161
|
+
type: ContentHubPermissionTypeRepresentation
|
|
162
|
+
externalFilePermissionsFailure:
|
|
163
|
+
description: Whether or not external file information retrieval has failed,
|
|
164
|
+
if includeExternalFilePermissionsInfo is true, false otherwise
|
|
165
|
+
type: boolean
|
|
166
|
+
externalFilePermissionsInfoFailureReason:
|
|
167
|
+
description: Failure explanation, if includeExternalFilePermissionsInfo is
|
|
168
|
+
true and an exception was thrown during the external file permissions information
|
|
169
|
+
retrieval. Null otherwise
|
|
170
|
+
type: string
|
|
171
|
+
externalFileSharingStatus:
|
|
172
|
+
description: Current sharing status for the external file we’re creating a
|
|
173
|
+
reference on, null for non external files or includeExternalFilePermissionsInfo
|
|
174
|
+
is false
|
|
175
|
+
type: string
|
|
176
|
+
enum:
|
|
177
|
+
- DomainSharing
|
|
178
|
+
- PrivateSharing
|
|
179
|
+
- PublicSharing
|
|
180
|
+
repositoryPublicGroups:
|
|
181
|
+
description: Available groups such as “Everyone”/”Everyone in the domain”
|
|
182
|
+
in the external repository, null for non external files or includeExternalFilePermissionsInfo
|
|
183
|
+
is false
|
|
184
|
+
type: array
|
|
185
|
+
items:
|
|
186
|
+
type: RepositoryGroupSummaryRepresentation
|
|
187
|
+
FileAssetRepresentation:
|
|
188
|
+
description: Representation of a file asset.
|
|
189
|
+
type: object
|
|
190
|
+
properties:
|
|
191
|
+
baseAssetUrl:
|
|
192
|
+
description: Base download URL of the asset.
|
|
193
|
+
type: string
|
|
194
|
+
baseUnauthenticatedAssetUrl:
|
|
195
|
+
description: Base unauthenticated download URL of the asset.
|
|
196
|
+
type: string
|
|
197
|
+
id:
|
|
198
|
+
description: The id of the asset
|
|
199
|
+
type: string
|
|
200
|
+
isVisibleByExternalUsers:
|
|
201
|
+
description: Flag for public access to asset.
|
|
202
|
+
type: boolean
|
|
203
|
+
masterLabel:
|
|
204
|
+
description: Master label of the asset.
|
|
205
|
+
type: string
|
|
206
|
+
name:
|
|
207
|
+
description: The unique name of the asset
|
|
208
|
+
type: string
|
|
209
|
+
namespacePrefix:
|
|
210
|
+
description: The namespacePrefix of the package containing the asset
|
|
211
|
+
type: string
|
|
212
|
+
type:
|
|
213
|
+
description: The type of this representation
|
|
214
|
+
type: string
|
|
215
|
+
FileInputRepresentation:
|
|
216
|
+
description: Describes a new file input. To upload a file, provide the binary
|
|
217
|
+
file in a multipart/form-data body part where name="fileData".
|
|
218
|
+
type: object
|
|
219
|
+
properties:
|
|
220
|
+
contentBodyId:
|
|
221
|
+
description: The content body id
|
|
222
|
+
type: string
|
|
223
|
+
contentModifiedDate:
|
|
224
|
+
description: File specific last modified date that can be used to set a client-side
|
|
225
|
+
modified date.
|
|
226
|
+
type: string
|
|
227
|
+
required: false
|
|
228
|
+
desc:
|
|
229
|
+
description: Description of the file to be uploaded.
|
|
230
|
+
type: string
|
|
231
|
+
required: false
|
|
232
|
+
fieldName:
|
|
233
|
+
description: Name of a custom field on the ContentVersion object.
|
|
234
|
+
type: string
|
|
235
|
+
required: false
|
|
236
|
+
fieldValue:
|
|
237
|
+
description: Value to store in the custom field specified by FieldName.
|
|
238
|
+
type: string
|
|
239
|
+
required: false
|
|
240
|
+
firstPublishLocationId:
|
|
241
|
+
description: The record id of the first published location
|
|
242
|
+
type: string
|
|
243
|
+
required: false
|
|
244
|
+
includeExternalFilePermissionsInfo:
|
|
245
|
+
description: Whether or not we want to retrieve external file permissions
|
|
246
|
+
information when creating a TPCF
|
|
247
|
+
type: boolean
|
|
248
|
+
required: false
|
|
249
|
+
isInMyFileSync:
|
|
250
|
+
description: Whether a file is synced.
|
|
251
|
+
type: boolean
|
|
252
|
+
required: false
|
|
253
|
+
isMajorVersion:
|
|
254
|
+
description: Whether a file is a major version.
|
|
255
|
+
type: boolean
|
|
256
|
+
required: false
|
|
257
|
+
networkId:
|
|
258
|
+
description: The network id
|
|
259
|
+
type: string
|
|
260
|
+
parentFolderId:
|
|
261
|
+
description: The parent folder ID of the file.
|
|
262
|
+
type: string
|
|
263
|
+
required: false
|
|
264
|
+
pathOnClient:
|
|
265
|
+
description: The path on client
|
|
266
|
+
type: string
|
|
267
|
+
repositoryFileId:
|
|
268
|
+
description: The external file identifier.
|
|
269
|
+
type: string
|
|
270
|
+
required: false
|
|
271
|
+
repositoryFileUri:
|
|
272
|
+
description: The external file uri.
|
|
273
|
+
type: string
|
|
274
|
+
required: false
|
|
275
|
+
repositoryId:
|
|
276
|
+
description: The Files Connect external data source identifier.
|
|
277
|
+
type: string
|
|
278
|
+
required: false
|
|
279
|
+
reuseReference:
|
|
280
|
+
description: Whether or not to reuse an existing reference to a repository
|
|
281
|
+
files instead of creating a new one
|
|
282
|
+
type: boolean
|
|
283
|
+
required: false
|
|
284
|
+
sharingOption:
|
|
285
|
+
description: File sharing option that can be use to prevent further file sharing.
|
|
286
|
+
type: string
|
|
287
|
+
required: false
|
|
288
|
+
sharingPrivacy:
|
|
289
|
+
description: File sharing privacy to make the file private on records.
|
|
290
|
+
type: string
|
|
291
|
+
required: false
|
|
292
|
+
title:
|
|
293
|
+
description: Title of the file.
|
|
294
|
+
type: string
|
|
295
|
+
FileUploadConfigRepresentation:
|
|
296
|
+
description: Information about a file upload config
|
|
297
|
+
type: object
|
|
298
|
+
properties:
|
|
299
|
+
hasCustomRecordTypes:
|
|
300
|
+
description: Flag to indicate if ContentVersion has custom record types
|
|
301
|
+
type: boolean
|
|
302
|
+
maxFileAttachmentsOnFeed:
|
|
303
|
+
description: Get the Maximum File Attachments on Feed
|
|
304
|
+
type: integer
|
|
305
|
+
token:
|
|
306
|
+
description: The CSRF Token for the file upload request. This token is used
|
|
307
|
+
to authenticate the file upload
|
|
308
|
+
type: string
|
|
309
|
+
uploadUrl:
|
|
310
|
+
description: Get the file upload url. This is the decoupled mode url
|
|
311
|
+
type: string
|
|
312
|
+
FileDetailRepresentation:
|
|
313
|
+
description: Detail description of a file.
|
|
314
|
+
type: object
|
|
315
|
+
properties:
|
|
316
|
+
id:
|
|
317
|
+
description: Id of the content document
|
|
318
|
+
type: string | nil
|
|
319
|
+
fileAsset:
|
|
320
|
+
description: The asset information about this file.
|
|
321
|
+
type: FileAssetRepresentation | nil
|
|
322
|
+
pageCount:
|
|
323
|
+
description: Number of pages for documents that support flash renditions,
|
|
324
|
+
or the number of slides in a presentation. Returns 0 if the flash rendition
|
|
325
|
+
fails, or if it isn't supported for the file type.
|
|
326
|
+
type: integer | nil
|
|
327
|
+
topics:
|
|
328
|
+
description: Gets the topics associated with a file.
|
|
329
|
+
type: TopicCollectionRepresentation | nil
|
|
330
|
+
checksum:
|
|
331
|
+
description: MD5 checksum for the file.
|
|
332
|
+
type: string | nil
|
|
333
|
+
contentHubRepository:
|
|
334
|
+
description: The external datasource associated with this file, or null if
|
|
335
|
+
it does not point to an external file.
|
|
336
|
+
type: ContentHubRepositoryRepresentation | nil
|
|
337
|
+
contentModifiedDate:
|
|
338
|
+
description: File specific modified date, which is only updated for direct
|
|
339
|
+
file operations, e.g. rename. This can also be optionally initialized by
|
|
340
|
+
users to reflect the file's modified date outside of the cloud. ISO8601
|
|
341
|
+
date string, for example, 2011-02-25T18:24:31.000Z.
|
|
342
|
+
type: string | nil
|
|
343
|
+
contentSize:
|
|
344
|
+
description: Size of the file in bytes.
|
|
345
|
+
type: integer | nil
|
|
346
|
+
contentUrl:
|
|
347
|
+
description: If the file is a link, returns the URL, otherwise null.
|
|
348
|
+
type: string | nil
|
|
349
|
+
contentVersionId:
|
|
350
|
+
description: The content version ID for this file
|
|
351
|
+
type: string | nil
|
|
352
|
+
createdDate:
|
|
353
|
+
description: Returns the file creation date. ISO8601 date string, for example,2011-02-25T18:24:31.000Z.
|
|
354
|
+
type: string | nil
|
|
355
|
+
description:
|
|
356
|
+
description: Description of the file.
|
|
357
|
+
type: string | nil
|
|
358
|
+
downloadUrl:
|
|
359
|
+
description: URL to the file contents.
|
|
360
|
+
type: string | nil
|
|
361
|
+
externalDocumentUrl:
|
|
362
|
+
description: The external URL this file points to, or null if it does not
|
|
363
|
+
point to an external file.
|
|
364
|
+
type: string | nil
|
|
365
|
+
externalFilePermissionInformation:
|
|
366
|
+
description: External file permission related information (available groups,
|
|
367
|
+
available permission types, current sharing status). Will contain the failure
|
|
368
|
+
reason if it was to fail. Null if includeExternalFilePermissionsInfo is
|
|
369
|
+
false or non external files
|
|
370
|
+
type: ExternalFilePermissionInformationRepresentation | nil
|
|
371
|
+
fileExtension:
|
|
372
|
+
description: Extension of the file.
|
|
373
|
+
type: string | nil
|
|
374
|
+
fileType:
|
|
375
|
+
description: Type of file, such as PDF, PowerPoint, and so on.
|
|
376
|
+
type: string | nil
|
|
377
|
+
flashRenditionStatus:
|
|
378
|
+
description: Specifies the status of the rendering of the flash preview of
|
|
379
|
+
the file. Should be either Processing, Failed, Success, or Na if unavailable.
|
|
380
|
+
type: string | nil
|
|
381
|
+
isFileAsset:
|
|
382
|
+
description: Indicates whether this file is an asset or not
|
|
383
|
+
type: boolean | nil
|
|
384
|
+
isInMyFileSync:
|
|
385
|
+
description: Indicates whether the file is synced.
|
|
386
|
+
type: boolean | nil
|
|
387
|
+
isMajorVersion:
|
|
388
|
+
description: Indicates whether the latest version of the file is a major version.
|
|
389
|
+
type: boolean | nil
|
|
390
|
+
mimeType:
|
|
391
|
+
description: File's MIME type.
|
|
392
|
+
type: string | nil
|
|
393
|
+
moderationFlags:
|
|
394
|
+
description: Flags for this file. Community moderators can view and take action
|
|
395
|
+
on flagged items. Null if network moderation is not enabled.
|
|
396
|
+
type: ModerationFlagsRepresentation | nil
|
|
397
|
+
modifiedDate:
|
|
398
|
+
description: Salesforce standard last modified date of the file in the cloud,
|
|
399
|
+
i.e. any modifications to the file from within Salesforce will update this.
|
|
400
|
+
ISO8601 date string, for example, 2011-02-25T18:24:31.000Z.
|
|
401
|
+
type: string | nil
|
|
402
|
+
name:
|
|
403
|
+
description: Name of the file.
|
|
404
|
+
type: string | nil
|
|
405
|
+
origin:
|
|
406
|
+
description: 'Specifies the file source. Valid values are: Chatter -- file
|
|
407
|
+
came from Chatter, Content -- file came from content, FileField -- file
|
|
408
|
+
came from a record or other form.'
|
|
409
|
+
type: string | nil
|
|
410
|
+
owner:
|
|
411
|
+
description: Owner of the file.
|
|
412
|
+
type: UserSummaryRepresentation | nil
|
|
413
|
+
parentFolder:
|
|
414
|
+
description: The folder containing this file.
|
|
415
|
+
type: ReferenceRepresentation | nil
|
|
416
|
+
pdfRenditionStatus:
|
|
417
|
+
description: Specifies the status of the rendering of the PDF preview of the
|
|
418
|
+
file. Should be either Processing, Failed, Success, or Na if unavailable.
|
|
419
|
+
type: string | nil
|
|
420
|
+
publishStatus:
|
|
421
|
+
description: Indicates the publish status of a file.
|
|
422
|
+
type: string | nil
|
|
423
|
+
enum:
|
|
424
|
+
- PendingAccess
|
|
425
|
+
- PrivateAccess
|
|
426
|
+
- PublicAccess
|
|
427
|
+
renditionUrl:
|
|
428
|
+
description: URL to the rendition for the file if available. Renditions are
|
|
429
|
+
processed asynchronously and may not be available immediately after the
|
|
430
|
+
file has been uploaded. This defaults to the 120px by 90px size.Note that
|
|
431
|
+
the image returned will be as large as possible up to the rendition type
|
|
432
|
+
size while maintaing the aspect ratio.
|
|
433
|
+
type: string | nil
|
|
434
|
+
renditionUrl240By180:
|
|
435
|
+
description: URL to the 240px by 180px rendition for the file if available.
|
|
436
|
+
Renditions are processed asynchronously and may not be available immediately
|
|
437
|
+
after the file has been uploaded.Note that the image returned will be as
|
|
438
|
+
large as possible up to 240px by 180px while maintaing the aspect ratio.
|
|
439
|
+
type: string | nil
|
|
440
|
+
renditionUrl720By480:
|
|
441
|
+
description: URL to the 720px by 480px rendition for the file if available.
|
|
442
|
+
Renditions are processed asynchronously and may not be available immediately
|
|
443
|
+
after the file has been uploaded.Note that the image returned will be as
|
|
444
|
+
large as possible up to 720px by 480px while maintaing the aspect ratio.
|
|
445
|
+
type: string | nil
|
|
446
|
+
repositoryFileId:
|
|
447
|
+
description: The id of this file in its external repository. Null if the file
|
|
448
|
+
is not an external file
|
|
449
|
+
type: string | nil
|
|
450
|
+
repositoryFileUrl:
|
|
451
|
+
description: The URL of the Connect endpoint giving access to the external
|
|
452
|
+
repository file properties, or null if this file does not point to an external
|
|
453
|
+
file.
|
|
454
|
+
type: string | nil
|
|
455
|
+
sharingOption:
|
|
456
|
+
description: Contains the sharing option of a file.
|
|
457
|
+
type: string | nil
|
|
458
|
+
enum:
|
|
459
|
+
- Allowed
|
|
460
|
+
- Restricted
|
|
461
|
+
sharingPrivacy:
|
|
462
|
+
description: Contains the sharing privacy of a file.
|
|
463
|
+
type: string | nil
|
|
464
|
+
enum:
|
|
465
|
+
- None
|
|
466
|
+
- PrivateOnRecords
|
|
467
|
+
sharingRole:
|
|
468
|
+
description: Indicates the sharing type of a file.
|
|
469
|
+
type: string | nil
|
|
470
|
+
enum:
|
|
471
|
+
- Admin
|
|
472
|
+
- Collaborator
|
|
473
|
+
- Owner
|
|
474
|
+
- Viewer
|
|
475
|
+
- WorkspaceManaged
|
|
476
|
+
systemModstamp:
|
|
477
|
+
description: Returns SystemModstamp of the file. When a user updates the record
|
|
478
|
+
or any automated system processes(like triggers) updates the record, SystemModstamp
|
|
479
|
+
will be updated. ISO8601 date string, for example, 2011-02-25T18:24:31.000Z.
|
|
480
|
+
type: string | nil
|
|
481
|
+
textPreview:
|
|
482
|
+
description: Text preview of the file if available, null otherwise.
|
|
483
|
+
type: string | nil
|
|
484
|
+
thumb120By90RenditionStatus:
|
|
485
|
+
description: Specifies the status of the rendering of the 120x90 pixel sized
|
|
486
|
+
preview image of the file. Should be either Processing, Failed, Success,
|
|
487
|
+
or Na if unavailable.
|
|
488
|
+
type: string | nil
|
|
489
|
+
thumb240By180RenditionStatus:
|
|
490
|
+
description: Specifies the status of the rendering of the 240x180 pixel sized
|
|
491
|
+
preview image of the file. Should be either Processing, Failed, Success,
|
|
492
|
+
or Na if unavailable.
|
|
493
|
+
type: string | nil
|
|
494
|
+
thumb720By480RenditionStatus:
|
|
495
|
+
description: Specifies the status of the rendering of the 720x480 pixel sized
|
|
496
|
+
preview image of the file. Should be either Processing, Failed, Success,
|
|
497
|
+
or Na if unavailable.
|
|
498
|
+
type: string | nil
|
|
499
|
+
title:
|
|
500
|
+
description: Title of the file.
|
|
501
|
+
type: string | nil
|
|
502
|
+
versionNumber:
|
|
503
|
+
description: Version number of the file.
|
|
504
|
+
type: string | nil
|
|
505
|
+
mySubscription:
|
|
506
|
+
description: If the logged-in user is following this user, this contains information
|
|
507
|
+
about the subscription, else returns null.
|
|
508
|
+
type: ReferenceRepresentation | nil
|
|
509
|
+
motif:
|
|
510
|
+
description: Small, medium, and large icons indicating the record's type.
|
|
511
|
+
type: MotifRepresentation | nil
|
|
512
|
+
type:
|
|
513
|
+
description: A fixed type name for this object that can be checked to determine
|
|
514
|
+
the shape of a payload.
|
|
515
|
+
type: string | nil
|
|
516
|
+
url:
|
|
517
|
+
description: URL to the Connect resource for this object.
|
|
518
|
+
type: string | nil
|
|
519
|
+
TopicCollectionRepresentation:
|
|
520
|
+
description: Used to return a list of topics.
|
|
521
|
+
type: object
|
|
522
|
+
properties:
|
|
523
|
+
currentPageUrl:
|
|
524
|
+
description: URL to the current page of topics.
|
|
525
|
+
type: string | nil
|
|
526
|
+
nextPageUrl:
|
|
527
|
+
description: URL to the next page of topics.
|
|
528
|
+
type: string | nil
|
|
529
|
+
topics:
|
|
530
|
+
description: List of topics.
|
|
531
|
+
type: array
|
|
532
|
+
items:
|
|
533
|
+
type: TopicRepresentation | nil
|
|
534
|
+
ModerationFlagItemRepresentation:
|
|
535
|
+
description: Represents flag details on a moderation enabled entity.
|
|
536
|
+
type: object
|
|
537
|
+
properties:
|
|
538
|
+
createdBy:
|
|
539
|
+
description: The flagger id.
|
|
540
|
+
type: string
|
|
541
|
+
createdDate:
|
|
542
|
+
description: The visibility access for the user.
|
|
543
|
+
type: string
|
|
544
|
+
id:
|
|
545
|
+
description: The moderation id.
|
|
546
|
+
type: string
|
|
547
|
+
moderationType:
|
|
548
|
+
description: The moderation type.
|
|
549
|
+
type: string
|
|
550
|
+
enum:
|
|
551
|
+
- FlagAsInappropriate
|
|
552
|
+
- FlagAsSpam
|
|
553
|
+
note:
|
|
554
|
+
description: The additional note added by flagger.
|
|
555
|
+
type: string
|
|
556
|
+
visibility:
|
|
557
|
+
description: The visibility access for the user.
|
|
558
|
+
type: string
|
|
559
|
+
enum:
|
|
560
|
+
- ModeratorsOnly
|
|
561
|
+
- SelfAndModerators
|
|
562
|
+
ModerationFlagsCollectionRepresentation:
|
|
563
|
+
description: Represents list of flags on a feed item or comment or a content document.
|
|
564
|
+
type: object
|
|
565
|
+
properties:
|
|
566
|
+
currentPageToken:
|
|
567
|
+
description: The current page URL.
|
|
568
|
+
type: string
|
|
569
|
+
currentPageUrl:
|
|
570
|
+
description: The current page URL.
|
|
571
|
+
type: string
|
|
572
|
+
flags:
|
|
573
|
+
description: The list of flag details for a feed element.
|
|
574
|
+
type: array
|
|
575
|
+
items:
|
|
576
|
+
type: ModerationFlagItemRepresentation
|
|
577
|
+
nextPageToken:
|
|
578
|
+
description: The current page URL.
|
|
579
|
+
type: string
|
|
580
|
+
nextPageUrl:
|
|
581
|
+
description: The next page URL.
|
|
582
|
+
type: string
|
|
583
|
+
pageSize:
|
|
584
|
+
description: The default page size for the queue representation.
|
|
585
|
+
type: integer
|
|
586
|
+
ModerationFlagsRepresentation:
|
|
587
|
+
description: Represents a number of flags on a feed item or comment.
|
|
588
|
+
type: object
|
|
589
|
+
properties:
|
|
590
|
+
flagCount:
|
|
591
|
+
description: The number of moderation flags on this feed item or comment,
|
|
592
|
+
will be null if the user does not have permission to view the number of
|
|
593
|
+
moderation flags (the context user is not a moderator).
|
|
594
|
+
type: integer
|
|
595
|
+
flagCountByReason:
|
|
596
|
+
description: Returns the count of moderaton flags categorized by reasons.
|
|
597
|
+
type: object
|
|
598
|
+
properties:
|
|
599
|
+
//:
|
|
600
|
+
type: integer
|
|
601
|
+
flaggedByMe:
|
|
602
|
+
description: True if the context user has flagged it for moderation; false
|
|
603
|
+
otherwise.
|
|
604
|
+
type: boolean
|
|
605
|
+
flags:
|
|
606
|
+
description: Returns the collection of moderaton flags.
|
|
607
|
+
type: ModerationFlagsCollectionRepresentation
|
|
608
|
+
MotifRepresentation:
|
|
609
|
+
description: Describes the UI for an object. URL properties give icon URLs. Common
|
|
610
|
+
record types in Chatter are files, users, and groups, but all record types have
|
|
611
|
+
a set of motif icons. Custom object records use their tab style icon. All icons
|
|
612
|
+
are available to unauthenticated users so that, for example, you can display
|
|
613
|
+
the motif icons in an email.
|
|
614
|
+
type: object
|
|
615
|
+
properties:
|
|
616
|
+
color:
|
|
617
|
+
description: Hexidecimal color definition.
|
|
618
|
+
type: string
|
|
619
|
+
largeIconUrl:
|
|
620
|
+
description: Large icon.
|
|
621
|
+
type: string
|
|
622
|
+
mediumIconUrl:
|
|
623
|
+
description: Medium icon.
|
|
624
|
+
type: string
|
|
625
|
+
smallIconUrl:
|
|
626
|
+
description: Small icon.
|
|
627
|
+
type: string
|
|
628
|
+
svgIconUrl:
|
|
629
|
+
description: Vector graphics icon.
|
|
630
|
+
type: string | nil
|
|
631
|
+
OutOfOfficeRepresentation:
|
|
632
|
+
description: User's OutOfOfficeMessage
|
|
633
|
+
type: object
|
|
634
|
+
properties:
|
|
635
|
+
message:
|
|
636
|
+
description: out of office message of the user
|
|
637
|
+
type: string
|
|
638
|
+
PhotoRepresentation:
|
|
639
|
+
description: A profile photo for a user, group, or record.
|
|
640
|
+
type: object
|
|
641
|
+
properties:
|
|
642
|
+
fullEmailPhotoUrl:
|
|
643
|
+
description: URL to image data in a large format. Delivered in a URL that
|
|
644
|
+
does not require authentication but will expire after 30 days.
|
|
645
|
+
type: string
|
|
646
|
+
largePhotoUrl:
|
|
647
|
+
description: URL to image data in a large format. Requires an authenticated
|
|
648
|
+
connection.
|
|
649
|
+
type: string
|
|
650
|
+
mediumPhotoUrl:
|
|
651
|
+
description: URL to image data in a medium format. Requires an authenticated
|
|
652
|
+
connection.
|
|
653
|
+
type: string
|
|
654
|
+
photoVersionId:
|
|
655
|
+
description: String that can be used as a version check for photos. Photos
|
|
656
|
+
can be cached until this value changes.
|
|
657
|
+
type: string | nil
|
|
658
|
+
smallPhotoUrl:
|
|
659
|
+
description: URL to image data in a small format. Requires an authenticated
|
|
660
|
+
connection.
|
|
661
|
+
type: string
|
|
662
|
+
standardEmailPhotoUrl:
|
|
663
|
+
description: URL to image data in a small format. Delivered in a URL that
|
|
664
|
+
does not require authentication but will expire after 30 days.
|
|
665
|
+
type: string
|
|
666
|
+
url:
|
|
667
|
+
description: URL to this photo's content.
|
|
668
|
+
type: string
|
|
669
|
+
ReferenceRepresentation:
|
|
670
|
+
description: A reference to another record in the organization without including
|
|
671
|
+
all of the information about that record.
|
|
672
|
+
type: object
|
|
673
|
+
properties:
|
|
674
|
+
id:
|
|
675
|
+
description: The ID of the object being referenced, which could be an 18-character
|
|
676
|
+
ID or some other string identifier.
|
|
677
|
+
type: string
|
|
678
|
+
url:
|
|
679
|
+
description: URL to the resource endpoint.
|
|
680
|
+
type: string
|
|
681
|
+
ReputationLevelRepresentation:
|
|
682
|
+
description: Reputation level for a network member or network.
|
|
683
|
+
type: object
|
|
684
|
+
properties:
|
|
685
|
+
levelImageUrl:
|
|
686
|
+
description: The reputation level image URL.
|
|
687
|
+
type: string
|
|
688
|
+
levelName:
|
|
689
|
+
description: The name of the reputation level.
|
|
690
|
+
type: string
|
|
691
|
+
levelNumber:
|
|
692
|
+
description: The reputation level number is the numerical rank of the reputation
|
|
693
|
+
level, starting with 1 for the lowest number of points and increasing by
|
|
694
|
+
reputation point ranges defined by the administrator.
|
|
695
|
+
type: integer
|
|
696
|
+
ReputationRepresentation:
|
|
697
|
+
description: The network member's reputation.
|
|
698
|
+
type: object
|
|
699
|
+
properties:
|
|
700
|
+
reputationLevel:
|
|
701
|
+
description: Reputation Level.
|
|
702
|
+
type: ReputationLevelRepresentation
|
|
703
|
+
reputationPoints:
|
|
704
|
+
description: The reputation points of a network member earned from events
|
|
705
|
+
and actions performed in the community.
|
|
706
|
+
format: double
|
|
707
|
+
type: number
|
|
708
|
+
url:
|
|
709
|
+
description: An endpoint URL that can be used to access a network member's
|
|
710
|
+
reputation points.
|
|
711
|
+
type: string
|
|
712
|
+
RepositoryGroupSummaryRepresentation:
|
|
713
|
+
description: Detail description of a group entry.
|
|
714
|
+
type: object
|
|
715
|
+
properties:
|
|
716
|
+
groupType:
|
|
717
|
+
description: The type of group
|
|
718
|
+
type: string
|
|
719
|
+
enum:
|
|
720
|
+
- Everybody
|
|
721
|
+
- EverybodyInDomain
|
|
722
|
+
- Unknown
|
|
723
|
+
name:
|
|
724
|
+
description: The name of group
|
|
725
|
+
type: string
|
|
726
|
+
domain:
|
|
727
|
+
description: Domain of the directory entry.
|
|
728
|
+
type: string
|
|
729
|
+
email:
|
|
730
|
+
description: Email of the directory entry.
|
|
731
|
+
type: string
|
|
732
|
+
id:
|
|
733
|
+
description: Identifier of the directory entry.
|
|
734
|
+
type: string
|
|
735
|
+
type:
|
|
736
|
+
description: Type of directory entry.
|
|
737
|
+
type: string
|
|
738
|
+
enum:
|
|
739
|
+
- GroupEntry
|
|
740
|
+
- UserEntry
|
|
741
|
+
TopicImagesRepresentation:
|
|
742
|
+
description: Topic Images associated with a Topic
|
|
743
|
+
type: object
|
|
744
|
+
properties:
|
|
745
|
+
coverImageUrl:
|
|
746
|
+
description: URL to the Topic Cover Image.
|
|
747
|
+
type: string
|
|
748
|
+
featuredImageUrl:
|
|
749
|
+
description: URL to the Topic Featured Image.
|
|
750
|
+
type: string
|
|
751
|
+
TopicRepresentation:
|
|
752
|
+
description: A Chatter topic, either hashtag (v66.0 and earlier) or new topic
|
|
753
|
+
(v66.0 and later).
|
|
754
|
+
type: object
|
|
755
|
+
properties:
|
|
756
|
+
createdDate:
|
|
757
|
+
description: ISO8601 date string, for example, 2011-02-25T18:24:31.000Z.
|
|
758
|
+
type: string
|
|
759
|
+
description:
|
|
760
|
+
description: Description of the topic.
|
|
761
|
+
type: string
|
|
762
|
+
id:
|
|
763
|
+
description: 18-character ID of the topic.
|
|
764
|
+
type: string
|
|
765
|
+
images:
|
|
766
|
+
description: Topic images for the topic.
|
|
767
|
+
type: TopicImagesRepresentation
|
|
768
|
+
isBeingDeleted:
|
|
769
|
+
description: if Topic is currently being deleted.
|
|
770
|
+
type: boolean
|
|
771
|
+
name:
|
|
772
|
+
description: Name of the topic.
|
|
773
|
+
type: string
|
|
774
|
+
nonLocalizedName:
|
|
775
|
+
description: Non-localized name of the topic.
|
|
776
|
+
type: string
|
|
777
|
+
talkingAbout:
|
|
778
|
+
description: Number of people talking about this topic over the last two months,
|
|
779
|
+
based on factors such as topic additions and comments on posts with the
|
|
780
|
+
topic.
|
|
781
|
+
type: integer
|
|
782
|
+
url:
|
|
783
|
+
description: URL to the Connect resource for the topic.
|
|
784
|
+
type: string
|
|
785
|
+
UserSummaryRepresentation:
|
|
786
|
+
description: Basic details of a user in the organization.
|
|
787
|
+
type: object
|
|
788
|
+
properties:
|
|
789
|
+
isActive:
|
|
790
|
+
description: true if user is active, false otherwise.
|
|
791
|
+
type: boolean
|
|
792
|
+
additionalLabel:
|
|
793
|
+
description: An additional label (if any) for the user, e.g. "Customer", "Partner", or
|
|
794
|
+
"Acme Corporation".
|
|
795
|
+
type: string | nil
|
|
796
|
+
communityNickname:
|
|
797
|
+
description: Community Nickname.
|
|
798
|
+
type: string
|
|
799
|
+
required: false
|
|
800
|
+
companyName:
|
|
801
|
+
description: Name of the company.
|
|
802
|
+
type: string
|
|
803
|
+
displayName:
|
|
804
|
+
description: Display Name or Community Nickname.
|
|
805
|
+
type: string
|
|
806
|
+
firstName:
|
|
807
|
+
description: User's first name.
|
|
808
|
+
type: string
|
|
809
|
+
id:
|
|
810
|
+
description: 18-char ID of this record.
|
|
811
|
+
type: string
|
|
812
|
+
motif:
|
|
813
|
+
description: Small, medium, and large icons indicating the record's type.
|
|
814
|
+
type: MotifRepresentation
|
|
815
|
+
url:
|
|
816
|
+
description: URL to the Connect resource for this object.
|
|
817
|
+
type: string
|
|
818
|
+
isInThisCommunity:
|
|
819
|
+
description: true if the user is in the community used in the request. false
|
|
820
|
+
otherwise.
|
|
821
|
+
type: boolean
|
|
822
|
+
lastName:
|
|
823
|
+
description: User's last name.
|
|
824
|
+
type: string
|
|
825
|
+
mySubscription:
|
|
826
|
+
description: If the logged-in user is following this user, this contains information
|
|
827
|
+
about the subscription, else returns null.
|
|
828
|
+
type: ReferenceRepresentation | nil
|
|
829
|
+
name:
|
|
830
|
+
description: Locale-based concatenation of first and last names.
|
|
831
|
+
type: string
|
|
832
|
+
outOfOffice:
|
|
833
|
+
description: An additional label (if any) for the user for out of office status
|
|
834
|
+
type: OutOfOfficeRepresentation
|
|
835
|
+
photo:
|
|
836
|
+
description: Information about the user's photo.
|
|
837
|
+
type: PhotoRepresentation
|
|
838
|
+
reputation:
|
|
839
|
+
description: The user's reputation in the community, which is determined by
|
|
840
|
+
the number of points they earn from events and actions performed in the
|
|
841
|
+
community.
|
|
842
|
+
type: ReputationRepresentation | nil
|
|
843
|
+
type:
|
|
844
|
+
description: A fixed type name for this object that can be checked to determine
|
|
845
|
+
the shape of a payload.
|
|
846
|
+
type: string | nil
|
|
847
|
+
title:
|
|
848
|
+
description: Title of the user.
|
|
849
|
+
type: string | nil
|
|
850
|
+
userType:
|
|
851
|
+
description: 'Type of user. Valid values are: ChatterGuest—User is a Chatter
|
|
852
|
+
customer in an external group; Guest—Unauthenticated users; Internal—User
|
|
853
|
+
is a standard organization member Portal—User is a Customer Portal User,
|
|
854
|
+
a communities user, and so on; System—User is Chatter Expert or a system
|
|
855
|
+
user.'
|
|
856
|
+
type: string
|
|
857
|
+
enum:
|
|
858
|
+
- ChatterGuest
|
|
859
|
+
- ChatterOnly
|
|
860
|
+
- Guest
|
|
861
|
+
- Internal
|
|
862
|
+
- Portal
|
|
863
|
+
- System
|
|
864
|
+
- Undefined
|
|
865
|
+
FilePreviewRepresentation:
|
|
866
|
+
description: Description of a file preview.
|
|
867
|
+
type: object
|
|
868
|
+
properties:
|
|
869
|
+
format:
|
|
870
|
+
description: Represents the format of the preview.
|
|
871
|
+
type: string
|
|
872
|
+
enum:
|
|
873
|
+
- Jpg
|
|
874
|
+
- Pdf
|
|
875
|
+
- Svg
|
|
876
|
+
- Thumbnail
|
|
877
|
+
- ThumbnailBig
|
|
878
|
+
- ThumbnailTiny
|
|
879
|
+
previewUrlCount:
|
|
880
|
+
description: Represents the number of preview items this preview type has.
|
|
881
|
+
type: integer
|
|
882
|
+
previewUrls:
|
|
883
|
+
description: Represents a URI to retrieve the preview for a specific preview.
|
|
884
|
+
type: array
|
|
885
|
+
items:
|
|
886
|
+
type: FilePreviewUrlRepresentation
|
|
887
|
+
status:
|
|
888
|
+
description: Represents the availability status of the preview.
|
|
889
|
+
type: string
|
|
890
|
+
enum:
|
|
891
|
+
- Available
|
|
892
|
+
- InProgress
|
|
893
|
+
- NotAvailable
|
|
894
|
+
- NotScheduled
|
|
895
|
+
url:
|
|
896
|
+
description: The URL for this representation, which summaries the preview
|
|
897
|
+
for the specified format.
|
|
898
|
+
type: string
|
|
899
|
+
FilePreviewUrlRepresentation:
|
|
900
|
+
description: Represents the information to retrieve a preview item of a file.
|
|
901
|
+
type: object
|
|
902
|
+
properties:
|
|
903
|
+
pageNumber:
|
|
904
|
+
description: Preview Page Number (Optional)
|
|
905
|
+
type: integer
|
|
906
|
+
previewUrl:
|
|
907
|
+
description: Represents the file preview URL.
|
|
908
|
+
type: string
|
|
909
|
+
|
|
910
|
+
/connect/file/upload/config:
|
|
911
|
+
get:
|
|
912
|
+
displayName: getFileUploadConfig
|
|
913
|
+
description: Get the file uploader config
|
|
914
|
+
responses:
|
|
915
|
+
'200':
|
|
916
|
+
description: Success
|
|
917
|
+
body:
|
|
918
|
+
application/json:
|
|
919
|
+
type: FileUploadConfigRepresentation
|
|
920
|
+
|
|
921
|
+
/connect/files/users/{userId}:
|
|
922
|
+
post:
|
|
923
|
+
displayName: createContentDocFromContentBody
|
|
924
|
+
description: Upload a new file to a user's file share.
|
|
925
|
+
responses:
|
|
926
|
+
'200':
|
|
927
|
+
description: Success
|
|
928
|
+
body:
|
|
929
|
+
application/json:
|
|
930
|
+
type: FileDetailRepresentation
|
|
931
|
+
body:
|
|
932
|
+
application/json:
|
|
933
|
+
type: FileInputRepresentation
|
|
934
|
+
(oas-body-name): file
|
|
935
|
+
uriParameters:
|
|
936
|
+
userId:
|
|
937
|
+
type: string
|
|
938
|
+
required: true
|
|
939
|
+
/connect:
|
|
940
|
+
/communities:
|
|
941
|
+
/{communityId}:
|
|
942
|
+
/files:
|
|
943
|
+
/{fileId}:
|
|
944
|
+
/previews/{previewFormat}:
|
|
945
|
+
get:
|
|
946
|
+
displayName: getFilePreviewCommunity
|
|
947
|
+
description: Returns a specific preview format representation for
|
|
948
|
+
a file
|
|
949
|
+
responses:
|
|
950
|
+
'200':
|
|
951
|
+
description: Success
|
|
952
|
+
body:
|
|
953
|
+
application/json:
|
|
954
|
+
type: FilePreviewRepresentation
|
|
955
|
+
queryParameters:
|
|
956
|
+
endPageNumber:
|
|
957
|
+
description: 0-based page number of the last URL to retrieve (inclusive)
|
|
958
|
+
type: integer
|
|
959
|
+
required: false
|
|
960
|
+
startPageNumber:
|
|
961
|
+
description: 0-based page number of the first URL to retrieve
|
|
962
|
+
type: integer
|
|
963
|
+
required: false
|
|
964
|
+
versionNumber:
|
|
965
|
+
description: The specific version of the file if not specified
|
|
966
|
+
defaults to the latest
|
|
967
|
+
type: integer
|
|
968
|
+
required: false
|
|
969
|
+
uriParameters:
|
|
970
|
+
communityId:
|
|
971
|
+
type: string
|
|
972
|
+
required: true
|
|
973
|
+
fileId:
|
|
974
|
+
type: string
|
|
975
|
+
required: true
|
|
976
|
+
previewFormat:
|
|
977
|
+
type: string
|
|
978
|
+
required: true
|
|
979
|
+
/files:
|
|
980
|
+
/{fileId}:
|
|
981
|
+
/previews/{previewFormat}:
|
|
982
|
+
get:
|
|
983
|
+
displayName: getFilePreview
|
|
984
|
+
description: Returns a specific preview format representation for a file
|
|
985
|
+
responses:
|
|
986
|
+
'200':
|
|
987
|
+
description: Success
|
|
988
|
+
body:
|
|
989
|
+
application/json:
|
|
990
|
+
type: FilePreviewRepresentation
|
|
991
|
+
queryParameters:
|
|
992
|
+
endPageNumber:
|
|
993
|
+
description: 0-based page number of the last URL to retrieve (inclusive)
|
|
994
|
+
type: integer
|
|
995
|
+
required: false
|
|
996
|
+
startPageNumber:
|
|
997
|
+
description: 0-based page number of the first URL to retrieve
|
|
998
|
+
type: integer
|
|
999
|
+
required: false
|
|
1000
|
+
versionNumber:
|
|
1001
|
+
description: The specific version of the file if not specified defaults
|
|
1002
|
+
to the latest
|
|
1003
|
+
type: integer
|
|
1004
|
+
required: false
|
|
1005
|
+
uriParameters:
|
|
1006
|
+
fileId:
|
|
1007
|
+
type: string
|
|
1008
|
+
required: true
|
|
1009
|
+
previewFormat:
|
|
1010
|
+
type: string
|
|
1011
|
+
required: true
|