-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
User Feedback route should work using both project ID and Project Name #26331
Comments
Possibly related: #26208. |
Routing to @getsentry/ecosystem for triage. ⏲️ |
Routing to @getsentry/workflow for triage. ⏲️ |
Using org/project slug is standard across our api, we're not likely to change this. |
Closing per @wedamija's answer. |
This falls into team-ingest territory. We've been aware of this problem for a while, and as a solution to this and other unrelated problems we now also have a way to submit user feedback as part of an envelope: https://develop.sentry.dev/sdk/envelopes/#user-feedback This could probably be documented better but the point of envelopes here is that the auth/dsn/project information is sent in a unified format, there is one endpoint that can take arbitrarily many items and as a result you save on HTTP requests. Let me know if that works for you, I'll reopen this for now. |
Hey untitaker, thanks for the response. I can definitely work with the user-feedback envelope! |
Summary
In the User Feedback documentation, the URL for submitting user feedback to requires specifying the project and organisation names rather than using the organisation ID and the project ID.
Motivation
This means that any application wanting to send user feedback associated with an event must provide an extra endpoint; one taht names the organisation and the project to which it pertains. If the user feedback route was of the form
https://sentry.io.api/0/projects/{organization_id}/{project_id}/user-feedback/
, an SDK developer would be able to form theuser-feedback
URL from the DSN, rather than requiring the application developer to provide a DSN and a user feedback url.Additional Context
N/A
The text was updated successfully, but these errors were encountered: