Skip to content

Commit c4df4f6

Browse files
author
github-actions
committed
Update REST API documentation Thu Mar 12 08:36:09 UTC 2026
1 parent 2fc3fda commit c4df4f6

1 file changed

Lines changed: 49 additions & 47 deletions

File tree

restapi.json

Lines changed: 49 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,53 +1100,6 @@
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-
},
11501103
"post": {
11511104
"tags": [
11521105
"sessions"
@@ -1290,6 +1243,55 @@
12901243
}
12911244
}
12921245
},
1246+
"/api/v2/sessions/me": {
1247+
"get": {
1248+
"tags": [
1249+
"sessions"
1250+
],
1251+
"summary": "Get auth user data.",
1252+
"description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Get auth user data.",
1253+
"operationId": "17c16a66c3e6fc44535253b7234f3727",
1254+
"parameters": [
1255+
{
1256+
"name": "php-auth-pw",
1257+
"in": "header",
1258+
"description": "Session key obtained from login",
1259+
"required": true,
1260+
"schema": {
1261+
"type": "string"
1262+
}
1263+
}
1264+
],
1265+
"responses": {
1266+
"200": {
1267+
"description": "Administrator found",
1268+
"content": {
1269+
"application/json": {
1270+
"schema": {
1271+
"$ref": "#/components/schemas/Administrator"
1272+
}
1273+
}
1274+
}
1275+
},
1276+
"401": {
1277+
"description": "Failure",
1278+
"content": {
1279+
"application/json": {
1280+
"schema": {
1281+
"properties": {
1282+
"message": {
1283+
"type": "string",
1284+
"example": "Not authorized."
1285+
}
1286+
},
1287+
"type": "object"
1288+
}
1289+
}
1290+
}
1291+
}
1292+
}
1293+
}
1294+
},
12931295
"/api/v2/attachments/download/{id}": {
12941296
"get": {
12951297
"tags": [

0 commit comments

Comments
 (0)