Skip to content

Return record UID from record-add with self-destruct and add --format…#2198

Merged
amangalampalli-ks merged 1 commit into
fix/record-add-format-jsonfrom
fix/record-add-format-json-int
Jul 14, 2026
Merged

Return record UID from record-add with self-destruct and add --format…#2198
amangalampalli-ks merged 1 commit into
fix/record-add-format-jsonfrom
fix/record-add-format-json-int

Conversation

@amangalampalli-ks

Copy link
Copy Markdown
Contributor

Summary

  • record-add --self-destruct previously returned only the share URL.
  • This change returns the record UID alongside the share URL and adds structured JSON output for automation and Service Mode.

Changes

  • Self-destruct record-add now prints record UID on the first line and share URL on the second (default text output).
  • Added --format=json to record-add for structured responses in all success cases.
  • Service Mode auto-uses JSON format for record-add commands.
  • Onboarding API now returns both record_uid and share_url.
  • Updated response parsing and unit tests.

@amangalampalli-ks amangalampalli-ks self-assigned this Jul 8, 2026
@amangalampalli-ks
amangalampalli-ks marked this pull request as ready for review July 8, 2026 11:04
@amangalampalli-ks
amangalampalli-ks force-pushed the fix/record-add-format-json-int branch from e4048bb to a219726 Compare July 14, 2026 15:00
@amangalampalli-ks
amangalampalli-ks merged commit 34af947 into fix/record-add-format-json Jul 14, 2026
4 checks passed
@adeshmukh-ks
adeshmukh-ks deleted the fix/record-add-format-json-int branch July 16, 2026 04:42
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.

3 participants