-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
284 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -435,7 +435,7 @@ | |
"summary": "Related application membership", | ||
"description": "Related application membership", | ||
"tags": [ | ||
"users", | ||
"user", | ||
"has_one" | ||
], | ||
"parameters": [ | ||
|
@@ -660,6 +660,41 @@ | |
} | ||
} | ||
}, | ||
"/memberships/{membershipId}/resend": { | ||
"post": { | ||
"operationId": "POST/memberships/membershipId/resend", | ||
"summary": "Resend invitation", | ||
"description": "Resend invitation for the given membership", | ||
"tags": [ | ||
"memberships" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "membershipId", | ||
"in": "path", | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"required": true, | ||
"description": "The resource's id" | ||
} | ||
], | ||
"requestBody": { | ||
"required": true, | ||
"content": { | ||
"application/vnd.api+json": { | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"description": "Confirmation that the invitation has been sent", | ||
"content": { | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/memberships/{membershipId}/organization": { | ||
"get": { | ||
"operationId": "GET/membershipId/organization", | ||
|
@@ -894,6 +929,82 @@ | |
} | ||
} | ||
}, | ||
"/organizations/{organizationId}/transfer_ownership": { | ||
"patch": { | ||
"operationId": "PATCH/organizations/organizationId/transfer_ownership", | ||
"summary": "Transfer ownership of an organization", | ||
"description": "Transfers the ownership of an organization to a new owner", | ||
"tags": [ | ||
"organizations" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "organizationId", | ||
"in": "path", | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"required": true, | ||
"description": "The resource's id" | ||
} | ||
], | ||
"requestBody": { | ||
"required": true, | ||
"content": { | ||
"application/vnd.api+json": { | ||
"schema": { | ||
"required": [ | ||
"data" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"data": { | ||
"type": "object", | ||
"required": [ | ||
"type", | ||
"id", | ||
"attributes" | ||
], | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"description": "The resource's type", | ||
"enum": [ | ||
"organizations" | ||
] | ||
}, | ||
"id": { | ||
"type": "string", | ||
"description": "The resource's id", | ||
"example": "XGZwpOSrWL" | ||
}, | ||
"attributes": { | ||
"type": "object", | ||
"properties": { | ||
"new_owner_email": { | ||
"type": "string", | ||
"description": "The user email of the new owner of the organization.", | ||
"example": "[email protected]", | ||
"nullable": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"description": "The confirmation of the transfer ownership", | ||
"content": { | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/organizations/{organizationId}/memberships": { | ||
"get": { | ||
"operationId": "GET/organizationId/memberships", | ||
|
@@ -2219,7 +2330,7 @@ | |
"type": "string", | ||
"description": "The resource's type", | ||
"enum": [ | ||
"users" | ||
"user" | ||
] | ||
}, | ||
"id": { | ||
|
@@ -2389,7 +2500,7 @@ | |
"type": "string", | ||
"description": "The resource's type", | ||
"enum": [ | ||
"users" | ||
"user" | ||
] | ||
}, | ||
"id": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.