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
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