...
Create new separated bucket for such files
Bucket name - ambulatory_contracts (prod), ambulatory_contracts-preprod (preprod), ambulatory_contracts-demo (demo)
Authorize
Verify the validity of api-key
Return 401 in case validation fails
Verify the validity of token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'private_contracts:write')
Return 403 in case invalid scope(s)
...
Invoke AEL rpc - generate secure link for requested action, resource_id (folder identifier - contractor_legal_entity_id) and resource_name (file name*) in configured bucket
*If the file name consists of several words, it must be encoded using Percent-encoding before executing the request.