Skip to content

fix(api): enable JSON API audit responses - #513

Draft
ralph-bitgo[bot] wants to merge 1 commit into
masterfrom
fix/tw-433-json-api-media-type
Draft

fix(api): enable JSON API audit responses#513
ralph-bitgo[bot] wants to merge 1 commit into
masterfrom
fix/tw-433-json-api-media-type

Conversation

@ralph-bitgo

@ralph-bitgo ralph-bitgo Bot commented Aug 24, 2026

Copy link
Copy Markdown

What

  • Add application/vnd.api+json to the /api/v2/auditlog 200 response in the published API reference.
  • Reuse the existing ListAuditLogsResponse schema for the vendor media type.

Why

  • The audit-log endpoint follows JSON:API conventions, so the Dev Portal must advertise its supported JSON:API media type for consumers to discover and use it correctly.

Test plan

  • Run git diff --check.
  • Run node --test (not available in the execution environment: node is not installed).
  • Verify the OpenAPI response block and schema reference by inspection.

Ticket: TW-433

Advertise application/vnd.api+json alongside application/json for the audit log list response in the Developer Portal API reference. This lets consumers of the JSON:API audit-log endpoint discover the supported media type from the published specification.

Ticket: TW-433
Session-Id: 533e6538-9401-4740-9385-d1dfa81a05ff
Task-Id: 05bb9395-b3ca-4cd3-85bd-d8a900ae9751
@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

TW-433

@bitgo-ai-agent-dev
bitgo-ai-agent-dev Bot force-pushed the fix/tw-433-json-api-media-type branch from c962809 to 3bf0978 Compare August 24, 2026 14:47
@ralph-bitgo
ralph-bitgo Bot force-pushed the fix/tw-433-json-api-media-type branch from 3bf0978 to 5612580 Compare August 24, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant