...
Description | Intended User | URI | Method | Request Parameters | Request Body | Response Body | Authority | |||
---|---|---|---|---|---|---|---|---|---|---|
Verify a user. TODO: If called a second time should we update the VerificationRecord? | ACT member | /user/{id}/verification | PUT | TODO: VerificationRecordHash? | -- | VerificationRecord | ||||
Retrieve verification | ACT member | /user/{id}/verification | GET | -- | VerificationRecord | |||||
Remove verification | ACT member | /user/{id}/verification | DELETE | -- | -- | |||||
Get UserBundle (incl. ORCID) | Public | /user/{id}/userBundle | GET | |||||||
Add ORCID to account | any authorized user | /auth/orcid | POST | OAuthValidationRequest | ORCID | |||||
TODO: Do we need to add a service to get the ORCID access token and a user's ORCID? |
UserBundle:
- isCertified
- isVerified
- hasSignedTOU
- isACTMember
- isAdmin
...