Versions Compared

Key

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

...

Перевірка та взяття в обробку направлення за програмою медичним закладом

Specification

Apiary

Validations

Authorization

  • Verify the validity of access token

    • Return (401, 'unauthorized') in case of validation fails

  • Verify that token is not expired

    • in case of error - return (401, 'unauthorized')

  • Check user scopes in order to perform this action (scope = 'service_request:write')

    1. Return (403, 'invalid scopes') in case of invalid scope(s)

...