GET restapi/personal/yourfiles/private/files/{fileId}/v1?attachment={attachment}

Get download url for a file. Will be valid for 1 minute.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fileId

The file identifier

integer

Required

attachment

If it is a view or download url to get

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

The file

string

Response Formats

application/json, text/json

Sample:
"sample string"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>