Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ pnpm-lock.yaml @getsentry/owners-js-de
/src/sentry/api/endpoints/organization_events_stats.py @getsentry/data-browsing
/src/sentry/api/endpoints/organization_events_timeseries.py @getsentry/data-browsing
/src/sentry/api/endpoints/organization_measurements_meta.py @getsentry/data-browsing
src/sentry/api/endpoints/organization_attribute_mappings.py @getsentry/data-browsing

/tests/snuba/api/endpoints/* @getsentry/data-browsing
/tests/snuba/api/endpoints/test_organization_tags.py @getsentry/data-browsing
Expand All @@ -225,6 +226,7 @@ pnpm-lock.yaml @getsentry/owners-js-de
/tests/sentry/api/endpoints/test_organization_events_trends_v2.py @getsentry/data-browsing
/tests/snuba/api/endpoints/test_organization_events_vitals.py @getsentry/data-browsing
/tests/snuba/api/endpoints/test_organization_tagkey_values.py @getsentry/data-browsing
tests/sentry/api/endpoints/test_organization_attribute_mappings.py @getsentry/data-browsing

/src/sentry/api/serializers/snuba.py @getsentry/data-browsing

Expand Down
6 changes: 6 additions & 0 deletions src/sentry/api/endpoints/organization_attribute_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ class AttributeMappingResponse(TypedDict):
searchType: str


# The role of this endpoint is to provide a list of attributes that include their
# mappings from internal name to public alias and search type. This is used to make the
# connection between internal names in the Sentry Conventions to their public aliases and
# search types.


@region_silo_endpoint
class OrganizationAttributeMappingsEndpoint(OrganizationEndpoint):
publish_status = {
Expand Down
Loading