MCPcopy
hub / github.com/openai/plugins / handle_event_detail

Function handle_event_detail

plugins/sentry/skills/sentry/scripts/sentry_api.py:158–166  ·  view source on GitHub ↗
(args, token, base_url)

Source from the content-addressed store, hash-verified

156
157
158def handle_event_detail(args, token, base_url):
159 require_org_project(args.org, args.project)
160 path = f"/api/0/projects/{args.org}/{args.project}/events/{args.event_id}/"
161 url = build_url(base_url, path)
162 data, _ = request_json(url, token)
163 if data and not args.include_entries:
164 data = dict(data)
165 data.pop("entries", None)
166 return data
167
168
169def build_parser():

Callers 1

mainFunction · 0.85

Calls 3

require_org_projectFunction · 0.85
build_urlFunction · 0.85
request_jsonFunction · 0.70

Tested by

no test coverage detected