Versions Compared

Key

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

...

Validateperson_id in request:

  • validate person.id is UUID

    • in case error return 422

  • search person by person.id in MPI MPI

    • in case error return 422, "such person doesn't exist"200 with empty array

Authorize

  • Verify the validity of access token

  • Check user scope person:read in order to perform this action

...