Parameters
Name |
Required |
Type |
Description |
type |
required |
string |
The property on which the page will be filtered: either path or title |
match |
required |
string |
The match (contains,equals,starts_with,ends_with,not-contains,not-equals,not-starts_with,not-ends_with) |
value |
required |
string |
The value of the filter |
curl --request POST \
--url https://api.embedding.io/v0/websites/web_1234/filters \
--header 'Authorization: Bearer YOUR_API_KEY' \
--json '{
"type": "path",
"match": "not-equals",
"value": "/info.html"
}'
Returns
Name |
Type |
Description |
id |
string |
The id of the filter |
type |
string |
The type of the filter |
match |
string |
The match of the filter |
value |
string |
The value of the filter |
{
"id": "fil_1234",
"type": "path",
"match": "not-equals",
"value": "/info.html"
}