Log end of review to Reviewers API

Everytime a Review issue is closed this responder calls the Reviewers management application’s API to unassign a review from all users in the reviewers list.

Listens to

New review issue closed event.

Requirements

Reviewers are extracted from a reviewers-list field in the issue’s body.

<!--reviewers-list-->  <!--end-reviewers-list-->

For the Reviewers API to be called, two valiables must be present in the envsection of the settings: reviewers_host_url and reviewers_api_token

Settings key

openjournals_reviewers_end_review

Examples

...
  env:
    reviewers_host_url: "https://reviewe.rs"
    reviewers_api_token: 123456789ABC
...
  responders:
    openjournals_reviewers_end_review:
...