Field Groups
21 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List field groups for the current organization#
/field-groupsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceId | Query | string | – |
search | Query | string | – |
is_deleted | Query | string | – |
Antworten
- 200Field groups returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a field group#
/field-groupsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Ignored — org comes from auth token |
namePflicht | string | |
description | object | – |
name_i18n | object | – |
description_i18n | object | – |
sort_order | number | – |
is_collapsed_default | boolean | – |
color | object | |
icon | object | – |
space_id | object | Optional space id; when omitted, the group is org-level. |
Antworten
- 201Field group created
curl -X POST "https://xapi.ambertech.cloud/api/v1/field-groups" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"General Information"}'Get a field group by id (with fields embedded)#
/field-groups/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
includeFieldsPflicht | Query | string | – |
spaceIdPflicht | Query | string | – |
Antworten
- 200Field group returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update a field group#
/field-groups/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Ignored — org comes from auth token |
name | string | – |
description | object | – |
name_i18n | object | – |
description_i18n | object | – |
sort_order | number | – |
is_collapsed_default | boolean | – |
color | object | – |
icon | object | – |
Antworten
- 200Field group updated
curl -X PUT "https://xapi.ambertech.cloud/api/v1/field-groups/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationId":"…","name":"…","description":{}}'Action dispatcher: restore | permanent_delete | duplicate#
/field-groups/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
actionPflicht | string | Werte: |
newName | string | New group name for duplicate. |
organizationId | string | – |
copyFields | boolean | When action=duplicate, copy field memberships. |
Antworten
- 200Action applied
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/field-groups/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"action":"restore"}'Soft delete a field group (cascades assignments)#
/field-groups/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200Field group soft-deleted
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/field-groups/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"List fields belonging to a field group#
/field-groups/{id}/fieldsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200Fields returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/fields" \
-H "Authorization: Bearer $XISUITE_TOKEN"Add field(s) to a group — accepts a single entry or a batch#
/field-groups/{id}/fieldsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
Keine Felder dokumentiert.
Antworten
- 201Field(s) added
curl -X POST "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/fields" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Update per-field settings OR reorder fields (when body has `reorder: true`)#
/field-groups/{id}/fieldsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200Update applied
curl -X PUT "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/fields" \
-H "Authorization: Bearer $XISUITE_TOKEN"Remove a field from a group#
/field-groups/{id}/fieldsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
custom_field_idPflicht | Query | any | – |
Antworten
- 200Field removed from group
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/fields" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get permissions for a level-field-group assignment. NOTE: `:id` is the ASSIGNMENT id, not the group id.#
/field-groups/{id}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | Assignment id |
Antworten
- 200Permissions returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN"Replace permissions for a level-field-group assignment. NOTE: `:id` is the ASSIGNMENT id.#
/field-groups/{id}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | Assignment id |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
permissionsPflicht | AssignmentPermissionDto[] | – |
permissions[].target_typePflicht | string | Werte: |
permissions[].user_id | object | – |
permissions[].role_id | object | – |
permissions[].group_id | object | – |
permissions[].base_role | string | Werte: |
permissions[].can_viewPflicht | boolean | – |
permissions[].can_editPflicht | boolean | – |
Antworten
- 200Permissions replaced
curl -X PUT "https://xapi.ambertech.cloud/api/v1/field-groups/{id}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"permissions":[]}'Get the full field configuration for a hierarchy level#
/field-groups/for-levelTokenReturns groups + standalone fields assigned to a level, optionally grouped by UI section.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
hierarchyLevelIdPflicht | Query | string | – |
entityTypePflicht | Query | string | – |
bySection | Query | string | – |
spaceId | Query | string | UUID of space — returns org-level + space-specific groups/fields |
organizationId | Query | any | Accepted for compatibility; org comes from auth token |
Antworten
- 200Level fields configuration
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/for-level" \
-H "Authorization: Bearer $XISUITE_TOKEN"List level assignments (groups and/or fields)#
/field-groups/level-assignmentsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
hierarchyLevelIdPflicht | Query | string | – |
entityTypePflicht | Query | string | – |
type | Query | string | Werte: |
spaceIdPflicht | Query | string | – |
Antworten
- 200Assignments returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/level-assignments" \
-H "Authorization: Bearer $XISUITE_TOKEN"Assign a field group or standalone field to a hierarchy level#
/field-groups/level-assignmentsTokenRequest-Body
Keine Felder dokumentiert.
Antworten
- 201Assignment created
curl -X POST "https://xapi.ambertech.cloud/api/v1/field-groups/level-assignments" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Remove a group or field assignment from a level#
/field-groups/level-assignmentsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Ignored — org comes from auth token |
typePflicht | string | Werte: |
hierarchy_level_idPflicht | string | – |
entity_typePflicht | string | Werte: |
field_group_id | string | Required when type=group. |
custom_field_id | string | Required when type=field. |
Antworten
- 200Assignment removed
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/field-groups/level-assignments" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"type":"group","hierarchy_level_id":"…","entity_type":"process"}'Bulk reorder field groups#
/field-groups/reorderTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
itemsPflicht | ReorderItemDto[] | – |
Antworten
- 200Field groups reordered
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/field-groups/reorder" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"items":[]}'List wiki field assignments for a space#
/field-groups/wiki-assignmentsTokenReturns group and standalone-field assignments for the wiki of the given space, each embedding its field group (with member fields) or custom-field definition.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
space_idPflicht | Query | string | Space UUID |
Antworten
- 200Assignments returned
curl -X GET "https://xapi.ambertech.cloud/api/v1/field-groups/wiki-assignments" \
-H "Authorization: Bearer $XISUITE_TOKEN"Assign a field group or standalone field to a space's wiki#
/field-groups/wiki-assignmentsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Ignored — org comes from auth token |
space_idPflicht | string | Space the wiki assignment belongs to |
assignment_typePflicht | string | Werte: |
field_group_id | string | Required when assignment_type=group |
custom_field_id | string | Required when assignment_type=field |
section | string | Werte: |
sort_order | number | – |
is_required | boolean | – |
is_hidden | boolean | – |
column_span | number | – |
is_collapsed_default | boolean | – |
show_in_header | boolean | – |
Antworten
- 201Assignment created
- 409Assignment already exists
curl -X POST "https://xapi.ambertech.cloud/api/v1/field-groups/wiki-assignments" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"space_id":"…","assignment_type":"group"}'Update layout/behaviour flags of a wiki field assignment#
/field-groups/wiki-assignments/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | Assignment id |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Ignored — org comes from auth token |
section | string | Werte: |
sort_order | number | – |
is_required | boolean | – |
is_hidden | boolean | – |
column_span | number | – |
is_collapsed_default | boolean | – |
show_in_header | boolean | – |
Antworten
- 200Assignment updated
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/field-groups/wiki-assignments/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationId":"…","section":"header","sort_order":0}'Remove a wiki field assignment#
/field-groups/wiki-assignments/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | Assignment id |
Antworten
- 200Assignment removed
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/field-groups/wiki-assignments/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"