System Information - DeltaCounts Retrieve, Update, and Delete Methods

URI

https://164.99.19.131:8443/SentinelRESTServices/objects/change-count/{DataObjectName}

Supported Methods

GET
PUT
DELETE
GET

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Response

URL Parameters

None.

Success Codes

Fault Codes

Response Data

Object type: change-count
A DeltaCounts object reflects changes that have been made to data objects in the running Sentinel system. The counts may be used by clients to avoid retrieving data that has not change. Delta counts do not persist across Sentinel server invocations; they are reset each time the server starts.
FieldDescription
createdThe number of objects created since the server started.
deletedThe number of objects deleted since the server started.
metaThe metadata for an object, including the object type name and the URL reference to the object. Definition
modifiedThe number of times objects were modified since the server started.
nameThe name of the object type for which this DeltaCounts object provides count values.
Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldDescription
@hrefThe URL reference to the object.
typeThe name of the object type

Sample Request

GET https://164.99.19.131:8443/SentinelRESTServices/objects/change-count/user
Sample Response for application/json
Status: 200
{
   "meta":{
      "type":"change-count",
      "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/change-count/user"
   },
   "created":12,
   "name":"user",
   "deleted":3,
   "modified":546
}
PUT

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Request

URL Parameters

None.

Success Codes

Fault Codes

Request Data

Object type: change-count
A DeltaCounts object reflects changes that have been made to data objects in the running Sentinel system. The counts may be used by clients to avoid retrieving data that has not change. Delta counts do not persist across Sentinel server invocations; they are reset each time the server starts.
FieldRequiredDescription

Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldRequiredDescription
@hreffalseThe URL reference to the object.
typefalseThe name of the object type

Sample Request

PUT https://164.99.19.131:8443/SentinelRESTServices/objects/change-count/user
{
   "name":"Wildebeest"
}
Sample Response for application/json
Status: 200

DELETE

Authentication

Authentication Types
Sentinel Permissions Needed

URL Parameters

None.

Success Codes

Fault Codes

Sample Request

DELETE https://164.99.19.131:8443/SentinelRESTServices/objects/change-count/user