Extensions
Get a publisher
Have a token? Manage tokens in the console
GET
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.
bearerheader
AuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
publisher*stringThe publisher's namespace: inorbit, acme.
account_id?stringThe account looking: empty is the caller's own.
iohr.extensions.v1.GetPublisherResponse
application/json- response
iohr.extensions.v1.GetPublisherResponse
listings*integerFormat
int32publisher?iohr.extensions.v1.Publisher
SDK
HTTP
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})`); process.exitCode = 1;}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.
Example Response
{ "listings": 0, "publisher": { "account_id": "string", "created_at": "string", "display_name": "string", "domain": "string", "first_party": true, "namespace": "string" }}