- Search for target items (audits or web journeys) for data source assignment based on searched item type (ALERT, CUSTOM_HEADER, EMAIL_INBOX, RULE)
Get all data sources in the account
Search data sources with specific item IDs
Search for target items (...
POST /v3/data-sources/target-items/{itemType}/search
Security
API_Key
non-empty array of labels present on an item, works as "item has all specified labels" filter
POST
curl -i -X POST \
'https://api.observepoint.com/v3/data-sources/target-items/{itemType}/search?sortBy=ITEM_NAME&sortDesc=false&pageSize=100&page=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"searchItemType": "ALERT",
"searchedItemId": 0,
"assignedToSearchedItem": true,
"itemName": "string",
"itemLabels": [
223
],
"folders": {
"folders": [
{
"folderId": 123,
"domains": [
123
]
}
]
}
}'Response
{ "metadata": { "totalCount": 0, "totalPageCount": 0, "pageSize": 0, "currentPageSize": 0, "currentPageNumber": 0 }, "items": [ { … } ] }