Get File url by ID
GET/storage/files/:id/url
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Request
Path Parameters
File ID.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
Responses
- 200
- 400
- 401
- 422
File URL returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
URL File.
Size File. This format is is byte. Ex: 307504 Byte => 300 KB => 0,3 MB
{
"url": "https://s3.amazonaws.com/bucket/folder/file.csv",
"size": 307504
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.