Skip to content

Instantly share code, notes, and snippets.

@tryadelion
Forked from W0MP3R/apiURL.txt
Created July 13, 2017 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tryadelion/22776844850c0f6d3be63313227d43a4 to your computer and use it in GitHub Desktop.
Save tryadelion/22776844850c0f6d3be63313227d43a4 to your computer and use it in GitHub Desktop.
URL API ReenactAPP (draft)
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