BizKitHub
getPostVeřejné API v1

/api/v1/post/meta

Returns the key/value metadata bag attached to a post via /api/v1/post/create.

Useful for external integrations (e.g. ChatSPC) that store provenance — sukl_code, version_date, pdf_sha256, page_count, suspicious_pages, ingested_at, … — alongside the post and need to read it back without owning their own database. Posts with no metadata return an empty metadata object (not an error).

postgetApiV1PostMeta

Parametry

2 v query

Parametry v query

· 2
apiKeystringPovinné

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PříkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
idstringPovinné

Post public id (content__post.external_id).

Příklad6IU2SWgP76FO2UXw

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
object | object
Jedna z 2 možností:
Varianta 1
postIdstringPovinné

Echo of the post external id.

metadataanyPovinné

Free-form key/value bag, keyed by string and valued by string. Clients parse numbers/booleans/dates as needed.

Varianta 2
state"error"Povinné
messagestringPovinné
code"200"Povinné
hintstring | nullPovinné

Ukázka odpovědi

application/json
{
  "postId": "example_postId"
}

Ukázka požadavku

GET /api/v1/post/meta

get
curl -X GET "https://api.bizkithub.com/api/v1/post/meta?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&id=6IU2SWgP76FO2UXw" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč