Docs
Have a token? Manage tokens in the console
GET
/v1/extensions/{publisher}

A publisher's namespace, name, proved domain and whether it is InOrbit, with how many of its listings the account may see.

Needs scope extensions:read.

Authorization

bearer
headerAuthorizationBearer <token>

An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (docs.inorbit.hr). The gateway verifies it; the audience is iohr-api.

Path Parameters

publisher*string

The publisher's namespace: inorbit, acme.

Query Parameters

account_id?string

The account looking: empty is the caller's own.

Response Body

iohr.extensions.v1.GetPublisherResponse

application/json
  1. response

iohr.extensions.v1.GetPublisherResponse

listings*integer
Formatint32
publisher?

iohr.extensions.v1.Publisher

import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  const { value } = await api.extensions.getPublisher("<publisher>");  console.log(value);} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}

npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.

{  "listings": 0,  "publisher": {    "account_id": "string",    "created_at": "string",    "display_name": "string",    "domain": "string",    "first_party": true,    "namespace": "string"  }}