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+ },
11031150 "post" : {
11041151 "tags" : [
11051152 " sessions"
You can’t perform that action at this time.
0 commit comments