space.highport.manage.validate
Validate a site or tile record before writing it, and — for an authorized caller — prepare bard for it. Returns the AT-URI the record will have, the CID it will have, and the canonical record to submit with putRecord at that key.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | manage.highport.space |
| Indexed |
Showing version bafyreicde37d6dtejczxjhpmzvykgqrk4aqfw75hzcmwynnqcm6vjwsxya. Show the latest
Procedure
procedure · POSTInput
application/jsondryRun
booleanValidate only; never prepare.
A space.highport.sites.site or space.highport.sites.tile record, with $type.
rkey
stringRequired for a site (the hostname). For a tile: an existing rkey for a new version, a TID the client holds, or absent to have bard mint one.
space
string · at-uriValidate as a record in this space; the caller must be its authority.
Output
application/jsoncid
string · cidentryCount
integerexpiresAt
string · datetimereason
stringknownValues: DomainNotVerified | TileAuthorNotPermitted | PreparedQuotaExceeded | SpacePreparationUnsupported | DryRun
record
unknownThe record as bard will serialize it; submit it verbatim.
state
reftotalBytes
integeruri
string · at-uriErrors
InvalidRecordKey
A site validation without rkey, or an rkey that is not a canonical hostname / valid TID.
TileNotReady
The bound tile is known only as pending-publication and cannot be bound yet.
SpaceNotFound
Bard is not connected to that space.
NotSpaceAuthority
Only the space's authority may publish in it.
RateLimitExceeded
Too many preparations this hour.