GetRestrictedFile
Get restricted file
Description
- Download attached file data.
- It is available only when the accessing user has workspace, data store, item, or field access.
Method
GET
Request URL Format
/api/v0/applications/:app-id/datastores/:datastore-id/items/files/:item-id/:field-id/:file-id?token=トークン
URL Params
app-id : Application ID (application ID specified from the screen, or p_id)
datastore-id : Datastore ID (Datastore ID specified from the screen, or d_id)
item-id : Item ID
field-id : Field ID
file-id : File ID
token : Token (instead of setting the Authorization in the header, you can also specify a token parameter)
Request URL Sample
GET https://api.xxx.com/api/v0/applications/APPID/datastores/DATABASEID/items/files/59ad2d8a0e247927638e761a/58cc9253fbfcba88307142d1/59af720c0e247958c7011a88?token=xxxxxx
Response Sample
(Omitted) *Download the binary data of the corresponding file.