You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have now introduced custom slugs for monitor lookups (#45166).
We are currently using the monitor_id parameter in the route as way to lookup GUIDs or slugs. All existing monitors have had their guids migrated to the slugs column.
We should consider if we want to completely drop guids.
There is one primary thing holding us back from this:
It is difficult to use slugs in the API endpoint that does not have organization context
POST sentry.io/api/0/monitors/:monitorGuid/checkins/
Since there is no organization in the URL we would NEED to rely on the authorization method to provide the organization.
This would NOT work with session based authorization (theoretically possible if we remember the current org). But would work OK with DNS and organization token level authentication, since those have a direct association to the organization.
The content you are editing has changed. Please copy your edits and refresh the page.
We have now introduced custom slugs for monitor lookups (#45166).
We are currently using the monitor_id parameter in the route as way to lookup GUIDs or slugs. All existing monitors have had their guids migrated to the slugs column.
We should consider if we want to completely drop guids.
There is one primary thing holding us back from this:
It is difficult to use slugs in the API endpoint that does not have organization context
Since there is no organization in the URL we would NEED to rely on the authorization method to provide the organization.
This would NOT work with session based authorization (theoretically possible if we remember the current org). But would work OK with DNS and organization token level authentication, since those have a direct association to the organization.
Tasks
The text was updated successfully, but these errors were encountered: