From 6c9905318b5be949f274103ef3792924e1689fd1 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 14 Jun 2021 12:48:46 +0200 Subject: [PATCH] up routes debug --- README.md | 86 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 52 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 43d753d..6a65e46 100755 --- a/README.md +++ b/README.md @@ -2,45 +2,63 @@ REST backend in symfony 5 for Funky framadate frontend. https://framagit.org/framasoft/framadate/funky-framadate-front - ------------------------------------ -------------- -------- ------ ---------------------------------------------------- -Name Method Scheme Host Path - ------------------------------------ -------------- -------- ------ ---------------------------------------------------- -_preview_error 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} -admin_homepage_migrate_framadate GET ANY ANY /admin/polls/migrate -home_sweet_home GET ANY ANY / -admin_homepage_migrate_from_v1 GET ANY ANY /migration-from-v1/{unique_key} -user_homepageget_default GET ANY ANY /user/ -user_homepage_polls_send_by_email GET ANY ANY /user/{email}/polls/send-by-email -poll_index GET ANY ANY /poll/ -poll_new GET|POST ANY ANY /poll/new -poll_show GET ANY ANY /poll/{id} -poll_edit GET|POST ANY ANY /poll/{id}/edit -poll_delete DELETE ANY ANY /poll/{id} -api_get_poll_comment GET ANY ANY /api/v1/comment/poll/{id}/comments -api_new_comment POST ANY ANY /api/v1/comment/poll/{id}/comment -api_poll_comments_delete DELETE ANY ANY /api/v1/comment/poll/{id}/comments -api_get_all_polls GET ANY ANY /api/v1/poll/ -api_get_poll GET ANY ANY /api/v1/poll/{customUrl} -api_get_protected_poll GET ANY ANY /api/v1/poll/{customUrl}/pass/{md5} -api_get_admin_poll GET ANY ANY /api/v1/polladmin/{admin_key} -api_update_poll PUT ANY ANY /api/v1/poll/{customUrl}/{token} -api_new_poll POST ANY ANY /api/v1/poll/ -api_test-mail-poll GET ANY ANY /api/v1/poll/mail/test-mail-poll/{emailChoice} -api_poll_delete DELETE ANY ANY /api/v1/poll/{customUrl} -api_check_slug_is_unique GET ANY ANY /api/v1/poll/slug/{customUrl} -api_get_admin_config GET ANY ANY /api/v1/poll/admin/{token} -api_new_vote_stack POST|OPTIONS ANY ANY /api/v1/vote/poll/{custom_url}/answer -api_update_vote_stack PATCH ANY ANY /api/v1/vote/vote-stack/{id}/token/{modifierToken} -api_poll_votes_delete DELETE ANY ANY /api/v1/vote/poll/{id}/votes/{accessToken} - ------------------------------------ -------------- -------- ------ ---------------------------------------------------- + +------------------------------------ --------------- -------- ------ -------------------------------------------------- + Name Method Scheme Host Path + ------------------------------------ --------------- -------- ------ -------------------------------------------------- + _preview_error ANY ANY ANY /_error/{code}.{_format} + _wdt ANY ANY ANY /_wdt/{token} + _profiler_home ANY ANY ANY /_profiler/ + _profiler_search ANY ANY ANY /_profiler/search + _profiler_search_bar ANY ANY ANY /_profiler/search_bar + _profiler_phpinfo ANY ANY ANY /_profiler/phpinfo + _profiler_search_results ANY ANY ANY /_profiler/{token}/search/results + _profiler_open_file ANY ANY ANY /_profiler/open + _profiler ANY ANY ANY /_profiler/{token} + _profiler_router ANY ANY ANY /_profiler/{token}/router + _profiler_exception ANY ANY ANY /_profiler/{token}/exception + _profiler_exception_css ANY ANY ANY /_profiler/{token}/exception.css + admin_homepage_get_default GET ANY ANY /admin/ + admin_homepage_clean_expired_polls GET ANY ANY /admin/polls/clean/{token} + admin_homepage_migrate_framadate GET ANY ANY /admin/polls/migrate + home_sweet_home GET ANY ANY / + admin_homepage_migrate_from_v1 GET ANY ANY /migration-from-v1/{unique_key} + user_homepageget_default GET ANY ANY /user/ + user_homepage_polls_send_by_email GET ANY ANY /user/{email}/polls/send-by-email + poll_index GET ANY ANY /poll/ + poll_new GET|POST ANY ANY /poll/new + poll_show GET ANY ANY /poll/{id} + poll_edit GET|POST ANY ANY /poll/{id}/edit + poll_delete DELETE ANY ANY /poll/{id} + api_get_poll_comment GET ANY ANY /api/v1/comment/poll/{id}/comments + api_new_comment POST ANY ANY /api/v1/comment/poll/{id}/comment + api_poll_comments_delete DELETE ANY ANY /api/v1/comment/poll/{id}/comments + api_get_all_polls GET ANY ANY /api/v1/poll/ + api_get_poll GET ANY ANY /api/v1/poll/{customUrl} + api_get_owner_poll GET ANY ANY /api/v1/poll/owner/{owner_email}/ + api_get_protected_poll GET ANY ANY /api/v1/poll/{customUrl}/pass/{md5} + api_get_admin_poll GET ANY ANY /api/v1/polladmin/{admin_key} + api_update_poll PUT ANY ANY /api/v1/poll/{customUrl}/update/{token} + api_new_poll POST ANY ANY /api/v1/poll/ + api_test-mail-poll GET ANY ANY /api/v1/poll/mail/test-mail-poll/{emailChoice} + api_poll_delete DELETE ANY ANY /api/v1/poll/{admin_key} + api_check_slug_is_unique GET ANY ANY /api/v1/poll/slug/{customUrl} + api_get_admin_config GET ANY ANY /api/v1/poll/admin/{token} + api_clean_expired_polls GET ANY ANY /api/v1/poll/admin/clean_expired_polls/{token} + api_new_vote_stack POST|OPTIONS ANY ANY /api/v1/vote-stack/ + api_update_vote_stack PATCH|OPTIONS ANY ANY /api/v1/vote-stack/{id}/token/{modifierToken} + api_delete_vote_stack DELETE ANY ANY /api/v1/vote-stack/{id}/token/{modifierToken} + api_poll_votes_delete DELETE ANY ANY /api/v1/vote-stack/poll/{id}/votes/{accessToken} + app.swagger GET ANY ANY /api/doc.json + ------------------------------------ --------------- -------- ------ -------------------------------------------------- + ## TODO: +https://framagit.org/tykayn/date-poll-api/-/boards * coordinate properties and paths to be more restful. -return stack of votes when we want to get the configuration of one poll (see [doc/examples.md](doc/examples.md)) +see [doc/examples.md](doc/examples.md) *** ### Requirements