This feature is only available in the Enterprise version

Metadata templates

Get metadata template

Return one metadata template and its keys.

GET/data/metadata-templates/{metadata_template_id}

This endpoint returns one metadata template by metadata_template_id, including its keys.

Enterprise authentication

Send these requests to https://api.cloud.blnkfinance.com on Blnk Cloud. On a self-hosted Enterprise deployment, send them to ENTERPRISE_PUBLIC_URL.

Pass an Enterprise API key, or an OAuth access token, in the X-blnk-key header. Create the key in Enterprise API keys, or issue a token with OAuth.

This credential comes from the Cloud or Enterprise workspace. A Core API key belongs to the Core instance.

X-blnk-keystringrequiredheader

Enterprise API key, or an OAuth access token.

Path

metadata_template_idstringrequiredpath

Unique id of the template (metadata_template_...). Get it from List metadata templates or Create metadata template.

Response

metadata_template_idstring

Unique id of the template (metadata_template_...). Use it to get, update, or delete the template.

namestring

Template name. Unique within your organization.

descriptionstring

Note on when to use the template. Empty string when none was set.

keysstring[]

Metadata keys the template adds to a form, in the order you sent them.

org_idstring

Organization the template belongs to. Templates are shared across every instance in the organization.

created_attimestamp

When the template was created.

updated_attimestamp

When the name, description, or keys last changed.