Custom Fields

Get Custom Field Usage

Changed on

Requires role: Admin

get/custom-fields/definitions/by-id/{id}/usage

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/custom-fields/definitions/by-id/{id}/usage
  • Auth
    HTTP bearer

Response

Answer counts. total is the number of saved answers; by_option maps each option to its count: the option id for scored select, the option text for select and multiselect (a multiselect record counts once per option it holds); empty for other types.

totalinteger
by_optionobject

Changes