api: change endpoint name and allow it to be called even if not in current token scope

This commit is contained in:
Xavier Stouder
2025-07-03 21:59:07 +02:00
parent 58a96dc687
commit 9a31b9c077
6 changed files with 21 additions and 20 deletions
+4 -4
View File
@@ -1108,20 +1108,20 @@
}
}
},
"/v2/IntrospectAdminToken": {
"/v2/GetCurrentAdminTokenInfo": {
"get": {
"tags": [
"Admin API token"
],
"description": "\nReturn information about the calling admin API token.\n ",
"operationId": "IntrospectAdminToken",
"operationId": "GetCurrentAdminTokenInfo",
"responses": {
"200": {
"description": "Information about the admin token",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IntrospectAdminTokenResponse"
"$ref": "#/components/schemas/GetCurrentAdminTokenInfoResponse"
}
}
}
@@ -2832,7 +2832,7 @@
}
}
},
"IntrospectAdminTokenResponse": {
"GetCurrentAdminTokenInfoResponse": {
"type": "object",
"required": [
"name",