0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

refactor(core): add swagger json

This commit is contained in:
Gao Sun 2024-01-11 21:47:30 +08:00
parent 75b643ad2f
commit 0f08608b96
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -0,0 +1,22 @@
{
"tags": [
{
"name": "Organization invitations",
"description": "Organization invitations are used to invite users to join an organization. They are sent via email and contain a link that the user can click to accept the invitation and join the organization."
}
],
"paths": {
"/api/organization-invitations": {
"get": {
"summary": "Get organization invitations",
"description": "Get organization invitations with pagination.",
"parameters": [],
"responses": {
"200": {
"description": "A list of organization invitations, each item also contains the organization roles to be assigned to the user when they accept the invitation, and the corresponding magic link data."
}
}
}
}
}
}