Find sticky filters - Fluid Topics - Latest

Fluid Topics API Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

This web service allows users to search for sticky filter sets by exact ID, or by exact displayName (when the set has at least one localized displayName).

This web service requires authentication on portals with mandatory authentication.

It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.

Method Endpoint
GET
/api/sticky-filters/find
Query parameter Type Required? Description
query String Yes The exact sticky filter set ID or displayName to search for in the user's current UI locale.
Use the ui-locale query parameter to search for a displayName in another locale.
ui-locale String No A UI locale. The value must be a ISO 639-1 language designator (for example, en for English, or es for Spanish). Can be followed by a hyphen, and an ISO 3166-1 region designator in uppercase (for example, en-US for American English, or es-MX for Mexican Spanish).

Response body

The following example shows a JSON response body for this web service:

{
    "id": "xxxx",
    "filters": {
        "or": [
            {
                "key": "audience",
                "value": "public"
            },
            {
                "key": "audience",
                "value": "internal"
            }
        ]
    }
}
Field Type Description
id String The unique ID of the sticky filters set.
filters Object An object containing the sticky filters.
or Object An object containing the metadata keys and values to combine with an OR operator and apply as sticky filters.
key String A metadata key.
value String A metadata value.
not Object An object containing the metadata key and value to apply as sticky filters with a NOT operator.
key String A metadata key.
value String A metadata value.
and Object An object containing the metadata keys and values to combine with an AND operator and apply as sticky filters.
key String A metadata key.
value String A metadata value.