Download OpenAPI specification:
LianaMonitor API V1 Documentation
Send any message in message path parameter and the same message should be returned with the 200 OK response.
| message required | string Example: message=Hello world! |
{- "message": "Hello world!",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Send any message in the request body and the same message should be returned with the 200 OK response.
| message required | string Send any message in |
{- "message": "Hello world!"
}{- "message": "Hello world!",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Send any message in the request body and the same message should be returned with the 200 OK response.
| message required | string Send any message in |
{- "message": "Hello world!"
}{- "message": "Hello world!",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
| sort | string Default: "id" Enum: "id" "name" Example: sort=-name Defines the column to use for sorting.
For descending order, prepend the column name with |
| active | string Enum: "true" "false" Example: active=true Limits results to either enabled or disabled monitors. |
| folder_id | integer Example: folder_id=1 Limits results into specific directory.
If |
| name | string Example: name=*test* Limit monitors to specific name.
Adding an asterisk |
| fields | string Enum: "id" "active" "description" "name" "created_at" "modified_at" "folder" "hits_count" "new_hits" "last_hit_at" "last_hit" "areas" "show_on_mobile" "feeds_rss_enabled" "feeds_rss_link" "feeds_rss_title" "feeds_html_enabled" "feeds_html_link" "feeds_html_title" "stack_similar_hits_enabled" "stack_similar_hits_condition" "stack_similar_hits_content_percent" "stack_similar_hits_title_percent" "keywords" "keywords_condition" "additional_keywords" "block_keywords" "ignore_keywords" "title_keywords" "title_keywords_condition" "title_block_keywords" "title_block_keywords_condition" "url_keywords" "url_block_keywords" "press_release" "languages" "countries" "author_keywords" "author_block_keywords" Example: fields=id,active,keywords Comma-separated list of returnable columns. If given, only requested columns are returned. Optional properties can only be fetched by defining them here. Optional fields:
|
{- "items": [
- {
- "id": 11,
- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "folder": {
- "name": "TestFolder",
- "id": 0
}, - "hits_count": 142,
- "new_hits": 0,
- "last_hit_at": "2019-08-24T14:15:22Z",
- "last_hit": 55021,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_link": "string",
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_link": "string",
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
]
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Create a new monitor with payload found in request body.
| active | boolean Monitor activity. |
| description | string or null Monitor description. |
| name | string Name of the monitor. |
| folder_id | integer or null Folder ID where to save monitor. (null = root) |
| show_on_mobile | boolean List this monitor on mobile application. |
| feeds_rss_enabled | boolean Enable public RSS hit list feed for monitor. |
| feeds_rss_title | string or null Title for public RSS hit list feed. |
| feeds_html_enabled | boolean Enable public HTML hit list feed for monitor. |
| feeds_html_title | string or null Title for public HTML hit list feed. |
| stack_similar_hits_enabled | boolean Stack new similar hits |
| stack_similar_hits_condition | string Enum: "title" "content" "title_and_content" "title_or_content" Stacking similar hits condition. |
| stack_similar_hits_content_percent | integer [ 1 .. 100 ] Hit content must match given amount of percent to be stacked under another hit. (not used if |
| stack_similar_hits_title_percent | integer [ 1 .. 100 ] Hit title must match given amount of percent to be stacked under another hit. (not used if |
| areas | Array of arrays (MonitorAreas) Monitor searches hits from these areas |
| keywords | Array of strings (MonitorKeywords) Article must contain keywords. |
| keywords_condition | string (MonitorKeywordCondition) Enum: "OR" "AND"
|
| additional_keywords | Array of strings or null (MonitorAdditionalKeywords) In addition, article must contain at least one of the following words. |
| block_keywords | Array of strings or null (MonitorBlockKeywords) Article must not contain any of the following words. |
| ignore_keywords | Array of strings or null (MonitorIgnoreKeywords) Do not take following words into account at all. |
| title_keywords | Array of strings or null (MonitorTitleKeywords) Title must contain. |
| title_keywords_condition | string or null (MonitorOtherKeywordCondition) Enum: "OR" "AND"
Can be null if condition's keyword is null. |
| title_block_keywords | Array of strings or null (MonitorTitleBlockKeywords) Title must not contain. |
| title_block_keywords_condition | string or null (MonitorOtherKeywordCondition) Enum: "OR" "AND"
Can be null if condition's keyword is null. |
| url_keywords | Array of strings or null (MonitorURLKeywords) Article URL must contain. |
| url_block_keywords | Array of strings or null (MonitorURLBlockKeywords) Article URL must not contain any of the following words. |
| languages | Array of strings or null (MonitorLanguages) The social media post must be in one of the specified languages. Required for the social media monitor. |
| countries | Array of strings or null (MonitorCountries) The social media post must be associated with one of the specified countries. Only for the social media monitor. |
| author_keywords | Array of strings or null (MonitorAuthorKeywords) The social media post must have been made by one of the specified authors, with support for exact matches only. Only for the social media monitor. |
| author_block_keywords | Array of strings or null (MonitorAuthorBlockKeywords) The social media post must not have been made by any of the specified authors, with support for exact matches only. Only for the social media monitor. |
{- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "folder_id": 0,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
]
}{- "id": 11,
- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "folder": {
- "name": "TestFolder",
- "id": 0
}, - "hits_count": 142,
- "new_hits": 0,
- "last_hit_at": "2019-08-24T14:15:22Z",
- "last_hit": 55021,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_link": "string",
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_link": "string",
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| monitor_id required | integer ID of a monitor |
| fields | string Enum: "id" "active" "description" "name" "created_at" "modified_at" "folder" "hits_count" "new_hits" "last_hit_at" "last_hit" "areas" "show_on_mobile" "feeds_rss_enabled" "feeds_rss_link" "feeds_rss_title" "feeds_html_enabled" "feeds_html_link" "feeds_html_title" "stack_similar_hits_enabled" "stack_similar_hits_condition" "stack_similar_hits_content_percent" "stack_similar_hits_title_percent" "keywords" "keywords_condition" "additional_keywords" "block_keywords" "ignore_keywords" "title_keywords" "title_keywords_condition" "title_block_keywords" "title_block_keywords_condition" "url_keywords" "url_block_keywords" "press_release" "languages" "countries" "author_keywords" "author_block_keywords" Example: fields=id,active,keywords Comma-separated list of returnable columns. If given, only requested columns are returned. Optional properties can only be fetched by defining them here. Optional fields:
|
{- "id": 11,
- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "folder": {
- "name": "TestFolder",
- "id": 0
}, - "hits_count": 142,
- "new_hits": 0,
- "last_hit_at": "2019-08-24T14:15:22Z",
- "last_hit": 55021,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_link": "string",
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_link": "string",
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Edit existing monitor with payload found in request body.
| monitor_id required | integer ID of a monitor |
| active | boolean Monitor activity. |
| description | string or null Monitor description. |
| name | string Name of the monitor. |
| folder_id | integer or null Folder ID where to save monitor. (null = root) |
| show_on_mobile | boolean List this monitor on mobile application. |
| feeds_rss_enabled | boolean Enable public RSS hit list feed for monitor. |
| feeds_rss_title | string or null Title for public RSS hit list feed. |
| feeds_html_enabled | boolean Enable public HTML hit list feed for monitor. |
| feeds_html_title | string or null Title for public HTML hit list feed. |
| stack_similar_hits_enabled | boolean Stack new similar hits |
| stack_similar_hits_condition | string Enum: "title" "content" "title_and_content" "title_or_content" Stacking similar hits condition. |
| stack_similar_hits_content_percent | integer [ 1 .. 100 ] Hit content must match given amount of percent to be stacked under another hit. (not used if |
| stack_similar_hits_title_percent | integer [ 1 .. 100 ] Hit title must match given amount of percent to be stacked under another hit. (not used if |
| areas | Array of arrays (MonitorAreas) Monitor searches hits from these areas |
| keywords | Array of strings (MonitorKeywords) Article must contain keywords. |
| keywords_condition | string (MonitorKeywordCondition) Enum: "OR" "AND"
|
| additional_keywords | Array of strings or null (MonitorAdditionalKeywords) In addition, article must contain at least one of the following words. |
| block_keywords | Array of strings or null (MonitorBlockKeywords) Article must not contain any of the following words. |
| ignore_keywords | Array of strings or null (MonitorIgnoreKeywords) Do not take following words into account at all. |
| title_keywords | Array of strings or null (MonitorTitleKeywords) Title must contain. |
| title_keywords_condition | string or null (MonitorOtherKeywordCondition) Enum: "OR" "AND"
Can be null if condition's keyword is null. |
| title_block_keywords | Array of strings or null (MonitorTitleBlockKeywords) Title must not contain. |
| title_block_keywords_condition | string or null (MonitorOtherKeywordCondition) Enum: "OR" "AND"
Can be null if condition's keyword is null. |
| url_keywords | Array of strings or null (MonitorURLKeywords) Article URL must contain. |
| url_block_keywords | Array of strings or null (MonitorURLBlockKeywords) Article URL must not contain any of the following words. |
| languages | Array of strings or null (MonitorLanguages) The social media post must be in one of the specified languages. Required for the social media monitor. |
| countries | Array of strings or null (MonitorCountries) The social media post must be associated with one of the specified countries. Only for the social media monitor. |
| author_keywords | Array of strings or null (MonitorAuthorKeywords) The social media post must have been made by one of the specified authors, with support for exact matches only. Only for the social media monitor. |
| author_block_keywords | Array of strings or null (MonitorAuthorBlockKeywords) The social media post must not have been made by any of the specified authors, with support for exact matches only. Only for the social media monitor. |
{- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "folder_id": 0,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
]
}{- "id": 11,
- "active": true,
- "description": "My test monitor",
- "name": "TestMonitor",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "folder": {
- "name": "TestFolder",
- "id": 0
}, - "hits_count": 142,
- "new_hits": 0,
- "last_hit_at": "2019-08-24T14:15:22Z",
- "last_hit": 55021,
- "show_on_mobile": true,
- "feeds_rss_enabled": true,
- "feeds_rss_link": "string",
- "feeds_rss_title": "string",
- "feeds_html_enabled": true,
- "feeds_html_link": "string",
- "feeds_html_title": "string",
- "stack_similar_hits_enabled": true,
- "stack_similar_hits_condition": "title",
- "stack_similar_hits_content_percent": 1,
- "stack_similar_hits_title_percent": 1,
- "areas": [
- "FI",
- "RU",
- "DE"
], - "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "keywords_condition": "OR",
- "additional_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "ignore_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_keywords_condition": "OR",
- "title_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "title_block_keywords_condition": "OR",
- "url_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "url_block_keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
], - "languages": [
- "FI",
- "RU",
- "DE"
], - "countries": [
- "FI",
- "RU",
- "DE"
], - "author_keywords": [
- "John Doe"
], - "author_block_keywords": [
- "Don Joe"
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| monitor_id required | integer ID of a monitor |
| limit | integer >= 1 Default: 20 Example: limit=30 The number of items to return. |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
| fields | string Enum: "id" "href" "monitor" "monitor.keywords" "tags" "summary" "collection" "published_at" "view_count" "rating" "ai_rating" "ai_confidence" "title" "highlight" "source" "source.ranking" "source.circulation" "source.reach" "thumbnail_url_small" "thumbnail_url_square" "has_image" "has_keywords_in_title" "has_keywords_in_lead_paragraph" "keywords" "keywords_found" "keywords_found_total" "keywords_percentage" "reach" "author" Example: fields=id,monitor,collection Comma-separated list of returnable columns. If given, only requested columns are returned. Optional properties can only be fetched by defining them here. Optional fields:
|
| sort | string Default: "id" Enum: "id" "published_at" Example: sort=-published_at Defines the column to use for sorting.
For descending order, prepend the column name with |
| q | string Example: q=test* Filter hits by given search word. Allows using an asterisk |
| from_id | integer Example: from_id=12 Search hits where ID is greater than given ID. |
| to_id | integer Example: to_id=34 Search hits where ID is less than given ID. |
| from | string <date-time> Example: from=2017-07-20T17:32:28Z Search hits published after given timestamp. |
| to | string <date-time> Example: to=2018-01-08T15:52:01+00:00 Search hits published before given timestamp. |
{- "items": [
- {
- "id": 123,
- "monitor": {
- "name": "Monitor",
- "id": 1,
- "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
]
}, - "tags": [
- {
- "id": 1,
- "name": "tag1"
}
], - "summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet lectus eget ex convallis accumsan id ut purus.,\n",
- "collection": [
- {
- "id": 1,
- "name": "Collection test"
}
], - "published_at": "2019-08-24T14:15:22Z",
- "view_count": 1,
- "rating": 1,
- "ai_rating": 1,
- "ai_confidence": 0.89,
- "title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
- "highlight": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet lectus eget ex convallis accumsan id ut purus.,\n",
- "source": {
- "id": 1,
- "name": "Ilkka-Pohjalainen",
- "document": {
- "id": "e089f757326b7a9258adaa67ac64055e",
- "thumbnail_url_small": "https://img.lianamonitor.com/f30/a86/f30a869e0ffe9bcfc6e4b3f89df56da2_small.jpg",
- "thumbnail_url_square": "https://img.lianamonitor.com/f30/a86/f30a869e0ffe9bcfc6e4b3f89df56da2_square.jpg"
}, - "ranking": 0,
- "circulation": 0,
- "reach": 116961
}, - "has_image": true,
- "has_keywords_in_title": true,
- "has_keywords_in_lead_paragraph": true,
- "keywords": {
- "keyword1": 10,
- "keyword2": 2
}, - "keywords_found": 2,
- "keywords_found_total": 12,
- "keywords_percentage": 10,
- "reach": 1230000,
- "author": "John Doe"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}Fetch specific hit inside a monitor.
| monitor_id required | integer ID of a monitor |
| hit_id required | integer ID of a hit |
| fields | string Enum: "id" "href" "monitor" "monitor.keywords" "tags" "summary" "collection" "published_at" "view_count" "rating" "ai_rating" "ai_confidence" "title" "highlight" "source" "source.ranking" "source.circulation" "source.reach" "thumbnail_url_small" "thumbnail_url_square" "has_image" "has_keywords_in_title" "has_keywords_in_lead_paragraph" "keywords" "keywords_found" "keywords_found_total" "keywords_percentage" "reach" "author" Example: fields=id,monitor,collection Comma-separated list of returnable columns. If given, only requested columns are returned. Optional properties can only be fetched by defining them here. Optional fields:
|
{- "id": 123,
- "monitor": {
- "name": "Monitor",
- "id": 1,
- "keywords": [
- "keyword",
- "\\\"exact\\\"",
- "wildcard*",
- "proximity...keyword"
]
}, - "tags": [
- {
- "id": 1,
- "name": "tag1"
}
], - "summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet lectus eget ex convallis accumsan id ut purus.,\n",
- "collection": [
- {
- "id": 1,
- "name": "Collection test"
}
], - "published_at": "2019-08-24T14:15:22Z",
- "view_count": 1,
- "rating": 1,
- "ai_rating": 1,
- "ai_confidence": 0.89,
- "title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
- "highlight": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sit amet lectus eget ex convallis accumsan id ut purus.,\n",
- "source": {
- "id": 1,
- "name": "Ilkka-Pohjalainen",
- "document": {
- "id": "e089f757326b7a9258adaa67ac64055e",
- "thumbnail_url_small": "https://img.lianamonitor.com/f30/a86/f30a869e0ffe9bcfc6e4b3f89df56da2_small.jpg",
- "thumbnail_url_square": "https://img.lianamonitor.com/f30/a86/f30a869e0ffe9bcfc6e4b3f89df56da2_square.jpg"
}, - "ranking": 0,
- "circulation": 0,
- "reach": 116961
}, - "has_image": true,
- "has_keywords_in_title": true,
- "has_keywords_in_lead_paragraph": true,
- "keywords": {
- "keyword1": 10,
- "keyword2": 2
}, - "keywords_found": 2,
- "keywords_found_total": 12,
- "keywords_percentage": 10,
- "reach": 1230000,
- "author": "John Doe",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= -1 Default: 20 Example: limit=30 The number of items to return. For no limit use value |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
| sort | string Default: "id" Enum: "id" "name" "next_delivery" Example: sort=-name Defines the column to use for sorting.
For descending order, prepend the column name with |
| active | string Enum: "true" "false" Example: active=true Limits results to either enabled or disabled hit reports. |
| folder_id | integer or null Example: folder_id=1 Limits results into specific directory.
If |
| q | string Example: q=test* Filter hit reports by given search word. Allows using an asterisk Filter reports by name and recipient email addresses. |
{- "items": [
- {
- "id": 10,
- "active": true,
- "name": "Test report",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 10,
- "name": "Testing folder"
}, - "monitors": [
- {
- "id": 10,
- "name": "Testing monitor"
}
], - "language": "FI",
- "monitor_hit_limit": 55,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule": {
- "timezone": "Europe/Helsinki",
- "interval": "selected_times",
- "day_of_weeks": [
- 0,
- 2
], - "time_of_days": [
- "01:00",
- "13:37"
]
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| active | boolean (HitReportActive) Hit report's activity. When active deliveries are sent when scheduled. |
| name required | string (HitReportName) Name of the hit report. |
| folder_id | integer or null (HitReportFolderID) Folder ID where to save hit report. (null = root) |
| monitor_ids required | Array of integers (HitReportMonitorIDs) Monitors to be linked with hit report. When a new hit is founded to these monitors it is added to hit report. |
| language | string Enum: "FI" "SV" "EN" "DE" "FR" "RU" "PT" Hit report's language. User's language is used for new hit report if not given via payload. |
| recipients required | Array of strings (HitReportRecipients) Array of email addresses to be added as recipients for the hit report. |
| monitor_hit_limit | integer [ 1 .. 100 ] Default: 20 Amount of hits for each selected monitors in the email. Uses default value if not given via payload. |
| template | string Default: "normal" Enum: "normal" "plain" Email report template. Uses default value if not given via payload. |
| template_settings | Array of strings or null (HitReportTemplateSettings) Enum: "hit_actions" "hit_images" "hit_keywords" "hit_some_share_actions" "monitor_chart" "monitor_summary" "only_monitors_with_hits" "report_actions" "translate_hit_link" Email report settings |
| send_threshold | integer or null (HitReportSendThreshold) [ 1 .. 1000 ] Send only if new hits amount is at least given value. If value is null sends report even if there's no new hits. |
| schedule_timezone required | string (ScheduleTimezone) Timezone for hit report's schedule. |
| schedule_interval required | string (ScheduleInterval) Enum: "bimonthly" "biweekly" "monthly" "quarter_hourly" "quarter_yearly" "selected_days" "selected_times" "six_monthly" "weekly" "yearly" Interval for schedule. |
| schedule_day_of_weeks | Array of integers or null (ScheduleDayOfWeeks) Day of week options when to send the delivery. 0 (for Sunday) through 6 (for Saturday). Not
|
| schedule_time_of_days | Array of strings or null (ScheduleTimeOfDays) Time of day options when to send the delivery. Not
|
| schedule_next_delivery | string <date-time> (ScheduleNextDeliveryTime) When to send next hit report's delivery. If not given via payload |
{- "active": true,
- "name": "Test report",
- "folder_id": 10,
- "monitor_ids": [
- 1,
- 2,
- 10
], - "language": "FI",
- "recipients": [
- "testing@example.com"
], - "monitor_hit_limit": 20,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule_timezone": "Europe/Helsinki",
- "schedule_interval": "selected_times",
- "schedule_day_of_weeks": [
- 0,
- 2
], - "schedule_time_of_days": [
- "01:00",
- "13:37"
], - "schedule_next_delivery": "2019-08-24T14:15:22Z"
}{- "id": 10,
- "active": true,
- "name": "Test report",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 10,
- "name": "Testing folder"
}, - "monitors": [
- {
- "id": 10,
- "name": "Testing monitor"
}
], - "language": "FI",
- "monitor_hit_limit": 55,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule": {
- "timezone": "Europe/Helsinki",
- "interval": "selected_times",
- "day_of_weeks": [
- 0,
- 2
], - "time_of_days": [
- "01:00",
- "13:37"
]
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| report_id required | integer ID of the hit report |
{- "id": 10,
- "active": true,
- "name": "Test report",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 10,
- "name": "Testing folder"
}, - "monitors": [
- {
- "id": 10,
- "name": "Testing monitor"
}
], - "language": "FI",
- "monitor_hit_limit": 55,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule": {
- "timezone": "Europe/Helsinki",
- "interval": "selected_times",
- "day_of_weeks": [
- 0,
- 2
], - "time_of_days": [
- "01:00",
- "13:37"
]
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| report_id required | integer ID of the hit report |
| active | boolean (HitReportActive) Hit report's activity. When active deliveries are sent when scheduled. |
| name | string (HitReportName) Name of the hit report. |
| folder_id | integer or null (HitReportFolderID) Folder ID where to save hit report. (null = root) |
| monitor_ids | Array of integers (HitReportMonitorIDs) Monitors to be linked with hit report. When a new hit is founded to these monitors it is added to hit report. |
| language | string (HitReportLanguage) Enum: "FI" "SV" "EN" "DE" "FR" "RU" "PT" Hit report's language. |
| monitor_hit_limit | integer (HitReportMonitorHitLimit) [ 1 .. 100 ] Amount of hits for each selected monitors in the email. |
| template | string (HitReportTemplate) Enum: "normal" "plain" Email report template |
| template_settings | Array of strings or null (HitReportTemplateSettings) Enum: "hit_actions" "hit_images" "hit_keywords" "hit_some_share_actions" "monitor_chart" "monitor_summary" "only_monitors_with_hits" "report_actions" "translate_hit_link" Email report settings |
| send_threshold | integer or null (HitReportSendThreshold) [ 1 .. 1000 ] Send only if new hits amount is at least given value. If value is null sends report even if there's no new hits. |
| schedule_timezone | string (ScheduleTimezone) Timezone for hit report's schedule. |
| schedule_interval | string (ScheduleInterval) Enum: "bimonthly" "biweekly" "monthly" "quarter_hourly" "quarter_yearly" "selected_days" "selected_times" "six_monthly" "weekly" "yearly" Interval for schedule. |
| schedule_day_of_weeks | Array of integers or null (ScheduleDayOfWeeks) Day of week options when to send the delivery. 0 (for Sunday) through 6 (for Saturday). Not
|
| schedule_time_of_days | Array of strings or null (ScheduleTimeOfDays) Time of day options when to send the delivery. Not
|
| schedule_next_delivery | string <date-time> (ScheduleNextDeliveryTime) When to send next hit report's delivery. If not given via payload |
{- "active": true,
- "name": "Test report",
- "folder_id": 10,
- "monitor_ids": [
- 1,
- 2,
- 10
], - "language": "FI",
- "monitor_hit_limit": 55,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule_timezone": "Europe/Helsinki",
- "schedule_interval": "selected_times",
- "schedule_day_of_weeks": [
- 0,
- 2
], - "schedule_time_of_days": [
- "01:00",
- "13:37"
], - "schedule_next_delivery": "2019-08-24T14:15:22Z"
}{- "id": 10,
- "active": true,
- "name": "Test report",
- "created_at": "2019-08-24T14:15:22Z",
- "modified_at": "2019-08-24T14:15:22Z",
- "next_delivery_at": "2019-08-24T14:15:22Z",
- "folder": {
- "id": 10,
- "name": "Testing folder"
}, - "monitors": [
- {
- "id": 10,
- "name": "Testing monitor"
}
], - "language": "FI",
- "monitor_hit_limit": 55,
- "template": "normal",
- "template_settings": [
- "hit_actions",
- "hit_images",
- "monitor_chart"
], - "send_threshold": 1,
- "schedule": {
- "timezone": "Europe/Helsinki",
- "interval": "selected_times",
- "day_of_weeks": [
- 0,
- 2
], - "time_of_days": [
- "01:00",
- "13:37"
]
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| report_id required | integer ID of the hit report |
| limit | integer >= -1 Default: 20 Example: limit=30 The number of items to return. For no limit use value |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
| sort | string Default: "subscribed_at" Enum: "email" "subscription_type" "subscribed_at" Example: sort=-subscription_type Defines the column to use for sorting.
For descending order, prepend the column name with |
| q | string Example: q=*@domain.com Filter hit report recipient by given search word. Allows using an asterisk |
| subscription_type | string Enum: "subscribed" "manually_added" Filter recipients by their subscription type. |
{- "items": [
- {
- "id": 100,
- "email": "testing@example.com",
- "subscription_type": "manually_added",
- "subscribed_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| report_id required | integer ID of the hit report |
| email required | string (RecipientEmail) Recipient's email address. |
{- "email": "testing@example.com"
}{- "id": 100,
- "email": "testing@example.com",
- "subscription_type": "manually_added",
- "subscribed_at": "2019-08-24T14:15:22Z",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| report_id required | integer ID of the hit report |
| recipient_id required | integer ID of the recipeint |
{- "id": 100,
- "email": "testing@example.com",
- "subscription_type": "manually_added",
- "subscribed_at": "2019-08-24T14:15:22Z",
- "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| limit | integer >= -1 Default: 20 Example: limit=30 The number of items to return. For no limit use value |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
| publisher_id | integer Example: publisher_id=1 Filter results by specific publisher. |
| published_before | string <date-time> Example: published_before=2017-01-01T01:01:01Z Filter results that are published before given datetime. |
| published_after | string <date-time> Example: published_after=2017-01-01T01:01:01Z Filter results that are published after given datetime. |
| sort | string Default: "id" Value: "published_at" Example: sort=-published_at Defines the column to use for sorting.
For descending order, prepend the column name with |
{- "items": [
- {
- "id": 10,
- "type": "press_release",
- "publisher": {
- "id": 1,
- "name": "Test Publisher"
}, - "published_at": "2019-08-24T14:15:22Z",
- "title": "Lorem ipsum dolor sit amet",
- "content": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dapibus nulla a lectus pretium suscipit. Morbi lobortis arcu lectus, et suscipit dolor eleifend id. Nunc viverra ipsum eget nulla porttitor aliquet. Vestibulum vitae purus volutpat, ornare arcu id, aliquet velit. Aliquam scelerisque et orci in efficitur. Nunc finibus metus sed nisi accumsan, vel luctus nunc auctor. Phasellus nulla tellus, blandit vitae ultricies ac, pellentesque vitae lectus. Cras volutpat velit dolor, quis congue urna accumsan at. Duis quis iaculis turpis. Cras vitae erat feugiat, porttitor nibh vitae, convallis odio. Maecenas auctor ac dolor id vulputate. Ut vel est mollis, rutrum leo ornare, congue nunc. Vestibulum felis sapien, scelerisque eget enim at, ultrices dapibus metus. Fusce in augue interdum, suscipit nibh in, vestibulum felis. Praesent scelerisque nisi in tempus sollicitudin. Mauris varius justo non velit varius, eget egestas purus tincidunt.</p>",
- "lead": "<p>Lorem ipsum dolor sit amet</p>",
- "company_introdution": "<p>Lorem ipsum dolor sit amet</p>",
- "language": "FI",
- "categories": [
- "Tietokoneet",
- "Talous"
], - "statistics": {
- "click_count": 200,
- "click_ratio": 0.0252,
- "delivery_count": 2,
- "hit_count": 100,
- "open_ratio": 0.2,
- "opener_count": 130,
- "recipient_count": 130
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| press_release_id required | integer ID of the press release |
{- "id": 10,
- "type": "press_release",
- "publisher": {
- "id": 1,
- "name": "Test Publisher"
}, - "published_at": "2019-08-24T14:15:22Z",
- "title": "Lorem ipsum dolor sit amet",
- "content": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dapibus nulla a lectus pretium suscipit. Morbi lobortis arcu lectus, et suscipit dolor eleifend id. Nunc viverra ipsum eget nulla porttitor aliquet. Vestibulum vitae purus volutpat, ornare arcu id, aliquet velit. Aliquam scelerisque et orci in efficitur. Nunc finibus metus sed nisi accumsan, vel luctus nunc auctor. Phasellus nulla tellus, blandit vitae ultricies ac, pellentesque vitae lectus. Cras volutpat velit dolor, quis congue urna accumsan at. Duis quis iaculis turpis. Cras vitae erat feugiat, porttitor nibh vitae, convallis odio. Maecenas auctor ac dolor id vulputate. Ut vel est mollis, rutrum leo ornare, congue nunc. Vestibulum felis sapien, scelerisque eget enim at, ultrices dapibus metus. Fusce in augue interdum, suscipit nibh in, vestibulum felis. Praesent scelerisque nisi in tempus sollicitudin. Mauris varius justo non velit varius, eget egestas purus tincidunt.</p>",
- "lead": "<p>Lorem ipsum dolor sit amet</p>",
- "company_introdution": "<p>Lorem ipsum dolor sit amet</p>",
- "language": "FI",
- "categories": [
- "Tietokoneet",
- "Talous"
], - "statistics": {
- "click_count": 200,
- "click_ratio": 0.0252,
- "delivery_count": 2,
- "hit_count": 100,
- "open_ratio": 0.2,
- "opener_count": 130,
- "recipient_count": 130
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| press_release_id required | integer ID of the press release |
| limit | integer >= -1 Default: 20 Example: limit=30 The number of items to return. For no limit use value |
| offset | integer >= 0 Default: 0 Example: offset=10 The number of items to skip. |
{- "items": [
- {
- "id": 100,
- "publisher": {
- "id": 1,
- "name": "Test Publisher"
}, - "delivered_at": "2019-08-24T14:15:22Z",
- "title": "Lorem ipsum dolor sit amet",
- "content": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dapibus nulla a lectus pretium suscipit. Morbi lobortis arcu lectus, et suscipit dolor eleifend id. Nunc viverra ipsum eget nulla porttitor aliquet. Vestibulum vitae purus volutpat, ornare arcu id, aliquet velit. Aliquam scelerisque et orci in efficitur. Nunc finibus metus sed nisi accumsan, vel luctus nunc auctor. Phasellus nulla tellus, blandit vitae ultricies ac, pellentesque vitae lectus. Cras volutpat velit dolor, quis congue urna accumsan at. Duis quis iaculis turpis. Cras vitae erat feugiat, porttitor nibh vitae, convallis odio. Maecenas auctor ac dolor id vulputate. Ut vel est mollis, rutrum leo ornare, congue nunc. Vestibulum felis sapien, scelerisque eget enim at, ultrices dapibus metus. Fusce in augue interdum, suscipit nibh in, vestibulum felis. Praesent scelerisque nisi in tempus sollicitudin. Mauris varius justo non velit varius, eget egestas purus tincidunt.</p>",
- "lead": "<p>Lorem ipsum dolor sit amet</p>",
- "company_introduction": "<p>Lorem ipsum dolor sit amet</p>",
- "sender_name": "Test Publisher",
- "sender_email": "user@example.com",
- "reply_to_email": "user@example.com",
- "language": "FI",
- "statistics": {
- "click_count": 30,
- "click_ratio": 0.2027,
- "open_ratio": 0.6014,
- "opener_count": 89,
- "recipient_count": 150,
- "updated_at": "2019-08-24T14:15:22Z"
}
}
], - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}| press_release_id required | integer ID of the press release |
| delivery_id required | integer ID of the delivery |
{- "id": 100,
- "publisher": {
- "id": 1,
- "name": "Test Publisher"
}, - "delivered_at": "2019-08-24T14:15:22Z",
- "title": "Lorem ipsum dolor sit amet",
- "content": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer dapibus nulla a lectus pretium suscipit. Morbi lobortis arcu lectus, et suscipit dolor eleifend id. Nunc viverra ipsum eget nulla porttitor aliquet. Vestibulum vitae purus volutpat, ornare arcu id, aliquet velit. Aliquam scelerisque et orci in efficitur. Nunc finibus metus sed nisi accumsan, vel luctus nunc auctor. Phasellus nulla tellus, blandit vitae ultricies ac, pellentesque vitae lectus. Cras volutpat velit dolor, quis congue urna accumsan at. Duis quis iaculis turpis. Cras vitae erat feugiat, porttitor nibh vitae, convallis odio. Maecenas auctor ac dolor id vulputate. Ut vel est mollis, rutrum leo ornare, congue nunc. Vestibulum felis sapien, scelerisque eget enim at, ultrices dapibus metus. Fusce in augue interdum, suscipit nibh in, vestibulum felis. Praesent scelerisque nisi in tempus sollicitudin. Mauris varius justo non velit varius, eget egestas purus tincidunt.</p>",
- "lead": "<p>Lorem ipsum dolor sit amet</p>",
- "company_introduction": "<p>Lorem ipsum dolor sit amet</p>",
- "sender_name": "Test Publisher",
- "sender_email": "user@example.com",
- "reply_to_email": "user@example.com",
- "language": "FI",
- "statistics": {
- "click_count": 30,
- "click_ratio": 0.2027,
- "open_ratio": 0.6014,
- "opener_count": 89,
- "recipient_count": 150,
- "updated_at": "2019-08-24T14:15:22Z"
}, - "meta": {
- "response_at": "2017-01-01T01:01:01Z"
}
}