Kind Field Assignments

Assign a field definition to an entity kind

Entities of the kind can then carry a value for the field. A required field must be supplied when an entity of the kind is created. Assigning a field the kind already has returns 422.

post/api/rest/v1/kind-field-assignments

Request

  • Base URL: https://app.componecat.ai
  • URL: https://app.componecat.ai/api/rest/v1/kind-field-assignments
  • Auth: none required

Request body

kindIdstring uuid required

ID of the entity kind definition.

fieldIdstring uuid required

ID of the field definition to assign.

requiredboolean

Whether entities of the kind must supply a value for the field when created. Defaults to false.

categorystring nullable

Grouping category for the field on this kind (max 250 characters).

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.