Skip to main content
Skip table of contents

File Objects Resource

Endpoint
https://\{instance}. salesforce.com/services/apexrest/cg/SDrive/fileObjects


Methods
GET


Method Details
GET


Request Body Parameters
none


Response Body Parameters
fileObjects : List of Apex API names of SDrive file objects in the org.
Type: string[]


Status Codes 200 – Success


JSON Object Types
JSON Objects and their key value pairs that are used as arrays in our REST request and response bodies.


policyMap : Map of policy conditions and theirs values that represent the additional policy parameters used during upload (e.g. ('$Content-Disposition', 'attachment; filename)). For more information, visit the Amazon documentation:
http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html


FileProperty :
fileName : string
fileLocation : string
description : string
relationshipFieldName : string
fileType : string
fileSizeInBytes : string


UploadRequestInfo :
fileName : string
fileLocation : string
fileSize : string
fileType : string
wipFileId : string
signature : string
policy : string
timeStamp : string
awsRegion : string
awsCredential : string


ResultObject
status : string ( success or fail) error message : string ( empty if status is success) wipField : string ( to see which file failed)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.