account json
This commit is contained in:
@@ -97,6 +97,12 @@
|
||||
"LoginResponse": {
|
||||
"$ref": "swagger/schemas/LoginResponse.json"
|
||||
},
|
||||
"Account": {
|
||||
"$ref": "swagger/schemas/UserRequest.json"
|
||||
},
|
||||
"AccountResponse": {
|
||||
"$ref": "swagger/schemas/AccountResponse.json"
|
||||
},
|
||||
"Register": {
|
||||
"$ref": "swagger/schemas/RegisterRequest.json"
|
||||
},
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"Account"
|
||||
],
|
||||
"summary": "User Account + Profile ",
|
||||
"description": "Initiate Login Request",
|
||||
"operationId": "startLogin",
|
||||
"description": "User Account Request",
|
||||
"operationId": "account",
|
||||
"requestBody": {
|
||||
"description": "Post JSON to conduct login request",
|
||||
"content": {
|
||||
@@ -33,12 +33,12 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "../schemas/LoginResponse.json"
|
||||
"$ref": "../schemas/AccountResponse.json"
|
||||
}
|
||||
},
|
||||
"application/xml": {
|
||||
"schema": {
|
||||
"$ref": "../schemas/LoginResponse.json"
|
||||
"$ref": "../schemas/AccountResponse.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"member_id": {
|
||||
"type": "string",
|
||||
"example": "200"
|
||||
},
|
||||
"uid": {
|
||||
"type": "string",
|
||||
"example": "8888-999998-9999"
|
||||
},
|
||||
"username": {
|
||||
"type": "string",
|
||||
"example": "username"
|
||||
},
|
||||
"account_name": {
|
||||
"type": "string",
|
||||
"example": "account_name"
|
||||
},
|
||||
"firstname": {
|
||||
"type": "string",
|
||||
"example": "firstname"
|
||||
},
|
||||
"lastname": {
|
||||
"type": "string",
|
||||
"example": "lastname"
|
||||
},
|
||||
"room": {
|
||||
"type": "string",
|
||||
"example": "room"
|
||||
},
|
||||
"token": {
|
||||
"type": "string",
|
||||
"example": "username"
|
||||
},
|
||||
"resultDescription": {
|
||||
"type": "string",
|
||||
"example": "Successful"
|
||||
},
|
||||
"resultCode": {
|
||||
"type": "string",
|
||||
"example": "00"
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "AccountResponse"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user