Versions Compared

Key

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

...

Method searches user in oAuth.

See service spesification. - добавить ссылку + курл


Code Block
languagexml
titleSample Request
collapsetrue
curl -X GET -H 'Content-Type: application/json' -H 'Authorization:Bearer YW5WcFkyVnFkV2xqWldwMWFXTmxDZzpjY1hwWTR0cWRZbGVjNHAxYUdsMXVJ' 'httphttps://ehealth.nebo15private-31faf6-ehealthapi1.apiary-mock.com/users/employee_request/idd290f1ee-6c54-4b01-90e6-d701748f0851'

Authorize

  1. Verify the validity of access token
  2. Check user scop in order to perform this action
    1. In case error - return 401 error

...

Code Block
languagexml
titleSample Request
collapsetrue
curl -X GET -H 'Content-Type: application/json' 'http:://ehealth.nebo15.com/employee_requests/b075f148-7f93-4fc2-b2ec-2d81b19a9b7b'

...

Search user in oAuth by email.

Invoke WS - добавить имя метода + ссылка на apiaryList Users

See service specification

Code Block
languagexml
titleSample Request
collapsetrue
curl -X GET -H 'Content-Type: application/json' 'https://trump.herokuapp.com/users?email=john%40example.com'