Last active
July 18, 2017 19:27
-
-
Save W0MP3R/3992fcf0391fddd9f1b6529ad46e56cb to your computer and use it in GitHub Desktop.
URL API ReenactAPP (draft)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET EVENT TYPE BY LANG | |
../getEventTypeByLang.php?lang=en | |
GET EVENT BY PREFERENCES | |
../getEventsByPreferences.php?ages=[4,8]&countries=['ES','FR']&uname='hibob' | |
GET EVENT BYR PREFERENCES ORDER BY DATE | |
../getEventsByDate.php?ages=[4,8]&countries=['ES','FR']&uname='hibob' | |
GET LIST OF USERS BY EVENT | |
../getUsersByEvents.php?event=1 | |
GET USER DATA | |
../getUsersData.php?user=1 (only one user) | |
../getUsersData.php (all users) | |
GET ID BY USERNAME | |
../getUserIdByName.php?userName='hibob' | |
ADD USER TO EVENT | |
../action.php?accio=add_user_event&user=1&event=3 | |
DROP USER FROM EVENT | |
../action.php?accio=drop_user_event&user=1&event=3 | |
ADD USER TO REENACTMENT GROUP | |
../action.php?accio=add_group_member&user=1&group=1 | |
DROP USER FROM REENACTMENT GROUP | |
../action.php?accio=drop_group_member&user=1&group=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment