Newer Version Available

This content describes an older version of this product. View Latest

Asset File

Create an asset file.
Resource
1/connect/files/fileId/asset
1/connect/communities/communityId/files/fileId/asset
Available version
38.0
Requires Chatter
No
HTTP methods
POST

POST doesn’t take a request body and doesn’t require request parameters.

Note

Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
isVisibleBy​ExternalUsers Boolean Indicates whether unauthenticated users can see the asset file (true) or not (false). If not specified, the default value is false. Optional 43.0
shareWith String An organization ID, community ID, or content workspace ID with which to share the file. Optional 38.0 only
shareWithIds String[] A list of organization IDs, community IDs, or content workspace IDs with which to share the file. Optional 39.0
Response body for POST
File Detail