space.highport.manage.validate
Validate a site or tile record before writing it and, for an authorized caller, prepare bard to serve it. Returns the AT-URI and CID the record will have, and the canonical record to write with putRecord at that key.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | manage.highport.space |
| Indexed |
Procedure
procedure · POSTInput
application/jsondryRun
booleanValidate only, without preparing.
A space.highport.sites.site or space.highport.sites.tile record, including $type.
rkey
stringRequired for a site (the hostname). For a tile: an existing rkey for a new version, a TID the client chose, or absent to let 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. Write it exactly as returned.
state
reftotalBytes
integeruri
string · at-uriErrors
InvalidRecordKey
A site without an rkey, or an rkey that is not a canonical hostname or valid TID.
TileNotReady
The bound tile is still 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.