Medical Endpoint
The API has been deprecated and is no longer in use.
Medical Endpoints
Raw list of medical endpoints:
GET /medical/records
POST /medical/admit
List of medical endpoint methods
Medical Records (Search)
GET
https://roleplaybot.xyz/api/medical/records
Searches a civilians medical records
Headers
Authorization*
API_KEY
API Authorization Key
Guild*
GUILD_ID
Discord Guild ID
Request Body
name*
CIV_NAME
Civilian Name (String)
Found one or more hospital admissions (Displays one or more objects inside the admissions array and empty if none are found)
Medical Admit
POST
https://roleplaybot.xyz/api/medical/admit
Admits a user to hospital and creates record
Headers
Authorization*
API_KEY
API Authorization Key
Guild*
GUILD_ID
Discord Guild ID
Request Body
name*
CIV_NAME
Civilian Name (String)
time*
TIME
Recovery time (String) (>5000) (Seconds)
injures*
INJURES
List of injures (String)
unitName*
UNIT_NAME
Admitting units name (String)
unitID*
UNIT_ID
Admitting units ID (String)
Accessing a guild that is not authorized apart of your API key
Last updated
Was this helpful?