Used to get the API Version
URL : /api/v1/
Method : POST
Auth required : NO
Data constraints
{
"date": "[timestring]",
"explanation": "[password in plain text]",
"unit": "[ ]"
"data": "[Returned type: string]"
}
Data example
{
"data": "1.0",
"date": "2017-12-29 22:38",
"explanation": "Gerneral Information: API Version v1.0",
"unit": "None"
}
Code : 200 OK
Content example
{
"data": "1.0",
"date": "2017-12-29 22:38",
"explanation": "Gerneral Information: API Version v1.0",
"unit": "None"
}
Condition : TODO
Code : 400 BAD REQUEST
Content :
{
"non_field_errors": [
"TODO"
]
}