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 >= 0