Saved Filters
17 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List accessible filters#
/filtersTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
search | Query | string | – |
visibility | Query | string | – |
is_favorite | Query | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a saved filter#
/filtersTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
namePflicht | string | Filter name |
description | object | – |
queryPflicht | object | Query rule group { combinator, rules } |
source_typePflicht | string | Werte: |
source_space_ids | string[] | Space UUIDs |
source_entity_types | string[] | – |
source_filter_id | object | Required when source_type=filter |
columns | object[] | – |
sort_config | object | – |
visibility | string | Werte: |
view_type | string | Werte: |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","query":{},"source_type":"spaces"}'Get a saved filter by ID#
/filters/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update a saved filter#
/filters/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
name | string | – |
description | object | – |
query | object | – |
source_type | string | Werte: |
source_space_ids | string[] | – |
source_entity_types | string[] | – |
source_filter_id | object | – |
columns | object[] | – |
sort_config | object | – |
visibility | string | Werte: |
view_type | string | Werte: |
Antworten
- 200OK
curl -X PUT "https://xapi.ambertech.cloud/api/v1/filters/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationId":"…","name":"…","description":{}}'Delete a saved filter#
/filters/{id}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/filters/{id}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Execute a saved filter#
/filters/{id}/executeTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
page | number | |
pageSize | number | |
sort | FilterSortDto | Sort config: { column: string, direction: "asc"|"desc" } |
Antworten
- 200OK
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters/{id}/execute" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"organizationId":"…","page":0,"pageSize":0}'Export filter results as CSV#
/filters/{id}/exportTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/{id}/export" \
-H "Authorization: Bearer $XISUITE_TOKEN"Toggle favorite on a filter#
/filters/{id}/favoriteTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters/{id}/favorite" \
-H "Authorization: Bearer $XISUITE_TOKEN"List permissions for a filter (owner only)#
/filters/{id}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/{id}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN"Set permissions for a filter (owner only, replaces all)#
/filters/{id}/permissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
permissionsPflicht | FilterPermissionItemDto[] | – |
permissions[].target_typePflicht | string | Werte: |
permissions[].target_idPflicht | string | – |
permissions[].can_view | boolean | |
permissions[].can_edit | boolean | |
permissions[].can_delete | boolean |
Antworten
- 200OK
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters/{id}/permissions" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"permissions":[]}'List subscriptions for a filter#
/filters/{id}/subscriptionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/{id}/subscriptions" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create or update subscription for a filter#
/filters/{id}/subscriptionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
schedule_cronPflicht | string | Cron expression e.g. "0 9 * * *" |
schedule_label | object | – |
schedule_frequency | string | Werte: |
schedule_time | string | Time of day HH:MM |
schedule_days_of_week | number[] | Days of week 0-6 (for weekly) |
schedule_day_of_month | number | – |
schedule_month_of_year | number | – |
end_type | string | Werte: |
end_date | object | ISO date when end_type=date |
max_occurrences | object | – |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters/{id}/subscriptions" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"schedule_cron":"…"}'Delete a filter subscription#
/filters/{id}/subscriptions/{subId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | Pfad | string | – |
subIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/filters/{id}/subscriptions/{subId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get system default filters#
/filters/defaultsTokenAntworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/defaults" \
-H "Authorization: Bearer $XISUITE_TOKEN"Execute an ad-hoc filter (no save)#
/filters/executeTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
organizationId | string | Legacy client org id; ignored in favor of auth context |
queryPflicht | object | Query rule group |
source_typePflicht | string | Werte: |
source_space_ids | string[] | – |
source_entity_types | string[] | – |
source_filter_id | string | – |
page | number | |
pageSize | number | |
sort | FilterSortDto | – |
sort.columnPflicht | string | Field or custom field key to sort by |
sort.directionPflicht | string | Werte: |
Antworten
- 200OK
curl -X POST "https://xapi.ambertech.cloud/api/v1/filters/execute" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":{},"source_type":"spaces"}'Get filterable field definitions#
/filters/fieldsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
entityTypes | Query | string | – |
spaceIds | Query | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/fields" \
-H "Authorization: Bearer $XISUITE_TOKEN"Typeahead: tasks + processes matching search (for Parent field)#
/filters/parent-optionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
searchPflicht | Query | string | – |
entityTypes | Query | string | – |
spaceIds | Query | string | – |
limit | Query | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/filters/parent-options" \
-H "Authorization: Bearer $XISUITE_TOKEN"