2020-05-01 19:10:17 +02:00
|
|
|
// TODO: File to be deleted : just temporary documentation of backend API endpoints
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* -------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
Name Method Scheme Host Path
|
|
|
|
-------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
_twig_error_test ANY ANY ANY /_error/{code}.{_format}
|
|
|
|
admin_homepage_get_default GET ANY ANY /admin/
|
|
|
|
admin_homepage_clean_expired_polls GET ANY ANY /admin/polls/clean/{token}
|
|
|
|
api_get_poll_comment GET ANY ANY /polls/{id}/comments
|
|
|
|
api_new_comment POST ANY ANY /polls/{id}/comments
|
|
|
|
api_poll_comments_delete DELETE ANY ANY /polls/{id}/comments
|
|
|
|
user_homepageget_default GET ANY ANY /users/
|
|
|
|
user_homepage_polls_send_by_email GET ANY ANY /users/{email}/polls/send-by-email
|
|
|
|
api_get_all_polls GET ANY ANY /polls/
|
|
|
|
api_get_poll GET ANY ANY /polls/{id}
|
|
|
|
api_update_poll PUT ANY ANY /polls/{id}/{token}
|
|
|
|
api_new_poll POST ANY ANY /polls/
|
|
|
|
api_test-mail-polls GET ANY ANY /polls/mail/test-mail-polls/{emailChoice}
|
|
|
|
api_poll_delete DELETE ANY ANY /polls/{id}
|
|
|
|
api_check_slug_is_unique GET ANY ANY /polls/slugs/{slug}
|
|
|
|
api_get_admin_config GET ANY ANY /polls/admin/{token}
|
|
|
|
api_new_vote_stack POST ANY ANY /polls/{id}/votes
|
|
|
|
api_update_vote_stack PATCH ANY ANY /votes-stacks/{id}/token/{modifierToken}
|
|
|
|
api_poll_votes_delete DELETE ANY ANY /polls/{id}/votes/{accessToken}
|
|
|
|
app.swagger GET ANY ANY /api/doc.json
|
|
|
|
-------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* WANTED CHANGES (seraf)
|
|
|
|
* -------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
Name Method Scheme Host Path
|
|
|
|
-------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
api_get_poll_comment GET ANY ANY /polls/{id}/comment
|
|
|
|
api_delete_poll_comments DELETE ANY ANY /polls/{id}/comment
|
|
|
|
api_user_polls_send_by_email GET ANY ANY /users/{email}/polls/send-by-email
|
|
|
|
api_get_user_polls GET ANY ANY /users/{email}/polls
|
|
|
|
api_get_poll_slug GET ANY ANY /polls/slug/{id}/{token}
|
|
|
|
api_clean_expired_polls GET ANY ANY /admin/clean-polls/{token}
|
|
|
|
|
2020-06-12 19:17:39 +02:00
|
|
|
api_test-mail-polls GET ANY ANY /polls/mail/test-mail-polls/{emailChoice}
|
|
|
|
api_update_vote_stack PATCH ANY ANY /polls/{slug}/answers/{pseudo}/token/{modifierToken}
|
|
|
|
|
2020-05-01 19:10:17 +02:00
|
|
|
-------------------------- -------- -------- ------ ------------------------------------------------
|
|
|
|
*/
|