POST ./fisiere/public_url
It is used to create a public url for a file.
It will only work on files that have the type = 2 (fsTip = 2)
POST parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| fsID | int | Required | File/directory ID. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| fsID | 101 | Invalid fsID or access denied. |
| fsID | 102 | Invalid fsTip. |
Output example
{"fspToken": "2-2rKmF3uwND","fspUrl": "http://127.0.0.1/d/2rKmF3uwND","fspInsertDate": "2018-11-06 15:03:43"}
