Problem: When querying the api/1.1/search
endpoint, despite the fact that a custom search filter has been applied, the response is not filtered; results for all datasets are returned.
Solution: Ensure the endpoint URL includes a trailing slash. For example, use a URL like this https://sima.domain/api/1.1/search/
, rather than this https://sima.domain/api/1.1/search
.
Example query:
curl --request POST \
--url https://sima.domain/api/1.1/search/ \
--header 'content-type: application/json' \
--header 'pki-columbus-authentication: <insert_token>' \
--data-raw '{
"filter": {
"categories": {
"screen_name": {
"type": "string",
"values": ["MyScreenName"]
}
}
}
}'
Comments
0 comments
Article is closed for comments.