Reviewer Invitations
Operations Summary
Core CRUD
Get invitation details by token
Get invitation details by token.
Other Actions
Accept a reviewer invitation
Accept a reviewer invitation.
| http \
POST \
https://api.example.com/api/reviewer-invitations/********/accept/ \
Authorization:"Token YOUR_API_TOKEN"
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.invitation_accept_request import InvitationAcceptRequest # (1)
from waldur_api_client.api.reviewer_invitations import reviewer_invitations_accept # (2)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
body_data = InvitationAcceptRequest()
response = reviewer_invitations_accept.sync(
token="********",
client=client,
body=body_data
)
print(response)
|
- Model Source:
InvitationAcceptRequest
- API Source:
reviewer_invitations_accept
1
2
3
4
5
6
7
8
9
10
11
12
13 | import { reviewerInvitationsAccept } from 'waldur-js-client';
try {
const response = await reviewerInvitationsAccept({
auth: "Token YOUR_API_TOKEN",
path: {
"token": "********"
}
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Required |
token |
string |
✓ |
| Field |
Type |
Required |
Description |
declared_conflicts |
array of objects |
|
Optional list of self-declared conflicts with proposals. Each conflict creates a ConflictOfInterest record with detection_method='self_disclosed'. |
declared_conflicts.proposal_uuid |
string (uuid) |
✓ |
|
declared_conflicts.coi_type |
string |
✓ |
Enum: INST_SAME, FIN_DIRECT, REL_FAMILY, ROLE_NAMED, COLLAB_ACTIVE, REL_MENTOR, REL_SUPERVISOR, COAUTH_RECENT, INST_DEPT, INST_FORMER, ROLE_CONF, COLLAB_GRANT, REL_EDITORIAL, COMPET, COAUTH_OLD, INST_CONSORT, CONF_ATTEND, SOC_MEMBER |
declared_conflicts.severity |
any |
|
Constraints: default: apparent |
declared_conflicts.description |
string |
|
Constraints: default: `` |
200 -
| Field |
Type |
Description |
detail |
string |
|
declared_conflicts |
array of string (uuid)s |
UUIDs of created conflict records |
400 -
| Field |
Type |
error |
string |
message |
string |
profile_url |
string |
401 -
Decline a reviewer invitation
Decline a reviewer invitation.