Menu

Custom fields

1 endpoint in the Mattering QR API. Service tier only.

GET v1/custom-fields/usage/ Service tier

GET /api/internal/v1/custom-fields/usage/ (X-Internal-Secret + X-Internal-Org-Id).

``{"ok": true, "usage": {"<platform definition public_id>": {"places": [{"label", "kind", "value_count"}], "value_count"}}}``.

URL

  • Service tierhttps://qr.mattering.io/api/internal/v1/custom-fields/usage/

Responses

200 bare JSON object (no envelope)

{
  "ok": true,
  "usage": {}
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
400bad_org
400no_org
401unauthorized
405method_not_allowed

Example

curl -X GET "https://qr.mattering.io/api/internal/v1/custom-fields/usage/" \
  -H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \
  -H "X-Internal-Org-Id: $ORG_ID" \
  -H "X-Internal-User-Email: you@example.com"

Source: QRCore/cf_views.py (cf_views.internal_usage)

All QR resources
Start Free Explore our Products