Skip to content

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

Open
amangalampalli-ks wants to merge 1 commit into
fix/record-add-format-jsonfrom
fix/record-add-format-json-int
Open

Return record UID from record-add with self-destruct and add --format…#2198
amangalampalli-ks wants to merge 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
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