Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

walk and log chi routes #3610

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jan 19, 2023

This allows at least some insight into the handled http routes:

2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/sharees service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=OPTIONS middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/pending/{shareid}/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=DELETE middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/pending/{shareid}/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/remote_shares/ service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/remote_shares/{shareid} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=PUT middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/{shareid} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=DELETE middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/{shareid} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/shares/{shareid} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/tokeninfo/protected/{tkn} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/files_sharing/api/v1/tokeninfo/unprotected/{tkn} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/apps/notifications/api/v1/notifications service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/cloud/capabilities service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/cloud/user service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/cloud/users/{userid} service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/cloud/users/{userid}/groups service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=1 pkg=rhttp route=/v{version:(1|2)}.php/config service=ocs
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=0 pkg=rhttp route=/list service=approvider
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=0 pkg=rhttp route=/new service=approvider
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=0 pkg=rhttp route=/open service=approvider
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=0 pkg=rhttp route=/open-with-web service=approvider
2023-01-19T14:20:40Z DBG serving endpoint method=CONNECT middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=GET middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=POST middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=HEAD middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=PUT middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=TRACE middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=OPTIONS middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=PATCH middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav
2023-01-19T14:20:40Z DBG serving endpoint method=DELETE middlewares=6 name=com.owncloud.web.ocdav route=/* service=ocdav

related owncloud/ocis#5428

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic requested review from C0rby and micbar January 19, 2023 14:22
@butonic butonic self-assigned this Jan 19, 2023
@butonic butonic added the feature New feature label Jan 19, 2023
@butonic butonic merged commit 0cde0a3 into cs3org:edge Jan 24, 2023
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants