Context
Wire the CLI command to the new bulk code mappings API endpoint and display results to the user.
What
- POST to
/api/0/organizations/{org}/code-mappings/bulk/ with the assembled payload
- Handle HTTP responses:
- 200: all mappings succeeded — display summary (X created, Y updated)
- 207: partial failure — display per-mapping results, highlight errors
- 400: validation error — display error details
- 404: project/repo not found — display actionable error message
- 403/401: permission denied — suggest checking auth token scopes
- Display a summary table of results (created/updated/error counts)
- Exit with non-zero code if any errors occurred
Repo
This is in the sentry-cli repository.
Depends on
- Backend bulk endpoint (GRADLE-75) must be deployed first
Context
Wire the CLI command to the new bulk code mappings API endpoint and display results to the user.
What
/api/0/organizations/{org}/code-mappings/bulk/with the assembled payloadRepo
This is in the sentry-cli repository.
Depends on