query

Enrol a serving plugin

Changed on

Issues a short-lived client certificate for a plugin running outside Marmot to connect and serve queries for the named sources. The caller must hold ingestion:serve, and each source must be free or already served by the caller.

post/query/serve/enrol

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-API-Key
    • or API key in header Authorization

Request body

csrstring

Response

OK

addressstring

Address is the host:port to dial; when empty the serving process uses its Marmot host name with Port.

ca_bundlestring
certificatestring
enrolment_idstring
expires_atstring
instance_idstring
portstring
signing_keysstring[]

Changes