feat
BREAKING
task/url-fields-in-list-read-responses
#1 / 1
feat: add url field to mist, issue, and proposal list/read responses
Every MistListEntry, MistResponse, IssueResponse, and ProposalResponse now includes a canonical url field constructed server-side from the request's base URL. Callers no longer need to manually construct URLs from owner + object ID.
- MistListEntry: url = {base_url}/{owner}/mists/{mist_id} - MistResponse: already had url; list entries now populated too - IssueResponse: url = {base_url}/{owner}/{slug}/issues/{number} - ProposalResponse: url = {base_url}/{owner}/{slug}/proposals/{proposal_id} - ProposalListEntry: url field added (used by UI list views)
URL uses the hub base URL the request arrived on, so localhost, staging, and prod all produce correct self-referencing URLs.
sha256:3707eba7ad42cadedf18c8b9c534d839b88cfd1c30924c3c5a3edc74e1d809de
sha
~18
symbols
8 changed · 970 in snapshot
files
sha256:739191cca941e5642d572a16a08c483020ce657a31d494e0877131123ace0d0c
snapshot
~18
symbols modified
8
files changed
970
files in snapshot
0
dead code introduced
Semantic Changes
18 symbols
Files Changed
~8
970 in snapshot
~8
970 in snapshot
← Older
Oldest on task/url-fields-in-list-read-responses
All commits
Newer →
Latest on task/url-fields-in-list-read-responses
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3707eba7ad42cadedf18c8b9c534d839b88cfd1c30924c3c5a3edc74e1d809de --body "your comment"
No comments yet. Be the first to start the discussion.