Owner Check

Verify whether the supplied X-Owner-Token or X-Manage-Key owns the publication on a host

Changed on

200 {isOwner:false} alike for unknown, retired, hidden and not-owned hosts; an owner gets {isOwner:true, type, namespace, id}.

get/api/hosts/{host}/owner-check

Request

  • Base URL
    https://brewpage.app
  • Auth
    • none
    • or API key in header X-Owner-Token
    • or API key in header X-Manage-Key

Path parameters

host, string required

Headers

X-Owner-Token, unknown

Owner token to verify

X-Manage-Key, unknown

Management key to verify

Response

OK

HostOwnerCheckResponse required
type, string

Resource type (html, kv, json, file, site); owners only

namespace, string

Publication namespace; owners only

id, string

Publication id; owners only

isOwner, boolean required

Changes