Versions Compared

Key

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

...

  • Ability for ACT to "grant access".  This command needs to prompt for a user id, and then find an ACT terms of use for the currently shown entity.  If successful, then it should create an access approval using this pair.

 

Services

DescriptionRestrictionsIntended User / AuthorizationNotification sent toURIMethodRequest ParametersRequest BodyResponse Body

Request verification.

 

Can only request if there isn't already a pending request.

Content must match user profile, emails, ORCID in system at the time the request is made.

Rejected if required fields are blank.

any authorized userACT/verificationSubmissionPOST--VerificationSubmissionVerificationSubmission
Get a list of verification submissions. ACT--/verificationSubmissionGETlimit, offset, userId, state--VerificationSubmissionPaginatedResults
Delete verification request creatoruser who requested verification/verificationSubmission/{id}DELETEreason----

Approve verification submission

 

(Must be in 'submitted' state.)

There cannot already be an approved V.S.

ACTuser who requested verification/verificationSubmission/{id}/approvalPUT------

Reject verification submission

 

(Must be in 'submitted' state.)ACTuser who requested verification/verificationSubmission/{id}/rejectionPUT------

Suspend verification submission

 

(Must be in approved state.)ACTuser who requested verification/verificationSubmission/{id}/suspension    

Retract verification

 

(Must be in approved or suspended state.)ACTuser who requested verification/verificationSubmission/{id}/retractionPUT------

Get UserBundle

If not self or ACT then private fields are cleared.

 Public--/user/{id}/userBundleGET----UserBundle
Link the user ID given by an oauth2 provider to a Synapse account. any authorized user--/oauth2/aliasPOST--

OAuthValidationRequest

PrincipalAlias
Download attachment from verification submission. ACT--

/file/ownerType/{ownerType*}/{id}/fileHandleId/{fileHandleId}

 

*Note we introduce a new ownerType, "VerificationSubmission". 

GETredirect download URL
Update UserProfileIf user is verified then cannot change verified fields.user who owns the profile--/userProfile/{id}PUT--UserProfileUserProfile

 

VerificationSubmission:

  • id
  • userId
  • createdOn
  • first name
  • last name
  • organization ("affiliation"?)
  • location
  • ORCID
  • email list
  • attachments (fileHandleIds)
  • state (one of submitted, approved, rejected, suspended, retracted)
  • verificationApproval
  • verificationRetraction

...