Parameter | Type | Default Value | Description |
---|---|---|---|
query |
string | [no filter] | The TinyQ language filter that specifies a subset of all available records. |
field |
string | not present | The name or names of fields whose values are to be returned. The field item may appear zero or more times in the URI query parameters. A single value of "[none]" indicates return only metadata. The absence of any field parameter indicates return all field values, |
page |
integer | 1 | The 1-based offset into the total records based on page size. Actual offset is (page - 1) * pagesize. |
pagesize |
integer | [unlimited] | The maximum number of object records to return as a result of the request. |
Object type: page | |
---|---|
A container for one or more objects in the result listing. There may be multiple pages in a listing if a page size is specified that is less than the total number of objects in the listing. | |
Field | Description |
next | A URL addressing the subsequent page of objects in the total set of available objects. |
objects | The list of objects returned in the page of results. |
prev | A URL addressing the previous page of objects in the total set of available objects. |
Object type: host | |
---|---|
Needs description. | |
Field | Description |
collector-mgrs | Needs description. |
createdate | The date and time when the object was created. |
creator | The URL of the Sentinel User object that represents the creator of the object. |
hostname | Needs description. |
ip-addr | Needs description. |
meta | The metadata for an object, including the object type name and the URL reference to the object. Definition |
moddate | The date and time when the object was last modified. |
modifier | The URL of the Sentinel User object that represents the last modifier of the object. |
name | Needs description. |
os-name | Needs description. |
os-ver | Needs description. |
sentinel-id | Needs description. |
Object type: meta | |
---|---|
The metadata for an object, including the object type name and the URL reference to the object. | |
Field | Description |
@href | The URL reference to the object. |
type | The name of the object type |
GET https://164.99.19.131:8443/SentinelRESTServices/objects/host?page=2&pagesize=1
{ "objects":[ { "meta":{ "type":"host", "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757" }, "moddate":"2012-04-25T13:33:44.611Z", "name":"Wildebeest", "createdate":"2012-04-25T13:33:44.611Z", "hostname":"Wildebeest", "sentinel-id":"79600390-9B73-102E-A3E2-001676E4A757", "os-ver":"Wildebeest", "os-name":"Wildebeest", "ip-addr":"10.0.0.1", "collector-mgrs":{ "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/collectormgr?query=SentinelHostId.e79600390-9B73-102E-A3E2-001676E4A757" } } ], "prev":{ "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/host?pagesize=1&page=1" }, "next":{ "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/host?pagesize=1&page=3" } }
Object type: host | ||
---|---|---|
Needs description. | ||
Field | Required | Description |
collector-mgrs | false | Needs description. |
hostname | false | Needs description. |
ip-addr | false | Needs description. |
name | true | Needs description. |
os-name | false | Needs description. |
os-ver | false | Needs description. |
sentinel-id | true | Needs description. |
Object type: meta | ||
---|---|---|
The metadata for an object, including the object type name and the URL reference to the object. | ||
Field | Required | Description |
@href | false | The URL reference to the object. |
type | false | The name of the object type |
Object type: | |
---|---|
The metadata representation of the newly-created host object, including the URL reference to the new object. | |
Field | Description |
meta | The metadata for an object, including the object type name and the URL reference to the object. Definition |
Object type: meta | |
---|---|
The metadata for an object, including the object type name and the URL reference to the object. | |
Field | Description |
@href | The URL reference to the object. |
type | The name of the object type |
POST https://164.99.19.131:8443/SentinelRESTServices/objects/host
{ "name":"Wildebeest", "hostname":"Wildebeest", "sentinel-id":"79600390-9B73-102E-A3E2-001676E4A757", "os-ver":"Wildebeest", "os-name":"Wildebeest", "ip-addr":"10.0.0.1", "collector-mgrs":{ "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/collectormgr?query=SentinelHostId.e79600390-9B73-102E-A3E2-001676E4A757" } }
Location:https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757
{ "meta":{ "type":"host", "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757" } }