Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix organisation invite template #760

Merged
merged 4 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 42 additions & 7 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4785,13 +4785,6 @@ var doc = `{
],
"summary": "Update a subscription",
"parameters": [
{
"type": "string",
"description": "group id",
"name": "groupId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "subscription id",
Expand Down Expand Up @@ -5676,6 +5669,13 @@ var doc = `{
],
"summary": "Create a group",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"description": "Group Details",
"name": "group",
Expand Down Expand Up @@ -6485,6 +6485,13 @@ var doc = `{
],
"summary": "Fetch multiple api keys",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "results per page",
Expand Down Expand Up @@ -6612,6 +6619,13 @@ var doc = `{
],
"summary": "Create an api key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"description": "API Key",
"name": "apiKey",
Expand Down Expand Up @@ -6717,6 +6731,13 @@ var doc = `{
],
"summary": "Get api key by id",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down Expand Up @@ -6818,6 +6839,13 @@ var doc = `{
],
"summary": "update api key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down Expand Up @@ -6921,6 +6949,13 @@ var doc = `{
],
"summary": "Revoke API Key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down
49 changes: 42 additions & 7 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4773,13 +4773,6 @@
],
"summary": "Update a subscription",
"parameters": [
{
"type": "string",
"description": "group id",
"name": "groupId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "subscription id",
Expand Down Expand Up @@ -5664,6 +5657,13 @@
],
"summary": "Create a group",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"description": "Group Details",
"name": "group",
Expand Down Expand Up @@ -6473,6 +6473,13 @@
],
"summary": "Fetch multiple api keys",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "results per page",
Expand Down Expand Up @@ -6600,6 +6607,13 @@
],
"summary": "Create an api key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"description": "API Key",
"name": "apiKey",
Expand Down Expand Up @@ -6705,6 +6719,13 @@
],
"summary": "Get api key by id",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down Expand Up @@ -6806,6 +6827,13 @@
],
"summary": "update api key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down Expand Up @@ -6909,6 +6937,13 @@
],
"summary": "Revoke API Key",
"parameters": [
{
"type": "string",
"description": "Organisation id",
"name": "orgID",
"in": "path",
"required": true
},
{
"type": "string",
"description": "API Key id",
Expand Down
35 changes: 30 additions & 5 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3438,11 +3438,6 @@ paths:
- application/json
description: This endpoint updates a subscription
parameters:
- description: group id
in: path
name: groupId
required: true
type: string
- description: subscription id
in: path
name: subscriptionID
Expand Down Expand Up @@ -3797,6 +3792,11 @@ paths:
- application/json
description: This endpoint creates a group
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: Group Details
in: body
name: group
Expand Down Expand Up @@ -4239,6 +4239,11 @@ paths:
- application/json
description: This endpoint fetches multiple api keys
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: results per page
in: query
name: perPage
Expand Down Expand Up @@ -4308,6 +4313,11 @@ paths:
description: This endpoint creates an api key that will be used by the native
auth realm
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: API Key
in: body
name: apiKey
Expand Down Expand Up @@ -4364,6 +4374,11 @@ paths:
- application/json
description: This endpoint fetches an api key by its id
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: API Key id
in: path
name: keyID
Expand Down Expand Up @@ -4418,6 +4433,11 @@ paths:
- application/json
description: This endpoint updates an api key
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: API Key id
in: path
name: keyID
Expand Down Expand Up @@ -4473,6 +4493,11 @@ paths:
- application/json
description: This endpoint revokes an api key
parameters:
- description: Organisation id
in: path
name: orgID
required: true
type: string
- description: API Key id
in: path
name: keyID
Expand Down
67 changes: 58 additions & 9 deletions docs/v3/openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -6675,15 +6675,6 @@
"put": {
"description": "This endpoint updates a subscription",
"parameters": [
{
"description": "group id",
"in": "path",
"name": "groupId",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "subscription id",
"in": "path",
Expand Down Expand Up @@ -7557,6 +7548,17 @@
"/ui/organisations/{orgID}/groups": {
"post": {
"description": "This endpoint creates a group",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
Expand Down Expand Up @@ -8474,6 +8476,15 @@
"get": {
"description": "This endpoint fetches multiple api keys",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "results per page",
"in": "query",
Expand Down Expand Up @@ -8616,6 +8627,17 @@
},
"post": {
"description": "This endpoint creates an api key that will be used by the native auth realm",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
Expand Down Expand Up @@ -8733,6 +8755,15 @@
"get": {
"description": "This endpoint fetches an api key by its id",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "API Key id",
"in": "path",
Expand Down Expand Up @@ -8846,6 +8877,15 @@
"put": {
"description": "This endpoint updates an api key",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "API Key id",
"in": "path",
Expand Down Expand Up @@ -8961,6 +9001,15 @@
"put": {
"description": "This endpoint revokes an api key",
"parameters": [
{
"description": "Organisation id",
"in": "path",
"name": "orgID",
"required": true,
"schema": {
"type": "string"
}
},
{
"description": "API Key id",
"in": "path",
Expand Down
Loading