channel-ingress

Approve an ingress declaration

Changed on

Records the guardian's approval of the declaration identified by the body's digest, after which the gateway serves its routes. Returns 409 when the digest is not what the source currently declares, and 404 when it declares nothing servable.

post/v1/channel-ingress/{source}/approve

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/channel-ingress/{source}/approve
  • Auth
    none declared

Path parameters

sourcestring required

The declaring ingress source (today, a plugin name)

Request body

digeststring required

Response

Successful response

sourcestring required
digeststring required
approvedAtnumber required

Changes