Skip to content

Commit 2fc3fda

Browse files
author
github-actions
committed
Update REST API documentation Thu Mar 12 08:04:52 UTC 2026
1 parent 8db4776 commit 2fc3fda

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

restapi.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,53 @@
11001100
}
11011101
},
11021102
"/api/v2/sessions": {
1103+
"get": {
1104+
"tags": [
1105+
"sessions"
1106+
],
1107+
"summary": "Get auth user data.",
1108+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Get auth user data.",
1109+
"operationId": "40cbcc55228ce9619dab556553582b53",
1110+
"parameters": [
1111+
{
1112+
"name": "php-auth-pw",
1113+
"in": "header",
1114+
"description": "Session key obtained from login",
1115+
"required": true,
1116+
"schema": {
1117+
"type": "string"
1118+
}
1119+
}
1120+
],
1121+
"responses": {
1122+
"200": {
1123+
"description": "Administrator found",
1124+
"content": {
1125+
"application/json": {
1126+
"schema": {
1127+
"$ref": "#/components/schemas/Administrator"
1128+
}
1129+
}
1130+
}
1131+
},
1132+
"401": {
1133+
"description": "Failure",
1134+
"content": {
1135+
"application/json": {
1136+
"schema": {
1137+
"properties": {
1138+
"message": {
1139+
"type": "string",
1140+
"example": "Not authorized."
1141+
}
1142+
},
1143+
"type": "object"
1144+
}
1145+
}
1146+
}
1147+
}
1148+
}
1149+
},
11031150
"post": {
11041151
"tags": [
11051152
"sessions"

0 commit comments

Comments
 (0)