Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 692 Bytes

admin_app.md

File metadata and controls

28 lines (25 loc) · 692 Bytes

API for the Admin App of Celesta2k19

Login of the Admins

URL: login.php

REQUEST_METHOD: POST

Parameters:

  • email
  • password

Response:

  • permit
  • access_token
  • status : 200(OK) / 204(User not found) / 405(Method not found)
  • message ---- Array of messages
  • position - Position of the user

Checkin Checkout of users

URL: checkin_checkout.php

REQUEST_METHOD: POST

Parameters:

  • access_token
  • celestaid
  • date_time

Response:

  • status: 200(Checked/Checked in)/ 203(Account not verified at desk)/ 404(Celestaid not found)
  • message: Array of messages
  • action: Checkin/Checkout