File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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"
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" : [
You can’t perform that action at this time.
0 commit comments