Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create new separated bucket for such files

  2. Bucket name - ambulatory_contracts (prod), ambulatory_contracts-preprod (preprod), ambulatory_contracts-demo (demo)

  1. Verify the validity of api-key

    1. Return 401 in case validation fails

  2. Verify the validity of token

    1. Return 401 in case validation fails

  3. Check scopes in order to perform this action (scope = 'private_contracts:write')

    1. Return 403 in case invalid scope(s)

...

  1. 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.