API to create an object definition
type required | string (ObjectDefinitionType) Enum: "search" "eid" "relation" "sirenapiscript" "dataspace" The object definition type, e.g. search, eid, etc ... |
dataspace | string |
required | object (SavedSearchAttributes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isGlobal | boolean <boolean> Is global true/false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | string <string> Version of document stored in Elasticsearch document meta |
{- "attributes": {
- "version": 105,
- "siren": {
- "dynamicFilters": [
- {
- "filterId": "string",
- "field": "string"
}
], - "templateScripts": {
- "recordTable": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
], - "recordView": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
]
}, - "globalSearch": {
- "selectedByDefault": true,
- "forceSearchedOnTimeFilter": true,
- "recencyBoost": [
- {
- "boost": 0.1,
- "from": {
- "count": 0.1,
- "unit": "y"
}
}
], - "boost": 0.1,
- "enabled": true
}, - "highlight": {
- "fields": "string"
}, - "revision": {
- "copyToFields": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "indexingScope": "G:S",
- "editableFieldsExceptions": [
- "string"
], - "editableFieldsMode": "whitelist",
- "primaryKey": "string",
- "isEditable": true,
- "index": "string"
}, - "limits": {
- "maxJoinCardinalityApplyToTarget": true,
- "maxJoinCardinalityApplyToSource": true,
- "maxJoinCardinalityUnit": "string",
- "maxJoinCardinality": 0,
- "maxJoinCardinalityEnabled": true,
- "maxCardinalityUnit": "string",
- "maxCardinality": 0,
- "maxCardinalityEnabled": true,
- "maxTimeRangeUnit": "string",
- "maxTimeRange": 0,
- "maxTimeRangeEnabled": true
}, - "ui": {
- "instanceImageValue": "string",
- "instanceImageType": "string",
- "instanceLabelValue": "string",
- "instanceLabelType": "string",
- "shortDescription": "string",
- "color": "string",
- "icon": "string"
}, - "samplingScriptId": "string",
- "indexingScope": "G:S",
- "parentId": "string"
}, - "indexPattern": {
- "error": null,
- "fieldFormatMap": "string",
- "excludeIndices": true,
- "sourceFilters": "string",
- "fields": "string",
- "intervalName": "string",
- "timeFieldName": "string",
- "pattern": "string"
}, - "kibanaSavedObjectMeta": {
- "searchSourceJSON": "string"
}, - "sort": [
- "string"
], - "columns": [
- "string"
], - "hits": 0,
- "description": "string",
- "title": "string"
}, - "isGlobal": true,
- "version": "string"
}
{- "acknowledged": true,
- "error": {
- "name": "string",
- "message": "string",
- "stack": "string"
}, - "action": "string",
- "status": 0,
- "warning": "string",
- "version": "string",
- "attributes": null,
- "namespace": "string",
- "type": "string",
- "id": "string"
}
API to create an object definition with a specified id
type required | string (ObjectDefinitionType) Enum: "search" "eid" "relation" "sirenapiscript" "dataspace" The object type, e.g. search, eid, etc ... |
id required | string (ObjectDefinitionId) ^(?:([\w\d-]{1,25}):)?[2a-z_-]+:[\w\d-.()]+$ Example: search:a14c5675-1fdd-4bfb-804c-b2f67594656a The object id |
dataspace | string |
overwrite | boolean |
__private | boolean |
required | object (SavedSearchAttributes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isGlobal | boolean <boolean> Is global true/false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | string <string> Version of document stored in Elasticsearch document meta |
{- "attributes": {
- "version": 105,
- "siren": {
- "dynamicFilters": [
- {
- "filterId": "string",
- "field": "string"
}
], - "templateScripts": {
- "recordTable": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
], - "recordView": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
]
}, - "globalSearch": {
- "selectedByDefault": true,
- "forceSearchedOnTimeFilter": true,
- "recencyBoost": [
- {
- "boost": 0.1,
- "from": {
- "count": 0.1,
- "unit": "y"
}
}
], - "boost": 0.1,
- "enabled": true
}, - "highlight": {
- "fields": "string"
}, - "revision": {
- "copyToFields": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "indexingScope": "G:S",
- "editableFieldsExceptions": [
- "string"
], - "editableFieldsMode": "whitelist",
- "primaryKey": "string",
- "isEditable": true,
- "index": "string"
}, - "limits": {
- "maxJoinCardinalityApplyToTarget": true,
- "maxJoinCardinalityApplyToSource": true,
- "maxJoinCardinalityUnit": "string",
- "maxJoinCardinality": 0,
- "maxJoinCardinalityEnabled": true,
- "maxCardinalityUnit": "string",
- "maxCardinality": 0,
- "maxCardinalityEnabled": true,
- "maxTimeRangeUnit": "string",
- "maxTimeRange": 0,
- "maxTimeRangeEnabled": true
}, - "ui": {
- "instanceImageValue": "string",
- "instanceImageType": "string",
- "instanceLabelValue": "string",
- "instanceLabelType": "string",
- "shortDescription": "string",
- "color": "string",
- "icon": "string"
}, - "samplingScriptId": "string",
- "indexingScope": "G:S",
- "parentId": "string"
}, - "indexPattern": {
- "error": null,
- "fieldFormatMap": "string",
- "excludeIndices": true,
- "sourceFilters": "string",
- "fields": "string",
- "intervalName": "string",
- "timeFieldName": "string",
- "pattern": "string"
}, - "kibanaSavedObjectMeta": {
- "searchSourceJSON": "string"
}, - "sort": [
- "string"
], - "columns": [
- "string"
], - "hits": 0,
- "description": "string",
- "title": "string"
}, - "isGlobal": true,
- "version": "string"
}
{- "acknowledged": true,
- "error": {
- "name": "string",
- "message": "string",
- "stack": "string"
}, - "action": "string",
- "status": 0,
- "warning": "string",
- "version": "string",
- "attributes": null,
- "namespace": "string",
- "type": "string",
- "id": "string"
}
API to update an object definition with a specific id
type required | string (ObjectDefinitionType) Enum: "search" "eid" "relation" "sirenapiscript" "dataspace" The object definition type, e.g. search, eid, etc ... |
id required | string (ObjectDefinitionId) ^(?:([\w\d-]{1,25}):)?[2a-z_-]+:[\w\d-.()]+$ Example: search:a14c5675-1fdd-4bfb-804c-b2f67594656a The object definition id |
dataspace | string |
required | object (SavedSearchAttributes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isGlobal | boolean <boolean> Is global true/false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | string <string> Version of document stored in Elasticsearch document meta |
{- "attributes": {
- "version": 105,
- "siren": {
- "dynamicFilters": [
- {
- "filterId": "string",
- "field": "string"
}
], - "templateScripts": {
- "recordTable": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
], - "recordView": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
]
}, - "globalSearch": {
- "selectedByDefault": true,
- "forceSearchedOnTimeFilter": true,
- "recencyBoost": [
- {
- "boost": 0.1,
- "from": {
- "count": 0.1,
- "unit": "y"
}
}
], - "boost": 0.1,
- "enabled": true
}, - "highlight": {
- "fields": "string"
}, - "revision": {
- "copyToFields": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "indexingScope": "G:S",
- "editableFieldsExceptions": [
- "string"
], - "editableFieldsMode": "whitelist",
- "primaryKey": "string",
- "isEditable": true,
- "index": "string"
}, - "limits": {
- "maxJoinCardinalityApplyToTarget": true,
- "maxJoinCardinalityApplyToSource": true,
- "maxJoinCardinalityUnit": "string",
- "maxJoinCardinality": 0,
- "maxJoinCardinalityEnabled": true,
- "maxCardinalityUnit": "string",
- "maxCardinality": 0,
- "maxCardinalityEnabled": true,
- "maxTimeRangeUnit": "string",
- "maxTimeRange": 0,
- "maxTimeRangeEnabled": true
}, - "ui": {
- "instanceImageValue": "string",
- "instanceImageType": "string",
- "instanceLabelValue": "string",
- "instanceLabelType": "string",
- "shortDescription": "string",
- "color": "string",
- "icon": "string"
}, - "samplingScriptId": "string",
- "indexingScope": "G:S",
- "parentId": "string"
}, - "indexPattern": {
- "error": null,
- "fieldFormatMap": "string",
- "excludeIndices": true,
- "sourceFilters": "string",
- "fields": "string",
- "intervalName": "string",
- "timeFieldName": "string",
- "pattern": "string"
}, - "kibanaSavedObjectMeta": {
- "searchSourceJSON": "string"
}, - "sort": [
- "string"
], - "columns": [
- "string"
], - "hits": 0,
- "description": "string",
- "title": "string"
}, - "isGlobal": true,
- "version": "string"
}
{- "acknowledged": true,
- "error": {
- "name": "string",
- "message": "string",
- "stack": "string"
}, - "action": "string",
- "status": 0,
- "warning": "string",
- "version": "string",
- "attributes": null,
- "namespace": "string",
- "type": "string",
- "id": "string"
}
id required | string (ObjectDefinitionId) ^(?:([\w\d-]{1,25}):)?[2a-z_-]+:[\w\d-.()]+$ Example: search:a14c5675-1fdd-4bfb-804c-b2f67594656a An investigate object stringified id with the following format [DataspaceShortcode:]InvestigateObject:UUID. |
{- "deletedIds": [
- "string"
], - "acknowledged": true
}
API to validate an object definition
type required | string (ObjectDefinitionType) Enum: "search" "eid" "relation" "sirenapiscript" "dataspace" The object definition type, e.g. search, eid, etc ... |
id | string (ObjectDefinitionId) ^(?:([\w\d-]{1,25}):)?[2a-z_-]+:[\w\d-.()]+$ Example: id=search:a14c5675-1fdd-4bfb-804c-b2f67594656a An investigate object stringified id with the following format [DataspaceShortcode:]InvestigateObject:UUID. |
required | object (SavedSearchAttributes) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isGlobal | boolean <boolean> Is global true/false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version | string <string> Version of document stored in Elasticsearch document meta |
{- "attributes": {
- "version": 105,
- "siren": {
- "dynamicFilters": [
- {
- "filterId": "string",
- "field": "string"
}
], - "templateScripts": {
- "recordTable": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
], - "recordView": [
- {
- "type": "view",
- "perspective": "string",
- "scriptId": "string"
}
]
}, - "globalSearch": {
- "selectedByDefault": true,
- "forceSearchedOnTimeFilter": true,
- "recencyBoost": [
- {
- "boost": 0.1,
- "from": {
- "count": 0.1,
- "unit": "y"
}
}
], - "boost": 0.1,
- "enabled": true
}, - "highlight": {
- "fields": "string"
}, - "revision": {
- "copyToFields": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "indexingScope": "G:S",
- "editableFieldsExceptions": [
- "string"
], - "editableFieldsMode": "whitelist",
- "primaryKey": "string",
- "isEditable": true,
- "index": "string"
}, - "limits": {
- "maxJoinCardinalityApplyToTarget": true,
- "maxJoinCardinalityApplyToSource": true,
- "maxJoinCardinalityUnit": "string",
- "maxJoinCardinality": 0,
- "maxJoinCardinalityEnabled": true,
- "maxCardinalityUnit": "string",
- "maxCardinality": 0,
- "maxCardinalityEnabled": true,
- "maxTimeRangeUnit": "string",
- "maxTimeRange": 0,
- "maxTimeRangeEnabled": true
}, - "ui": {
- "instanceImageValue": "string",
- "instanceImageType": "string",
- "instanceLabelValue": "string",
- "instanceLabelType": "string",
- "shortDescription": "string",
- "color": "string",
- "icon": "string"
}, - "samplingScriptId": "string",
- "indexingScope": "G:S",
- "parentId": "string"
}, - "indexPattern": {
- "error": null,
- "fieldFormatMap": "string",
- "excludeIndices": true,
- "sourceFilters": "string",
- "fields": "string",
- "intervalName": "string",
- "timeFieldName": "string",
- "pattern": "string"
}, - "kibanaSavedObjectMeta": {
- "searchSourceJSON": "string"
}, - "sort": [
- "string"
], - "columns": [
- "string"
], - "hits": 0,
- "description": "string",
- "title": "string"
}, - "isGlobal": true,
- "version": "string"
}
{- "acknowledged": true,
- "error": {
- "name": "string",
- "message": "string",
- "stack": "string"
}, - "action": "string",
- "status": 0,
- "warning": "string",
- "version": "string",
- "attributes": null,
- "namespace": "string",
- "type": "string",
- "id": "string"
}