Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 9 additions & 0 deletions src/sentry/api/endpoints/organization_attribute_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ class AttributeMappingResponse(TypedDict):

@region_silo_endpoint
class OrganizationAttributeMappingsEndpoint(OrganizationEndpoint):
"""
Return a static list of attributes and their mappings to public aliases and search types.

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.
"""

publish_status = {
"GET": ApiPublishStatus.EXPERIMENTAL,
}
Expand Down
Loading