Docs
Have a token? Manage tokens in the console
GET
/v1/radar/digests/{id}

One published digest by id.

Needs scope radar: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

id*string

The digest's id, from List digests.

Formatint64

Response Body

iohr.radar.v1.GetDigestResponse

application/json
  1. response

iohr.radar.v1.GetDigestResponse

digest?

iohr.radar.v1.Digest

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.radar.getDigest("<id>");  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.

{  "digest": {    "ai_written": true,    "changed": "string",    "changes": [      {        "advanced": "string",        "after": "string",        "area": "string",        "example": {          "source": "string",          "stderr": "string",          "stdout": "string",          "stub": true,          "tests": "string",          "toolchain": "string"        },        "impact": "IMPACT_UNSPECIFIED",        "novice": "string",        "practitioner": "string",        "production_impact": "string",        "title": "string",        "try_it": "string",        "url": "string",        "what": "string"      }    ],    "checked": true,    "created_at": "string",    "drill": "string",    "drill_code": {      "output": "string",      "solution": "string",      "starter": "string",      "stub": true,      "tests": "string",      "toolchain": "string"    },    "id": "string",    "item_count": 0,    "lang": "string",    "language": "string",    "model": "string",    "origin": "string",    "published_at": "string",    "script": "string",    "status": "string",    "stub": true,    "summary": "string",    "week": "string",    "why": "string"  }}