Add read-only endpoints #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan 7: Add read-only endpoints
Prerequisites
Plan 6a (type rename) is nice-to-have before this. Plans 6b–6e are NOT required —
all endpoints here are GET with no unusual constraints.
Endpoints to add (api.yaml only, no code changes needed)
logout
Note: needs Plan 5 (auth-required: false) to work correctly via the generic
dispatcher. Until then it can be added but will attempt cookie auth first.
query-contact-list
Params: pattern (string), from (int), to (int), tld (string),
extended-format (bool)
query-whois
Params: domain (string), contact (string), host (string)
Note: exactly one must be set — see Plan 6d for proper validation.
Until 6d lands, document the constraint in help text.
query-price-list
No params. Returns tab-separated pricing data (Columns header present).
result-list
Params: pending (bool), showall (bool), period (int), date (string),
offset (int), limit (int), status (string), count-only (bool),
rtype (string), objid (string), procid (string),
svtrid (string), cltrid (string)
result-retrieve
Params: svtrid (string, required)
result-delete
Params: svtrid (string, required)
Note: semantically a write but uses GET per the Joker spec.
domain-get-property
Params: domain (string, required), property (string, required)
grants-list
Params: domain (string, required)
dns-zone-list
No params.
dns-zone-get
Params: domain (string, required)
After adding
Run
go generate ./...and commitapi.yaml+api.gotogether.AI attribution comment added per repository instruction for this open issue.\n\n(co)authored by ai:gpt-5-codex