curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites \
--header 'Authorization: Bearer <token>'{
"items": [
{
"invited_email": "[email protected]",
"organization_invites": 123,
"repository_invites": 123,
"latest_created": "2023-11-07T05:31:56Z",
"latest_expires": "2023-11-07T05:31:56Z",
"repository_details": [
{
"repo_id": "<string>",
"repo_name": "<string>"
}
],
"latest_inviting_user": {
"user_id": "<string>",
"name": "<string>",
"avatar": "<string>"
}
}
],
"total": 123,
"has_more": true
}Retrieves a list of users who have been invited to the organization but have not yet accepted the invitation.
curl --request GET \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites \
--header 'Authorization: Bearer <token>'{
"items": [
{
"invited_email": "[email protected]",
"organization_invites": 123,
"repository_invites": 123,
"latest_created": "2023-11-07T05:31:56Z",
"latest_expires": "2023-11-07T05:31:56Z",
"repository_details": [
{
"repo_id": "<string>",
"repo_name": "<string>"
}
],
"latest_inviting_user": {
"user_id": "<string>",
"name": "<string>",
"avatar": "<string>"
}
}
],
"total": 123,
"has_more": true
}This API uses OAuth 2 with the implicit grant flow
An ID of an organization
1 <= x <= 100x >= 0List of invited members
Show child attributes
Email address of the invited user
Number of organization invites for this email
Number of repository invites for this email
Timestamp of the most recent invite
Latest expiration timestamp among all invites for this email
Total number of unique emails with pending invitations
Whether there are more items available