diff --git a/services/brig/docs/swagger-v7.json b/services/brig/docs/swagger-v7.json
index 785d7bf11a8..3f60be27d75 100644
--- a/services/brig/docs/swagger-v7.json
+++ b/services/brig/docs/swagger-v7.json
@@ -1723,43 +1723,37 @@
],
"type": "object"
},
- "CreateScimToken": {
+ "CreateScimTokenResponseV7": {
"properties": {
- "description": {
- "type": "string"
- },
- "idp": {
- "$ref": "#/components/schemas/UUID"
- },
- "name": {
- "type": "string"
+ "info": {
+ "$ref": "#/components/schemas/ScimTokenInfoV7"
},
- "password": {
- "maxLength": 1024,
- "minLength": 6,
+ "token": {
"type": "string"
- },
- "verification_code": {
- "$ref": "#/components/schemas/ASCII"
}
},
"required": [
- "description"
+ "token",
+ "info"
],
"type": "object"
},
- "CreateScimTokenResponse": {
+ "CreateScimTokenV7": {
"properties": {
- "info": {
- "$ref": "#/components/schemas/ScimTokenInfo"
+ "description": {
+ "type": "string"
},
- "token": {
+ "password": {
+ "maxLength": 1024,
+ "minLength": 6,
"type": "string"
+ },
+ "verification_code": {
+ "$ref": "#/components/schemas/ASCII"
}
},
"required": [
- "token",
- "info"
+ "description"
],
"type": "object"
},
@@ -5107,7 +5101,7 @@
],
"type": "object"
},
- "ScimTokenInfo": {
+ "ScimTokenInfoV7": {
"properties": {
"created_at": {
"$ref": "#/components/schemas/UTCTime"
@@ -5121,9 +5115,6 @@
"idp": {
"$ref": "#/components/schemas/UUID"
},
- "name": {
- "type": "string"
- },
"team": {
"$ref": "#/components/schemas/UUID"
}
@@ -5132,16 +5123,15 @@
"team",
"id",
"created_at",
- "description",
- "name"
+ "description"
],
"type": "object"
},
- "ScimTokenList": {
+ "ScimTokenListV7": {
"properties": {
"tokens": {
"items": {
- "$ref": "#/components/schemas/ScimTokenInfo"
+ "$ref": "#/components/schemas/ScimTokenInfoV7"
},
"type": "array"
}
@@ -5151,17 +5141,6 @@
],
"type": "object"
},
- "ScimTokenName": {
- "properties": {
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
"SearchResult": {
"properties": {
"documents": {
@@ -15715,36 +15694,6 @@
"summary": "Verify account deletion with a code."
}
},
- "/events": {
- "get": {
- "description": " [internal route ID: \"consume-events\"]\n\nThis is the rabbitMQ-based variant of \"await-notifications\"",
- "externalDocs": {
- "description": "RFC 6455",
- "url": "https://datatracker.ietf.org/doc/html/rfc6455"
- },
- "operationId": "consume-events",
- "parameters": [
- {
- "description": "Client ID",
- "in": "query",
- "name": "client",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "101": {
- "description": "Connection upgraded."
- },
- "426": {
- "description": "Upgrade required."
- }
- },
- "summary": "Consume events over a websocket connection"
- }
- },
"/feature-configs": {
"get": {
"description": " [internal route ID: \"get-all-feature-configs-for-user\"]\n\nGets feature configs for a user. If the user is a member of a team and has the required permissions, this will return the team's feature configs.If the user is not a member of a team, this will return the personal feature configs (the server defaults).\nOAuth scope: `read:feature_configs`",
@@ -22147,14 +22096,14 @@
}
},
"get": {
- "description": " [internal route ID: \"auth-tokens-list\"]\n\n",
- "operationId": "auth-tokens-list",
+ "description": " [internal route ID: \"auth-tokens-list@v7\"]\n\n",
+ "operationId": "auth-tokens-list@v7",
"responses": {
"200": {
"content": {
"application/json;charset=utf-8": {
"schema": {
- "$ref": "#/components/schemas/ScimTokenList"
+ "$ref": "#/components/schemas/ScimTokenListV7"
}
}
},
@@ -22201,90 +22150,13 @@
}
},
"post": {
- "description": " [internal route ID: \"auth-tokens-create\"]\n\n",
- "operationId": "auth-tokens-create",
- "requestBody": {
- "content": {
- "application/json;charset=utf-8": {
- "schema": {
- "$ref": "#/components/schemas/CreateScimToken"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "content": {
- "application/json;charset=utf-8": {
- "schema": {
- "$ref": "#/components/schemas/CreateScimTokenResponse"
- }
- }
- },
- "description": ""
- },
- "403": {
- "content": {
- "application/json;charset=utf-8": {
- "schema": {
- "example": {
- "code": 403,
- "label": "code-authentication-required",
- "message": "Code authentication is required"
- },
- "properties": {
- "code": {
- "enum": [
- 403
- ],
- "type": "integer"
- },
- "label": {
- "enum": [
- "code-authentication-required",
- "code-authentication-failed"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "label",
- "message"
- ],
- "type": "object"
- }
- }
- },
- "description": "Code authentication is required (label: `code-authentication-required`)\n\nCode authentication failed (label: `code-authentication-failed`)"
- }
- }
- }
- },
- "/scim/auth-tokens/{id}": {
- "put": {
- "description": " [internal route ID: \"auth-tokens-put-name\"]\n\n",
- "operationId": "auth-tokens-put-name",
- "parameters": [
- {
- "in": "path",
- "name": "id",
- "required": true,
- "schema": {
- "format": "uuid",
- "type": "string"
- }
- }
- ],
+ "description": " [internal route ID: \"auth-tokens-create@v7\"]\n\n",
+ "operationId": "auth-tokens-create@v7",
"requestBody": {
"content": {
"application/json;charset=utf-8": {
"schema": {
- "$ref": "#/components/schemas/ScimTokenName"
+ "$ref": "#/components/schemas/CreateScimTokenV7"
}
}
},
@@ -22295,10 +22167,7 @@
"content": {
"application/json;charset=utf-8": {
"schema": {
- "example": [],
- "items": {},
- "maxItems": 0,
- "type": "array"
+ "$ref": "#/components/schemas/CreateScimTokenResponseV7"
}
}
},