Download OpenAPI specification:Download
This collection resource provides access to information about the domains that are accessible.
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "domains": [
- {
- "activeServices": "string",
- "activeVersion": {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0"
}, - "applicationConfigurations": "https://host:port/streams/domains/{domainId}/applicationconfigurations",
- "creationTime": "1741151569482",
- "creationUser": "joeadmin",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "mydomainid",
- "instances": "string",
- "properties": "string",
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceTags": [
- {
- "customDefinition": "string",
- "definitionFormatProperties": true,
- "description": "A management resource is one that can be used to run the Streams management services.",
- "name": "management",
- "propertiesDefinition": "{}",
- "reserved": false
}
], - "resourceType": "domain",
- "restid": "myinstanceid",
- "restrictedConfigurations": "https://host:port/streams/domains/{domainId}/restrictedconfigurations",
- "startTime": 1537301102922,
- "status": "running",
- "urlsJmx": [
- "service:jmx:jmxmp://host:9975"
], - "zooKeeperConnectionString": "1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000",
}
], - "resourceType": "domainList",
- "total": 50
}
This element resource provides access to information about a Streams domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "activeServices": "string",
- "activeVersion": {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0"
}, - "applicationConfigurations": "https://host:port/streams/domains/{domainId}/applicationconfigurations",
- "creationTime": "1741151569482",
- "creationUser": "joeadmin",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "mydomainid",
- "instances": "string",
- "properties": "string",
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceTags": [
- {
- "customDefinition": "string",
- "definitionFormatProperties": true,
- "description": "A management resource is one that can be used to run the Streams management services.",
- "name": "management",
- "propertiesDefinition": "{}",
- "reserved": false
}
], - "resourceType": "domain",
- "restid": "myinstanceid",
- "restrictedConfigurations": "https://host:port/streams/domains/{domainId}/restrictedconfigurations",
- "startTime": 1537301102922,
- "status": "running",
- "urlsJmx": [
- "service:jmx:jmxmp://host:9975"
], - "zooKeeperConnectionString": "1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000",
}
This method provides the ability to perform domain actions such as exporting a keystore.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
type required | string Value: "exportKeystore" Identifies the action to perform:
|
keystoreType | string Enum: "data" "jmxHttp" "rest" "sws" Identifies the keystore to export. This property applies to the following action types: exportKeystore*.
|
password | string Specifies a password to set for the exported keystore. This property applies to the following action types: exportKeystore*. |
{- "type": "exportKeystore",
- "keystoreType": "jmxHttp",
- "password": "mypassword"
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve the product log for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
endTime | integer <int64> Example: endTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time before the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. By default, all items are returned regardless of time. |
startTime | integer <int64> Example: startTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. If the If-Modified-Since-Milliseconds header is also specified, the header value is ignored. By default, all items are returned regardless of time. |
If-Modified-Since-Milliseconds | integer <int64> Example: 1537301102922 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. To retrieve only items with a time after the last items returned, set this header value to the time that was returned by the Last-Modified-Milliseconds response header from the previous request. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve log and trace files for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about all configuration properties for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "properties": [
- {
- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
], - "resourceType": "propertyList",
- "total": 50
}
This element resource provides access to information about a domain configuration property.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
propertyName required | string Example: domain.sslOption Identifies the property name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
This method provides the ability to update a domain property.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
propertyName required | string Example: domain.sslOption Identifies the property name. |
value required | string Specifies the new property value. To reset a property value to its default, specify null for the value. |
{- "value": "trace"
}
{- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
This collection resource provides access to information about the instances to which the current user has access.
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "instances": [
- {
- "activeServices": "string",
- "activeVersion": {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0"
}, - "applicationConfigurations": "https://host:port/streams/instances/{instanceId}/applicationconfigurations",
- "applicationEnvironmentVariables": "https://host:port/streams/instances/{instanceId}/applicationenvironmentvariables",
- "applicationNetwork": "192.0.2.0/24,198.51.100.0/24",
- "applicationResourceTags": [
- "string"
], - "creationTime": "1741151569482",
- "creationUser": "joeadmin",
- "health": "healthy",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "myinstanceid",
- "owner": "streamsadmin",
- "properties": "string",
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "instance",
- "restid": "myinstanceid",
- "restrictedConfigurations": "https://host:port/streams/instances/{instanceId}/restrictedconfigurations",
- "restrictedTags": "1741151569482",
- "startTime": 1537301102922,
- "startedBy": "streamsadmin",
- "status": "running",
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to create a new Streams instance.
name required | string Identifies the name of the instance to create. |
administratorGroup | string Specifies a group whose members can administer the instance. If not specified, only the current user and any user that has the DomainAdministrator or InstanceAdministrator role can administer the instance. |
object Provides property names and values to set in the configuration. | |
Array of objects Specifies resource specifications to use for adding resources to the instance. | |
userGroup | string Specifies a group whose members can use the instance. If not specified, only the current user and any user that has the InstanceUser role can use the instance. |
{- "name": "instanceA",
- "administratorGroup": "itdept",
- "properties": {
- "[property-name]": "trace"
}, - "resourceSpecifications": [
- {
- "exclusive": false,
- "resourceCount": 2,
- "restrictedTags": [
- "operations"
], - "tags": [
- "large"
]
}
], - "userGroup": "sales"
}
{- "activeServices": "string",
- "activeVersion": {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0"
}, - "applicationConfigurations": "https://host:port/streams/instances/{instanceId}/applicationconfigurations",
- "applicationEnvironmentVariables": "https://host:port/streams/instances/{instanceId}/applicationenvironmentvariables",
- "applicationNetwork": "192.0.2.0/24,198.51.100.0/24",
- "applicationResourceTags": [
- "string"
], - "creationTime": "1741151569482",
- "creationUser": "joeadmin",
- "health": "healthy",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "myinstanceid",
- "owner": "streamsadmin",
- "properties": "string",
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "instance",
- "restid": "myinstanceid",
- "restrictedConfigurations": "https://host:port/streams/instances/{instanceId}/restrictedconfigurations",
- "restrictedTags": "1741151569482",
- "startTime": 1537301102922,
- "startedBy": "streamsadmin",
- "status": "running",
}
This method provides the ability to delete an instance from the domain.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about an IBM Streams instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "activeServices": "string",
- "activeVersion": {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0"
}, - "applicationConfigurations": "https://host:port/streams/instances/{instanceId}/applicationconfigurations",
- "applicationEnvironmentVariables": "https://host:port/streams/instances/{instanceId}/applicationenvironmentvariables",
- "applicationNetwork": "192.0.2.0/24,198.51.100.0/24",
- "applicationResourceTags": [
- "string"
], - "creationTime": "1741151569482",
- "creationUser": "joeadmin",
- "health": "healthy",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "myinstanceid",
- "owner": "streamsadmin",
- "properties": "string",
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "instance",
- "restid": "myinstanceid",
- "restrictedConfigurations": "https://host:port/streams/instances/{instanceId}/restrictedconfigurations",
- "restrictedTags": "1741151569482",
- "startTime": 1537301102922,
- "startedBy": "streamsadmin",
- "status": "running",
}
This method provides the ability to perform instance actions such as starting and stopping.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
type required | string Enum: "start" "stop" Identifies the action to perform:
|
force | boolean Indicates whether the instance is forced to stop when the authentication service is not available. If a value is not specified, the instance fails to stop when the authentication service is not available. This property applies to the following action types: stop. |
version | string Specifies the version of Streams to use when starting the instance. The format of the version is v.r.m.f<.h> where v, r, m, f, and h are all numeric values identifying the version, release, modification, fix, and optional hot fix levels. The specified version must be installed on the resource where the management API service is running and it must be within the same base installation path as the version used to start the domain; otherwise, the instance fails to start. If this value is null or not specified, the instance is started using the version specified by the instance.startAsVersion property. If that property is not set, the active domain version is used. This property applies to the following action types: start. |
{- "type": "stop",
- "force": true
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about all configuration properties for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "properties": [
- {
- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
], - "resourceType": "propertyList",
- "total": 50
}
This element resource provides access to information about an instance configuration property.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
propertyName required | string Example: domain.sslOption Identifies the property name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
This method provides the ability to update an instance property.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
propertyName required | string Example: domain.sslOption Identifies the property name. |
value required | string Specifies the new property value. To reset a property value to its default, specify null for the value. |
{- "value": "trace"
}
{- "constrainingRegularExpression": ".+",
- "constraintType": "greaterOrEqual",
- "defaultContentType": "constant",
- "defaultValue": "en_US.UTF-8",
- "description": "Specifies whether the Streams Console is enabled.",
- "maximumContentType": "constant",
- "maximumValue": "instance.jobsCpuMaximum",
- "minimumContentType": "constant",
- "minimumValue": "job.cpuMaximum",
- "name": "auditlog.level",
- "pendingValue": "enabled",
- "possibleValues": [
- "warning"
], - "propertyGroup": "job",
- "resolvedDefaultValue": "warning",
- "resourceType": "property",
- "restid": "auditlog.level",
- "updateType": "anyTime",
- "value": "5000",
- "valueHidden": "true",
- "valueInherited": "false",
- "valueType": "integer"
}
APIs for job life cycle management.
This method provides the ability to upload an application bundle. If a job is submitted using the uploaded bundle, the bundle is held in the application cache repository while the job is running and remains in the cache for four hours after the job stops running. If the bundle is not used to submit a job, it is held in the application cache repository for four hours.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
Post content is application bundle (SAB file).
{- "bundleId": "bundleId:abfa009e-4cb0-4304-84cb-59b7bb6d0191"
}
This method provides the ability to submit a job to run in the instance. Alternatively, you can preview a job submission.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
application required | string Specifies the application to submit. This can be a bundleId that was returned on a POST call to the application bundles collection. Another option is to provide a URL to the Streams application bundle file (.sab) to run. |
object Contains the credentials to set in the Authorization header when retrieving the application from a URL. This property value is ignored if the value of the application property does not start with http: or https:. | |
object Contains name-value pairs for submission-time configuration. See the product reference documentation for the format of job configuration overlays. | |
jobGroup | string Identifies the job group to which the job is added. The job group is used to control permissions to the job. |
jobName | string Identifies a name to associate with the job. This name must be unique within the instance. If a name is not specified, a default name is generated. |
preview | boolean Indicates whether a preview should be generated of the job configuration overlay that would be used if the application is submitted with any specified parameters values and job configuration overlay. If a value is not specified, false is used. |
Array of objects Provides the parameter names and corresponding values to set when the job is submitted. |
{- "application": "bundleId:343eb9fd-5f36-442e-9a1b-10817c76e66d",
- "applicationCredentials": {
- "password": "secret",
- "user": "mrsmith"
}, - "jobConfigurationOverlay": {
- "jobConfigOverlays": [
- {
- "deploymentConfig": {
- "parallelRegionConfig": {
- "fusionType": "channelIsolation"
}
}
}
]
}, - "jobGroup": "default",
- "jobName": "myJob",
- "preview": false,
- "submitParameters": [
- {
- "name": "period",
- "value": "5"
}
]
}
{- "jobConfigOverlays": [
- {
- "jobConfig": {
- "jobGroup": "default"
}, - "deploymentConfig": {
- "placementScheme": "balancedInstance"
}, - "operatorConfigs": {
- "poolPlacementGroups": [
- {
- "name": "$default",
- "operatorsInPool": [
- {
- "nameSpec": "Generator"
}
], - "tags": [ ]
}
], - "operators": [
- {
- "nameSpec": "Generator"
}
]
}
}
], - "results": {
- "deploymentConfig": {
- "placementScheme": "balancedInstance"
}, - "placementResults": [
- {
- "names": [
- "Generator"
], - "peId": 7,
- "hostPlacement": "PreviewResource_0",
- "tags": [ ]
}
], - "jobResources": [
- {
- "amountOfMemory": -99,
- "resourceId": "PreviewResource_0",
- "networkBandwidth": -1,
- "tags": [ ]
}
]
}
}
This method provides the ability to cancel the job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
force | boolean Example: force=true Indicates whether the operation should be forced to complete if it cannot complete normally. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to make changes to the job such as: update the configuration for a sub-graph of the job, adjust the number of resources allocated to a sub-graph of the job, change the size of a parallel region.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
required | object Contains name-value pairs for submission-time configuration. See the product reference documentation for the format of job configuration overlays. |
{- "jobConfigurationOverlay": {
- "jobConfigOverlays": [
- {
- "deploymentConfig": {
- "parallelRegionConfig": {
- "fusionType": "channelIsolation"
}
}
}
]
}
}
{- "jobConfigOverlays": [
- {
- "jobConfig": {
- "jobGroup": "default"
}, - "deploymentConfig": {
- "placementScheme": "balancedInstance"
}, - "operatorConfigs": {
- "poolPlacementGroups": [
- {
- "name": "$default",
- "operatorsInPool": [
- {
- "nameSpec": "Generator"
}
], - "tags": [ ]
}
], - "operators": [
- {
- "nameSpec": "Generator"
}
]
}
}
], - "results": {
- "deploymentConfig": {
- "placementScheme": "balancedInstance"
}, - "placementResults": [
- {
- "names": [
- "Generator"
], - "peId": 7,
- "hostPlacement": "PreviewResource_0",
- "tags": [ ]
}
], - "jobResources": [
- {
- "amountOfMemory": -99,
- "resourceId": "PreviewResource_0",
- "networkBandwidth": -1,
- "tags": [ ]
}
]
}
}
This collection resource provides access to information about the streams that are exported by all of the jobs in the instance.
The collection resource includes the following information for each exported stream: the operator output port that exports the stream and the active dynamic connections between this port and operator input ports from other jobs.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "exportedStreams": [
- {
- "resourceType": "exportedStream"
}
], - "resourceType": "exportedStreamList",
- "total": 50
}
This collection resource provides access to information about streams that are imported by jobs that are running in the instance.
The collection resource includes the following information for each imported stream: the operator input port that imports the stream and the active dynamic connections between this port and operator output ports from other jobs.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "importedStreams": [
- {
- "operatorInputPort": 0,
- "resourceType": "importedStream"
}
], - "resourceType": "importedStreamList",
- "total": 50
}
This collection resource provides access to information about the jobs that are running within the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
resource.restid | string Example: resource.restid=management-0 Specifies the value of the restid property for a resource that is allocated to the instance. If this parameter is used, the list is limited to the resources for the specified Streams instance resource. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "jobs": [
- {
- "adlFile": "output/Main.adl",
- "applicationLogTrace": "https://host:port/streams/instances/{instanceId}/jobs/{jobId}/applicationlogtrace",
- "applicationName": "Main",
- "applicationPath": "toolkits/customMetrics",
- "applicationScope": "Default",
- "applicationVersion": "1.0.0",
- "checkpointPath": "/mypath/testapps/customMetrics/data/ckpt",
- "dataPath": "/myapps/mydata",
- "dynamicThreadingElastic": true,
- "dynamicThreadingThreadCount": 2,
- "fusionScheme": "automatic",
- "generationId": 1,
- "health": "healthy",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "0",
- "jobResourceSharing": "sameInstance",
- "name": "Main_0",
- "outputPath": "output",
- "productVersion": "7.2.0.0",
- "proposedOperatorsPerResource": 8,
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "job",
- "restid": "0",
- "startedBy": "streamsadmin",
- "status": "running",
- "submitParameters": [
- {
- "composite": "application::AllDataTypes",
- "defaultValue": "10000",
- "name": "iterations",
- "parameterKind": "named",
- "required": false,
- "values": [
- "1000"
]
}
], - "submitTime": 1538172886000,
- "threadingModel": "notSpecified",
- "topologyUpdating": false,
}
], - "resourceType": "jobList",
- "total": 50
}
This method provides access to a metrics snapshot for jobs in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
restid | string Example: restid=0 Specifies the value of the restid property for one or more job resources separated by commas. If this parameter is used, the snapshot is limited to the specified jobs. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This method provides access to a properties snapshot for jobs and their child resources.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
includeStatics | boolean Example: includeStatics=false Indicates whether static properties should be included in a snapshot. A static property is a property whose value does not change. If this parameter is not specified, static properties are included. Identifier properties are always included. |
maximumDepth | integer <int64> Example: maximumDepth=-1 Specifies which descendant object properties should be included in a snapshot. If this parameter is not specified, all descendant properties are included. Values are handled as follows:
|
restid | string Example: restid=0 Specifies the value of the restid property for one or more job resources separated by commas. If this parameter is used, the snapshot is limited to the specified jobs. |
{- "jobs": [
- {
- "adlFile": "notSpecified",
- "applicationName": "myapps::app1",
- "applicationPath": "toolkits/customMetrics",
- "applicationScope": "default",
- "applicationVersion": "1.0.0",
- "checkpointPath": "/mypath/testapps/customMetrics/data/ckpt",
- "dataPath": "/mydatapath",
- "dynamicThreadingElastic": true,
- "dynamicThreadingThreadCount": 2,
- "fusionScheme": "automatic",
- "generationId": 0,
- "health": "healthy",
- "id": "9",
- "jobGroup": "default",
- "jobResourceSharing": "sameInstance",
- "name": "Main_0",
- "outputPath": "output",
- "pes": [
- {
- "health": "healthy",
- "id": "0",
- "indexWithinJob": 0,
- "inputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": null,
- "outputPort": null,
- "pe": null
}, - "status": "connected",
- "target": {
- "inputPort": null,
- "job": null,
- "pe": null
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorInputPorts": [
- 0
], - "transportType": "tcp"
}
], - "launchCount": 1,
- "operators": [
- {
- "indexWithinJob": 2,
- "inputPorts": [
- {
- "connections": [
- { }
], - "import": {
- "applicationScope": null,
- "filter": null,
- "operator": null,
- "subscription": null,
- "type": null
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peInputPorts": [
- null
]
}
], - "name": "operatorName",
- "operatorKind": "spl.utility::Beacon",
- "outputPorts": [
- {
- "connections": [
- { }
], - "export": {
- "filterAllowed": null,
- "name": null,
- "operator": null,
- "type": null
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peOutputPorts": [
- null
], - "streamViewable": true
}
]
}
], - "optionalConnections": "connected",
- "outputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": null,
- "outputPort": null,
- "pe": null
}, - "status": "connected",
- "target": {
- "inputPort": null,
- "job": null,
- "pe": null
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorOutputPorts": [
- 0
], - "transportType": "tcp"
}
], - "processId": "1001",
- "relocatable": true,
- "requiredConnections": "conneted",
- "resource": "app-9",
- "resourceTags": [
- "application"
], - "restartable": true,
- "status": "running",
- "statusReason": "userRequest",
- "traceLevel": "trace"
}
], - "productVersion": "5.0.0.0.20190814150153",
- "proposedOperatorsPerResource": 34,
- "resources": [
- "app-9"
], - "startedBy": "admin",
- "status": "running",
- "submitParameters": [
- {
- "composite": "application::AllDataTypes",
- "defaultValue": "10000",
- "name": "iterations",
- "parameterKind": "named",
- "required": false,
- "values": [
- "1000"
]
}
], - "submitTime": 1538172886000,
- "threadingModel": "notSpecified",
- "topologyUpdating": false
}
]
}
This element resource provides access to information about a submitted job within the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "adlFile": "output/Main.adl",
- "applicationLogTrace": "https://host:port/streams/instances/{instanceId}/jobs/{jobId}/applicationlogtrace",
- "applicationName": "Main",
- "applicationPath": "toolkits/customMetrics",
- "applicationScope": "Default",
- "applicationVersion": "1.0.0",
- "checkpointPath": "/mypath/testapps/customMetrics/data/ckpt",
- "dataPath": "/myapps/mydata",
- "dynamicThreadingElastic": true,
- "dynamicThreadingThreadCount": 2,
- "fusionScheme": "automatic",
- "generationId": 1,
- "health": "healthy",
- "hosts": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "0",
- "jobResourceSharing": "sameInstance",
- "name": "Main_0",
- "outputPath": "output",
- "productVersion": "7.2.0.0",
- "proposedOperatorsPerResource": 8,
- "resourceAllocations": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "job",
- "restid": "0",
- "startedBy": "streamsadmin",
- "status": "running",
- "submitParameters": [
- {
- "composite": "application::AllDataTypes",
- "defaultValue": "10000",
- "name": "iterations",
- "parameterKind": "named",
- "required": false,
- "values": [
- "1000"
]
}
], - "submitTime": 1538172886000,
- "threadingModel": "notSpecified",
- "topologyUpdating": false,
}
This method provides the ability to perform job actions such as: setting PE tracing levels, starting PEs, and stopping PEs.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
type required | string Enum: "setPeTracingLevel" "startPes" "stopPes" Specifies the action to perform:
|
pes | Array of strings Provides a list of target PE identifiers for the action. This property applies to the following action types: startPes, stopPes. |
tracingLevel | string Enum: "debug" "error" "information" "off" "trace" "warning" Identifies the new PE trace granularity to set. This property applies to the following action types: setPeTracingLevel*.
|
{- "Set PE tracing level example": {
- "type": "setPeTracingLevel",
- "tracingLevel": "error"
}, - "Start PEs example": {
- "type": "startPes",
- "pes": [
- "0"
]
}, - "Stop PEs example": {
- "type": "stopPes",
- "pes": [
- "0"
]
}
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve application log for a job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve a metrics snapshot for a job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This method provides ability to retrieve the product log entries associated with the job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
endTime | integer <int64> Example: endTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time before the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. By default, all items are returned regardless of time. |
startTime | integer <int64> Example: startTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. If the If-Modified-Since-Milliseconds header is also specified, the header value is ignored. By default, all items are returned regardless of time. |
If-Modified-Since-Milliseconds | integer <int64> Example: 1537301102922 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. To retrieve only items with a time after the last items returned, set this header value to the time that was returned by the Last-Modified-Milliseconds response header from the previous request. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides access to a properties snapshot for a job and its child resources.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
includeStatics | boolean Example: includeStatics=false Indicates whether static properties should be included in a snapshot. A static property is a property whose value does not change. If this parameter is not specified, static properties are included. Identifier properties are always included. |
maximumDepth | integer <int64> Example: maximumDepth=-1 Specifies which descendant object properties should be included in a snapshot. If this parameter is not specified, all descendant properties are included. Values are handled as follows:
|
{- "adlFile": "notSpecified",
- "applicationName": "myapps::app1",
- "applicationPath": "toolkits/customMetrics",
- "applicationScope": "default",
- "applicationVersion": "1.0.0",
- "checkpointPath": "/mypath/testapps/customMetrics/data/ckpt",
- "dataPath": "/mydatapath",
- "dynamicThreadingElastic": true,
- "dynamicThreadingThreadCount": 2,
- "fusionScheme": "automatic",
- "generationId": 0,
- "health": "healthy",
- "id": "9",
- "instance": "myinstance",
- "jobGroup": "default",
- "jobResourceSharing": "sameInstance",
- "name": "Main_0",
- "outputPath": "output",
- "pes": [
- {
- "health": "healthy",
- "id": "0",
- "indexWithinJob": 0,
- "inputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": "9",
- "outputPort": 0,
- "pe": "0"
}, - "status": "connected",
- "target": {
- "inputPort": 0,
- "job": "9",
- "pe": "0"
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorInputPorts": [
- 0
], - "transportType": "tcp"
}
], - "launchCount": 1,
- "operators": [
- {
- "indexWithinJob": 2,
- "inputPorts": [
- {
- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "peConnection": "o0p5i0p10",
- "source": {
- "job": null,
- "operator": null,
- "outputPort": null,
- "pe": null
}, - "target": {
- "inputPort": null,
- "job": null,
- "operator": null,
- "pe": null
}
}
], - "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "operator": "ESource2",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peInputPorts": [
- 0
]
}
], - "name": "operatorName",
- "operatorKind": "spl.utility::Beacon",
- "outputPorts": [
- {
- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "peConnection": "o0p5i0p10",
- "source": {
- "job": null,
- "operator": null,
- "outputPort": null,
- "pe": null
}, - "target": {
- "inputPort": null,
- "job": null,
- "operator": null,
- "pe": null
}
}
], - "export": {
- "filterAllowed": true,
- "name": "fSource1",
- "operator": "Source1",
- "type": "name"
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peOutputPorts": [
- 0
], - "streamViewable": true
}
]
}
], - "optionalConnections": "connected",
- "outputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": "9",
- "outputPort": 0,
- "pe": "0"
}, - "status": "connected",
- "target": {
- "inputPort": 0,
- "job": "9",
- "pe": "0"
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorOutputPorts": [
- 0
], - "transportType": "tcp"
}
], - "processId": "1001",
- "relocatable": true,
- "requiredConnections": "conneted",
- "resource": "app-9",
- "resourceTags": [
- "application"
], - "restartable": true,
- "status": "running",
- "statusReason": "userRequest",
- "traceLevel": "trace"
}
], - "productVersion": "5.0.0.0.20190814150153",
- "proposedOperatorsPerResource": 34,
- "resources": [
- "app-9"
], - "startedBy": "admin",
- "status": "running",
- "submitParameters": [
- {
- "composite": "application::AllDataTypes",
- "defaultValue": "10000",
- "name": "iterations",
- "parameterKind": "named",
- "required": false,
- "values": [
- "1000"
]
}
], - "submitTime": 1538172886000,
- "threadingModel": "notSpecified",
- "topologyUpdating": false
}
This collection resource provides access to information about the PEs that are running within the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
resource.restid | string Example: resource.restid=management-0 Specifies the value of the restid property for a resource that is allocated to the instance. If this parameter is used, the list is limited to the resources for the specified Streams instance resource. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "pes": [
- {
- "applicationTrace": "https://host:port/streams/instances/{instanceId}/jobs/{jobId}/applicationtrace",
- "currentWorkingPath": "/mydir/myworkingdir",
- "health": "healthy",
- "host": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "0",
- "indexWithinJob": 1,
- "launchCount": 1,
- "optionalConnections": "connected",
- "osCapabilities": [
- "CAP_SETPCAP"
], - "pendingTracingLevel": "error",
- "processId": "1001",
- "relocatable": true,
- "requiredConnections": "connected",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceTags": [
- "application"
], - "resourceType": "pe",
- "restartPriority": "none",
- "restartable": true,
- "restid": "0",
- "status": "running",
- "statusReason": "userRequest",
- "tracingLevel": "error"
}
], - "resourceType": "peList",
- "total": 50
}
This element resource provides access to information about a PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "applicationTrace": "https://host:port/streams/instances/{instanceId}/jobs/{jobId}/applicationtrace",
- "currentWorkingPath": "/mydir/myworkingdir",
- "health": "healthy",
- "host": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "0",
- "indexWithinJob": 1,
- "launchCount": 1,
- "optionalConnections": "connected",
- "osCapabilities": [
- "CAP_SETPCAP"
], - "pendingTracingLevel": "error",
- "processId": "1001",
- "relocatable": true,
- "requiredConnections": "connected",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceTags": [
- "application"
], - "resourceType": "pe",
- "restartPriority": "none",
- "restartable": true,
- "restid": "0",
- "status": "running",
- "statusReason": "userRequest",
- "tracingLevel": "error"
}
This method provides the ability to update PE properties.
Note:
tracingLevel
property is an asynchronous operation so the response body might not include the updated value.instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
tracingLevel | string Enum: "debug" "error" "information" "off" "trace" "warning" Identifies the new PE trace granularity to set. |
{- "tracingLevel": "debug"
}
{- "applicationTrace": "https://host:port/streams/instances/{instanceId}/jobs/{jobId}/applicationtrace",
- "currentWorkingPath": "/mydir/myworkingdir",
- "health": "healthy",
- "host": "Deprecated: This property is deprecated and might become obsolete.",
- "id": "0",
- "indexWithinJob": 1,
- "launchCount": 1,
- "optionalConnections": "connected",
- "osCapabilities": [
- "CAP_SETPCAP"
], - "pendingTracingLevel": "error",
- "processId": "1001",
- "relocatable": true,
- "requiredConnections": "connected",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceTags": [
- "application"
], - "resourceType": "pe",
- "restartPriority": "none",
- "restartable": true,
- "restid": "0",
- "status": "running",
- "statusReason": "userRequest",
- "tracingLevel": "error"
}
This method provides the ability to perform PE actions such as: starting the PE, and stopping the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
type required | string Enum: "start" "stop" Specifies the action to perform:
|
{- "type": "start"
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve the trace file for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides the ability to retrieve standard output and standard error log entries for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to metrics for a PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This method provides access to a metrics snapshot for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This method provides the ability to retrieve the product log entries associated with the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
endTime | integer <int64> Example: endTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time before the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. By default, all items are returned regardless of time. |
startTime | integer <int64> Example: startTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. If the If-Modified-Since-Milliseconds header is also specified, the header value is ignored. By default, all items are returned regardless of time. |
If-Modified-Since-Milliseconds | integer <int64> Example: 1537301102922 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. To retrieve only items with a time after the last items returned, set this header value to the time that was returned by the Last-Modified-Milliseconds response header from the previous request. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This method provides access to a properties snapshot for a PE and its child resources.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
includeStatics | boolean Example: includeStatics=false Indicates whether static properties should be included in a snapshot. A static property is a property whose value does not change. If this parameter is not specified, static properties are included. Identifier properties are always included. |
maximumDepth | integer <int64> Example: maximumDepth=-1 Specifies which descendant object properties should be included in a snapshot. If this parameter is not specified, all descendant properties are included. Values are handled as follows:
|
{- "health": "healthy",
- "id": "0",
- "indexWithinJob": 0,
- "inputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": "9",
- "outputPort": 0,
- "pe": "0"
}, - "status": "connected",
- "target": {
- "inputPort": 0,
- "job": "9",
- "pe": "0"
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorInputPorts": [
- 0
], - "transportType": "tcp"
}
], - "instance": "myinstance",
- "job": "0",
- "launchCount": 1,
- "operators": [
- {
- "indexWithinJob": 2,
- "inputPorts": [
- {
- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "peConnection": "o0p5i0p10",
- "source": {
- "job": "5",
- "operator": "fSource2",
- "outputPort": 0,
- "pe": "5"
}, - "target": {
- "inputPort": 0,
- "job": "5",
- "operator": "fSource2",
- "pe": "5"
}
}
], - "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "operator": "ESource2",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peInputPorts": [
- 0
]
}
], - "name": "operatorName",
- "operatorKind": "spl.utility::Beacon",
- "outputPorts": [
- {
- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "peConnection": "o0p5i0p10",
- "source": {
- "job": "5",
- "operator": "fSource2",
- "outputPort": 0,
- "pe": "5"
}, - "target": {
- "inputPort": 0,
- "job": "5",
- "operator": "fSource2",
- "pe": "5"
}
}
], - "export": {
- "filterAllowed": true,
- "name": "fSource1",
- "operator": "Source1",
- "type": "name"
}, - "indexWithinOperator": 0,
- "name": "fSource1",
- "peOutputPorts": [
- 0
], - "streamViewable": true
}
]
}
], - "optionalConnections": "connected",
- "outputPorts": [
- {
- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "source": {
- "job": "9",
- "outputPort": 0,
- "pe": "0"
}, - "status": "connected",
- "target": {
- "inputPort": 0,
- "job": "9",
- "pe": "0"
}
}
], - "id": "1",
- "indexWithinPE": 0,
- "operatorOutputPorts": [
- 0
], - "transportType": "tcp"
}
], - "processId": 1001,
- "relocatable": true,
- "requiredConnections": "conneted",
- "resource": "app-9",
- "resourceTags": [
- "application"
], - "restartable": true,
- "status": "running",
- "statusReason": "userRequest",
- "traceLevel": "trace"
}
This collection resource provides access to information about the input ports for the PE for an operator input port
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
view.restid | string Example: view.restid=myInstance.Main_0.myView Specifies the value of the restid property for a view resource. If this parameter is used, the list is limited to the resources for the specified view. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "id": "0",
- "indexWithinPE": 1,
- "operatorInputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/inputports/{portId}/operatorinputports",
- "resourceType": "peInputPort",
- "restid": "0",
- "transportType": "tcp"
}
], - "resourceType": "peInputPortList",
- "total": 50
}
This collection resource provides access to information about the output ports for the PE for an operator output port
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
view.restid | string Example: view.restid=myInstance.Main_0.myView Specifies the value of the restid property for a view resource. If this parameter is used, the list is limited to the resources for the specified view. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "id": "1",
- "indexWithinPE": 1,
- "operatorOutputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/outputports/{portId}/operatoroutputports",
- "resourceType": "peOutputPort",
- "restid": "1",
- "transportType": "tcp"
}
], - "resourceType": "peOutputPortList",
- "total": 50
}
This collection resource provides access to information about the input ports for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "id": "0",
- "indexWithinPE": 1,
- "operatorInputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/inputports/{portId}/operatorinputports",
- "resourceType": "peInputPort",
- "restid": "0",
- "transportType": "tcp"
}
], - "resourceType": "peInputPortList",
- "total": 50
}
This element resource provides access to information about an input port for a specific PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "id": "0",
- "indexWithinPE": 1,
- "operatorInputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/inputports/{portId}/operatorinputports",
- "resourceType": "peInputPort",
- "restid": "0",
- "transportType": "tcp"
}
This collection resource provides access to metrics for a PE input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the input ports for the operator for a PE input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "names": [
- {
- "applicationScope": "default",
- "name": "mystream",
- "operator": "operator1"
}
], - "operator": "myoperator",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Scalars",
- "resourceType": "operatorInputPort",
- "restid": "1",
}
], - "resourceType": "operatorInputPortList",
- "total": 50
}
This collection resource provides access to information about the output ports for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "id": "1",
- "indexWithinPE": 1,
- "operatorOutputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/outputports/{portId}/operatoroutputports",
- "resourceType": "peOutputPort",
- "restid": "1",
- "transportType": "tcp"
}
], - "resourceType": "peOutputPortList",
- "total": 50
}
This element resource provides access to information about an output port for a specific PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "id": "1",
- "indexWithinPE": 1,
- "operatorOutputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/outputports/{portId}/operatoroutputports",
- "resourceType": "peOutputPort",
- "restid": "1",
- "transportType": "tcp"
}
This collection resource provides access to metrics for a PE output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the output ports for the operator for a PE output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "exceptionPort": false,
- "export": {
- "filterAllowed": true,
- "name": "myExportName",
- "operator": "myOperatorName",
- "properties": [
- {
- "name": "mypropname",
- "type": "rstring",
- "values": [
- "mypropvalue"
]
}
], - "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Stream2",
- "resourceType": "operatorOutputPort",
- "restid": "1",
- "streamName": "tradeQuote",
- "streamViewable": true,
}
], - "resourceType": "operatorOutputPortList",
- "total": 50
}
This collection resource provides access to information about the connections for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
pe.restid | string Example: pe.restid=0 Specifies the value of the restid property for a PE resource. If this parameter is used, the list is limited to the resources for the specified PE. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "resourceType": "peConnection",
- "restid": "o0p1i0p2",
- "status": "connected",
}
], - "resourceType": "peConnectionList",
- "total": 50
}
This element resource provides access to information about a connection between two processing element (PE) ports.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
connectionId required | string Example: o0p0i0p1 Specifies the unique identifier for the connection. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "id": "o0p1i0p2",
- "required": true,
- "resourceType": "peConnection",
- "restid": "o0p1i0p2",
- "status": "connected",
}
This collection resource provides access to metrics for a PE connection.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
connectionId required | string Example: o0p0i0p1 Specifies the unique identifier for the connection. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the connections for a PE input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "resourceType": "peConnection",
- "restid": "o0p1i0p2",
- "status": "connected",
}
], - "resourceType": "peConnectionList",
- "total": 50
}
This collection resource provides access to information about the connections for a PE output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o0p1i0p2",
- "required": true,
- "resourceType": "peConnection",
- "restid": "o0p1i0p2",
- "status": "connected",
}
], - "resourceType": "peConnectionList",
- "total": 50
}
This element resource provides access to information about a specific operator in a job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "channel": 1,
- "channels": [
- {
- "indexWithinRegion": 1,
- "logicalOperatorName": "operatorName"
}
], - "host": "Deprecated: This property is deprecated and might become obsolete.",
- "indexWithinJob": 1,
- "logicalName": "logicalName",
- "name": "operatorName",
- "operatorKind": "spl.utility::Beacon",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "operator",
- "restid": "operatorName",
}
This method provides the ability to retrieve the PE trace file entries associated with the operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to metrics for an operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This method provides the ability to retrieve the product log entries associated with the operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
endTime | integer <int64> Example: endTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time before the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. By default, all items are returned regardless of time. |
startTime | integer <int64> Example: startTime=1487373013042 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. If the If-Modified-Since-Milliseconds header is also specified, the header value is ignored. By default, all items are returned regardless of time. |
If-Modified-Since-Milliseconds | integer <int64> Example: 1537301102922 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. To retrieve only items with a time after the last items returned, set this header value to the time that was returned by the Last-Modified-Milliseconds response header from the previous request. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about the operators in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
pe.restid | string Example: pe.restid=0 Specifies the value of the restid property for a PE resource. If this parameter is used, the list is limited to the resources for the specified PE. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "operators": [
- {
- "channel": 1,
- "channels": [
- {
- "indexWithinRegion": 1,
- "logicalOperatorName": "operatorName"
}
], - "host": "Deprecated: This property is deprecated and might become obsolete.",
- "indexWithinJob": 1,
- "logicalName": "logicalName",
- "name": "operatorName",
- "operatorKind": "spl.utility::Beacon",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "operator",
- "restid": "operatorName",
}
], - "resourceType": "operatorList",
- "total": 50
}
This collection resource provides access to information about the input ports for the operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "names": [
- {
- "applicationScope": "default",
- "name": "mystream",
- "operator": "operator1"
}
], - "operator": "myoperator",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Scalars",
- "resourceType": "operatorInputPort",
- "restid": "1",
}
], - "resourceType": "operatorInputPortList",
- "total": 50
}
This element resource provides access to information about an input port for a specific operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "names": [
- {
- "applicationScope": "default",
- "name": "mystream",
- "operator": "operator1"
}
], - "operator": "myoperator",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Scalars",
- "resourceType": "operatorInputPort",
- "restid": "1",
}
This collection resource provides access to metrics for an operator input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the input ports for the PE for an operator input port
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
view.restid | string Example: view.restid=myInstance.Main_0.myView Specifies the value of the restid property for a view resource. If this parameter is used, the list is limited to the resources for the specified view. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "id": "0",
- "indexWithinPE": 1,
- "operatorInputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/inputports/{portId}/operatorinputports",
- "resourceType": "peInputPort",
- "restid": "0",
- "transportType": "tcp"
}
], - "resourceType": "peInputPortList",
- "total": 50
}
This collection resource provides access to information about the output ports for the operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
view.restid | string Example: view.restid=myInstance.Main_0.myView Specifies the value of the restid property for a view resource. If this parameter is used, the list is limited to the resources for the specified view. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "exceptionPort": false,
- "export": {
- "filterAllowed": true,
- "name": "myExportName",
- "operator": "myOperatorName",
- "properties": [
- {
- "name": "mypropname",
- "type": "rstring",
- "values": [
- "mypropvalue"
]
}
], - "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Stream2",
- "resourceType": "operatorOutputPort",
- "restid": "1",
- "streamName": "tradeQuote",
- "streamViewable": true,
}
], - "resourceType": "operatorOutputPortList",
- "total": 50
}
This element resource provides access to information about an output port for a specific operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "exceptionPort": false,
- "export": {
- "filterAllowed": true,
- "name": "myExportName",
- "operator": "myOperatorName",
- "properties": [
- {
- "name": "mypropname",
- "type": "rstring",
- "values": [
- "mypropvalue"
]
}
], - "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Stream2",
- "resourceType": "operatorOutputPort",
- "restid": "1",
- "streamName": "tradeQuote",
- "streamViewable": true,
}
This collection resource provides access to metrics for an operator output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the output ports for the PE for an operator output port
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
view.restid | string Example: view.restid=myInstance.Main_0.myView Specifies the value of the restid property for a view resource. If this parameter is used, the list is limited to the resources for the specified view. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "id": "1",
- "indexWithinPE": 1,
- "operatorOutputPorts": "https://host:port/streams/instances/{instanceId}/pes/{peId}/outputports/{portId}/operatoroutputports",
- "resourceType": "peOutputPort",
- "restid": "1",
- "transportType": "tcp"
}
], - "resourceType": "peOutputPortList",
- "total": 50
}
This collection resource provides access to the tuple attributes for the stream associated with an operator output port
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "tupleAttributeList",
- "total": 50,
- "tupleAttributes": [
- {
- "boundedSize": 64,
- "elementType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "keyType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "name": "unsignedint128kList",
- "possibleValues": [
- "warning"
], - "splType": "list<uint32>[32768]",
- "tupleAttributes": [
- {
- "boundedSize": 64,
- "elementType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "keyType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "name": "unsignedint128kList",
- "possibleValues": [
- "warning"
], - "splType": "list<uint32>[32768]",
- "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "valueType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}
}
], - "type": "int64",
- "underlyingType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}, - "valueType": {
- "boundedSize": 64,
- "elementType": { },
- "keyType": { },
- "possibleValues": [
- "warning"
], - "tupleAttributes": [
- { }
], - "type": "int64",
- "underlyingType": { },
- "valueType": { }
}
}
]
}
This collection resource provides access to information about the input ports for the operator for a PE input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "inputPorts": [
- {
- "import": {
- "applicationScope": "default",
- "filter": "myfilter",
- "names": [
- {
- "applicationScope": "default",
- "name": "mystream",
- "operator": "operator1"
}
], - "operator": "myoperator",
- "subscription": "rstring",
- "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Scalars",
- "resourceType": "operatorInputPort",
- "restid": "1",
}
], - "resourceType": "operatorInputPortList",
- "total": 50
}
This collection resource provides access to information about the output ports for the operator for a PE output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "outputPorts": [
- {
- "exceptionPort": false,
- "export": {
- "filterAllowed": true,
- "name": "myExportName",
- "operator": "myOperatorName",
- "properties": [
- {
- "name": "mypropname",
- "type": "rstring",
- "values": [
- "mypropvalue"
]
}
], - "type": "name"
}, - "indexWithinOperator": 1,
- "name": "Stream2",
- "resourceType": "operatorOutputPort",
- "restid": "1",
- "streamName": "tradeQuote",
- "streamViewable": true,
}
], - "resourceType": "operatorOutputPortList",
- "total": 50
}
This collection resource provides access to information about the operator connections for an operator input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "required": true,
- "resourceType": "operatorConnection",
- "restid": "o0r3j2i0r4j2",
- "source": {
}, - "target": {
}
}
], - "resourceType": "operatorConnectionList",
- "total": 50
}
This collection resource provides access to information about the operator connections for an operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "required": true,
- "resourceType": "operatorConnection",
- "restid": "o0r3j2i0r4j2",
- "source": {
}, - "target": {
}
}
], - "resourceType": "operatorConnectionList",
- "total": 50
}
This collection resource provides access to information about the operator connections for an operator output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "required": true,
- "resourceType": "operatorConnection",
- "restid": "o0r3j2i0r4j2",
- "source": {
}, - "target": {
}
}
], - "resourceType": "operatorConnectionList",
- "total": 50
}
This collection resource provides access to information about the operator connections for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "connections": [
- {
- "id": "o3r12j0i0r16j0",
- "required": true,
- "resourceType": "operatorConnection",
- "restid": "o0r3j2i0r4j2",
- "source": {
}, - "target": {
}
}
], - "resourceType": "operatorConnectionList",
- "total": 50
}
This element resource provides access to information about a connection between two operator ports.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
connectionId required | string Example: o0p0i0p1 Specifies the unique identifier for the connection. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "id": "o3r12j0i0r16j0",
- "required": true,
- "resourceType": "operatorConnection",
- "restid": "o0r3j2i0r4j2",
- "source": {
}, - "target": {
}
}
This collection resource provides access to information about the job groups for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "jobGroups": [
- {
- "name": "jobGroup1",
- "resourceType": "jobGroup",
- "restid": "jobGroup1",
}
], - "resourceType": "jobGroupList",
- "total": 50
}
This method provides the ability to create a new job group.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
name required | string Identifies the name of the job group to create. |
{- "name": "dept123"
}
{- "name": "jobGroup1",
- "resourceType": "jobGroup",
- "restid": "jobGroup1",
}
This method provides the ability to remove a job group from the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobGroupName required | string Example: myJobGroup Identifies the job group name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a job group.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobGroupName required | string Example: myJobGroup Identifies the job group name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "jobGroup1",
- "resourceType": "jobGroup",
- "restid": "jobGroup1",
}
This collection resource provides access to information about all of the views that are associated with active jobs.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "viewList",
- "total": 50,
- "views": [
- {
- "activateOption": "automatic",
- "attributes": [
- {
- "name": "tradePrice",
- "type": "rstring"
}
], - "bufferCapacitySeconds": 30,
- "bufferCapacityTuples": 100,
- "bufferCapacityUnits": "seconds",
- "description": "myView",
- "filterAttribute": "maxCount",
- "filterData": false,
- "filterExpression": "^July",
- "id": "jwView",
- "logicalOperatorName": "myOperator",
- "maximumTupleRate": 10,
- "name": "jwView",
- "resourceType": "view",
- "restid": "jwView",
- "started": true,
}
]
}
This element resource provides access to information about a view that is associated with an active job. You can use the view to access job data. You can use View actions to submit actions to a view.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
viewId required | string Example: myInstance.Main_0.myView Specifies the unique identifier for the view. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "activateOption": "automatic",
- "attributes": [
- {
- "name": "tradePrice",
- "type": "rstring"
}
], - "bufferCapacitySeconds": 30,
- "bufferCapacityTuples": 100,
- "bufferCapacityUnits": "seconds",
- "description": "myView",
- "filterAttribute": "maxCount",
- "filterData": false,
- "filterExpression": "^July",
- "id": "jwView",
- "logicalOperatorName": "myOperator",
- "maximumTupleRate": 10,
- "name": "jwView",
- "resourceType": "view",
- "restid": "jwView",
- "started": true,
}
This method provides the ability to perform view actions such as: starting the view and stopping the view.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
viewId required | string Example: myInstance.Main_0.myView Specifies the unique identifier for the view. |
type required | string Enum: "start" "stop" Specifies the action to perform:
|
{- "type": "start"
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to the tuple data that is buffered by a view. For example, you can use the REST API to display the buffered tuple data in a custom application or a third-party charting tool. In addition, the collection resource provides information about the data, such as the time it was collected.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
viewId required | string Example: myInstance.Main_0.myView Specifies the unique identifier for the view. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
If-Modified-Since-Milliseconds | integer <int64> Example: 1537301102922 Specifies a time identifying which items to retrieve. Only items with a time after the specified time are returned. The unit of time is milliseconds since midnight Greenwich mean time (GMT) January 1, 1970. To retrieve only items with a time after the last items returned, set this header value to the time that was returned by the Last-Modified-Milliseconds response header from the previous request. |
{- "resourceType": "viewItemList",
- "total": 50,
- "viewItems": [
- {
- "channel": 1,
- "channels": [
- 1
], - "collectionTime": 1487373013042,
- "data": "{\"id\":\"myid\"}",
- "resourceType": "viewItem"
}
]
}
This collection resource provides access to metrics for a resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to the metadata for job metrics.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "jobMetricMetadata": [
- {
- "description": "Metric description.",
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "metricMetadata",
- "restid": "nTuplesSubmitted",
- "valueType": "long"
}
], - "resourceType": "metricMetadataList",
- "total": 50
}
This element resource provides access to the metadata for a metric.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
metricName required | string Example: nTuplesProcessed Identifies the metric name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "description": "Metric description.",
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "metricMetadata",
- "restid": "nTuplesSubmitted",
- "valueType": "long"
}
This method provides access to a metrics snapshot for jobs in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
restid | string Example: restid=0 Specifies the value of the restid property for one or more job resources separated by commas. If this parameter is used, the snapshot is limited to the specified jobs. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This method provides the ability to retrieve a metrics snapshot for a job.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This collection resource provides access to metrics for an operator input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to metrics for an operator.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to metrics for an operator output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
jobId required | string Example: 0 Specifies the unique identifier for the job. |
operatorName required | string Example: sink Identifies the operator name. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to metrics for a PE connection.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
connectionId required | string Example: o0p0i0p1 Specifies the unique identifier for the connection. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to metrics for a PE input port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to metrics for a PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This method provides access to a metrics snapshot for the PE.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
{- "id": "0",
- "pes": [
- {
- "indexWithinJob": 3,
- "operators": [
- {
- "outputPorts": [ ],
- "name": "ScalarsForward",
- "inputPorts": [
- {
- "indexWithinOperator": 0,
- "metrics": [
- {
- "name": "queueSize",
- "value": 0
}, - {
- "name": "nEnqueueWaits",
- "value": 0
}
]
}
], - "metrics": [
- {
- "name": "relativeOperatorCost",
- "value": 0
}
]
}
], - "lastTimeRetrieved": 1539106030000
}
]
}
This collection resource provides access to metrics for a PE output port.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
peId required | string Example: 0 Specifies the unique identifier for the PE. |
portId required | string Example: 0 Specifies the unique identifier for the port. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the application configurations for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "applicationConfigurations": [
- {
- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
], - "resourceType": "applicationConfigurationList",
- "total": 50
}
This method provides the ability to create a new application configuration.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
name required | string Identifies the name of the application configuration. |
required | object The properties to store for the application configuration |
description | string The description for the application configuration. |
{- "name": "myConfig",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "description": "My description"
}
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This method provides the ability to remove an application configuration.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a domain application configuration.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This method provides the ability to update an application configuration.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
description | string The new description for the application configuration. |
object The set of properties to update. |
{- "description": "My new description",
- "properties": {
- "name-of-property+": "newValue"
}
}
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This collection resource provides access to information about restricted configurations for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "restrictedConfigurationList",
- "restrictedConfigurations": [
- {
- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
], - "total": 50
}
This method provides the ability to create a new restricted configuration.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
name required | string Identifies the name of the restricted configuration. |
value required | string Identifies the value of the restricted configuration. |
{- "name": "myRestrictedConfig",
- "value": "restrictedValue"
}
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This method provides the ability to remove the restricted configuration from the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information for a restricted configuration.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This method provides the ability to replace a restricted configuration value.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
value required | string Identifies the value of the restricted configuration. |
{- "value": "restrictedValue"
}
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This collection resource provides access to information about the application configurations for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "applicationConfigurations": [
- {
- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
], - "resourceType": "applicationConfigurationList",
- "total": 50
}
This method provides the ability to create a new application configuration.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
name required | string Identifies the name of the application configuration. |
required | object The properties to store for the application configuration |
description | string The description for the application configuration. |
{- "name": "myConfig",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "description": "My description"
}
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This method provides the ability to remove an application configuration.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about an application configuration.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This method provides the ability to update an application configuration.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationConfigurationName required | string Example: myAppConfig Identifies the application configuration name. |
description | string The new description for the application configuration. |
object The set of properties to update. |
{- "description": "My new description",
- "properties": {
- "name-of-property+": "newValue"
}
}
{- "creationTime": 1537301102922,
- "description": "This configuration is used to store the URL to be used by our application.",
- "lastModifiedTime": 1537301102922,
- "name": "myAppConfig",
- "owner": "streamsadmin",
- "properties": {
- "name-of-property+": "propertyValue"
}, - "resourceType": "applicationConfiguration",
- "restid": "myAppConfig",
}
This collection resource provides access to information about application environment variables for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "applicationEnvironmentVariables": [
- {
- "name": "envVar1",
- "resourceType": "applicationEnvironmentVariable",
- "restid": "envVar1",
- "value": "envVarValue1"
}
], - "resourceType": "applicationEnvironmentVariableList",
- "total": 50
}
This method provides the ability to add an application environment variable to the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
name required | string Identifies the name of the application environment variable. |
value required | string Identifies the value of the application environment variable. |
{- "name": "LANG",
- "value": "en_US.UTF-8"
}
{- "name": "envVar1",
- "resourceType": "applicationEnvironmentVariable",
- "restid": "envVar1",
- "value": "envVarValue1"
}
This method provides the ability to remove an application environment variable from the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationEnvironmentVariableName required | string Example: myAppEnvVar Identifies the application environment variable name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about an application environment variable.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationEnvironmentVariableName required | string Example: myAppEnvVar Identifies the application environment variable name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "envVar1",
- "resourceType": "applicationEnvironmentVariable",
- "restid": "envVar1",
- "value": "envVarValue1"
}
This method provides the ability to replace the value of an application environment variable.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
applicationEnvironmentVariableName required | string Example: myAppEnvVar Identifies the application environment variable name. |
value required | string Identifies the value of the application environment variable. |
{- "value": "myEnvValue"
}
{- "name": "envVar1",
- "resourceType": "applicationEnvironmentVariable",
- "restid": "envVar1",
- "value": "envVarValue1"
}
This collection resource provides access to information about restricted configurations for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "restrictedConfigurationList",
- "restrictedConfigurations": [
- {
- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
], - "total": 50
}
This method provides the ability to create a new restricted configuration.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
name required | string Identifies the name of the restricted configuration. |
value required | string Identifies the value of the restricted configuration. |
{- "name": "myRestrictedConfig",
- "value": "restrictedValue"
}
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This method provides the ability to remove the restricted configuration from the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information for a restricted configuration.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This method provides the ability to replace a restricted configuration value.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
restrictedConfigurationName required | string Example: myDbCredentials Identifies the restricted configuration name. |
value required | string Identifies the value of the restricted configuration. |
{- "value": "restrictedValue"
}
{- "name": "restrictedConfig1",
- "resourceType": "restrictedConfiguration",
- "restid": "restrictedConfig1",
- "value": "restricted configuration value"
}
This collection resource provides access to information about domain resources.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "resourceList",
- "resources": [
- {
- "allocations": "Deprecated: This property is deprecated and might become obsolete.",
- "displayName": "systema.teracloud.com",
- "exclusiveInstance": "instance1",
- "id": "systemA",
- "ipAddress": "1.2.3.4",
- "resourceType": "resource",
- "restid": "systema.teracloud.com",
- "restrictedTags": [
- "operations"
], - "self": "https:port/streams/domains/{domainId}/resources/{resourceId}",
- "serviceStatus": [
- {
- "name": "aas",
- "status": "running"
}
], - "status": "running",
- "systemService": true,
- "tags": [
- "application"
], - "type": "streams"
}
], - "total": 50
}
This element resource provides access to information for a domain resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "allocations": "Deprecated: This property is deprecated and might become obsolete.",
- "displayName": "systema.teracloud.com",
- "exclusiveInstance": "instance1",
- "id": "systemA",
- "ipAddress": "1.2.3.4",
- "resourceType": "resource",
- "restid": "systema.teracloud.com",
- "restrictedTags": [
- "operations"
], - "self": "https:port/streams/domains/{domainId}/resources/{resourceId}",
- "serviceStatus": [
- {
- "name": "aas",
- "status": "running"
}
], - "status": "running",
- "systemService": true,
- "tags": [
- "application"
], - "type": "streams"
}
This method provides the ability to perform resource actions such as quiescing and resuming the resource. It also provides support for performing actions specifically for resources managed by the Streams resource manager, such as adding and removing tags and restricting resource usage.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
type required | string Enum: "addTag" "quiesce" "removeTag" "restrict" "resume" "unrestrict" Identifies the action to perform:
|
force | boolean Indicates whether the quiesce operation should be run even if required services are running on the resource and there are no waiting services of the same type. This property applies to the following action types: quiesce. |
{- "Quiesce resource": {
- "type": "quiesce",
- "force": true
}, - "Resume resource": {
- "type": "resume"
}, - "Add tag to resource": {
- "type": "addTag",
- "tag": "sensitive"
}, - "Remove tag from resource": {
- "type": "removeTag",
- "tag": "sensitive"
}, - "Restict resource to running only PEs with specified tag, fail if Streams services or jobs are already running": {
- "type": "restrict",
- "tag": "sensitive",
- "allowActiveInstances": false
}, - "Remove restriction of resource running only PEs with specified tag": {
- "type": "unrestrict",
- "tag": "sensitive"
}
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides information about all installations with the same base installation path as the installation that runs the domain controller service on the specified resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "installations": [
- {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "installPath": "/home/joeuser/streams/7.2.0.0",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "owner": "joeuser",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0",
- "resourceType": "installation"
}
], - "resourceType": "installationList",
- "total": 50
}
This collection resource provides access to metrics for a resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "metrics": [
- {
- "description": "metric description",
- "lastTimeRetrieved": 1487373013042,
- "metricKind": "gauge",
- "metricType": "system",
- "name": "nTuplesSubmitted",
- "resourceType": "instance",
- "value": 1234
}
], - "resourceType": "metricList",
- "total": 50
}
This collection resource provides access to information about the resources in use by an instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
job.restid | string Example: job.restid=0 Specifies the value of the restid property for a job resource. If this parameter is used, the list is limited to the resources for the specified job. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "resourceList",
- "resources": [
- {
- "applicationResource": true,
- "displayName": "systema.teracloud.com",
- "exclusiveInstance": "instance1",
- "id": "systemA",
- "ipAddress": "1.2.3.4",
- "resourceSpecification": {
- "exclusive": false,
- "id": "1",
- "resourceCount": 2,
- "restrictedTags": [
- "operations"
], - "tags": [
- "large"
]
}, - "resourceType": "resource",
- "restid": "systema.teracloud.com",
- "restrictedTags": [
- "operations"
], - "schedulerStatus": "running",
- "self": "https:port/streams/instances/{instnaceId}/resources/{resourceId}",
- "serviceStatus": [
- {
- "name": "aas",
- "status": "running"
}
], - "status": "running",
- "systemService": true,
- "tags": [
- "application"
], - "type": "streams"
}
], - "total": 50
}
This element resource provides access to information for a resource in use by an instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "applicationResource": true,
- "displayName": "systema.teracloud.com",
- "exclusiveInstance": "instance1",
- "id": "systemA",
- "ipAddress": "1.2.3.4",
- "resourceSpecification": {
- "exclusive": false,
- "id": "1",
- "resourceCount": 2,
- "restrictedTags": [
- "operations"
], - "tags": [
- "large"
]
}, - "resourceType": "resource",
- "restid": "systema.teracloud.com",
- "restrictedTags": [
- "operations"
], - "schedulerStatus": "running",
- "self": "https:port/streams/instances/{instnaceId}/resources/{resourceId}",
- "serviceStatus": [
- {
- "name": "aas",
- "status": "running"
}
], - "status": "running",
- "systemService": true,
- "tags": [
- "application"
], - "type": "streams"
}
This method provides the ability to create a custom resource tag.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
name required | string Identifies the name of the custom resource tag. |
description | string Specifies a description for the custom resource tag. |
{- "name": "myTag",
- "description": "My description"
}
{- "description": "This configuration is used to store the URL to be used by our application.",
- "inUseByAnyInstance": true,
- "inUseByAnyJob": false,
- "name": "myCustomTag",
- "resourceType": "customResourceTag",
- "restid": "myTag",
}
This method provides the ability to remove a custom resource tag.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
customResourceTagName required | string Example: myCustomTag Identifies the custom resource tag name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a custom resource tag.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
customResourceTagName required | string Example: myCustomTag Identifies the custom resource tag name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "description": "This configuration is used to store the URL to be used by our application.",
- "inUseByAnyInstance": true,
- "inUseByAnyJob": false,
- "name": "myCustomTag",
- "resourceType": "customResourceTag",
- "restid": "myTag",
}
This method provides the ability to update a custom resource tag.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
customResourceTagName required | string Example: myCustomTag Identifies the custom resource tag name. |
description | string The new custom resource tag description to set. |
{- "description": "My new description"
}
{- "description": "This configuration is used to store the URL to be used by our application.",
- "inUseByAnyInstance": true,
- "inUseByAnyJob": false,
- "name": "myCustomTag",
- "resourceType": "customResourceTag",
- "restid": "myTag",
}
This collection resource provides access to information about the active Streams services in the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
resource.restid | string Example: resource.restid=management-0 Specifies the value of the restid property for a resource that is allocated to the instance. If this parameter is used, the list is limited to the resources for the specified Streams instance resource. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "activeServices": [
- {
- "connectionUrl": "service:jmx:jmxmp://host:9975",
- "leader": true,
- "processId": "1001",
- "resourceType": "activeService",
- "restid": "sws.1234",
- "self": "https:port/streams/domains/{domainId}/activeservices/{serviceId}",
- "startTime": 1537301102922,
- "status": "running",
- "type": "jmx"
}
], - "resourceType": "activeServiceList",
- "total": 50
}
This element resource provides access to information about an active Streams domain service.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
serviceId required | string Example: 4167755.sws Specifies the unique identifier for the service. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "connectionUrl": "service:jmx:jmxmp://host:9975",
- "leader": true,
- "processId": "1001",
- "resourceType": "activeService",
- "restid": "sws.1234",
- "self": "https:port/streams/domains/{domainId}/activeservices/{serviceId}",
- "startTime": 1537301102922,
- "status": "running",
- "type": "jmx"
}
This method provides the ability to perform active service actions such as restarting and moving to a different resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
serviceId required | string Example: 4167755.sws Specifies the unique identifier for the service. |
resource required | string Identifies the target resource for the move. This property applies to the following action types: move. |
type required | string Enum: "move" "restart" Identifies the action to perform:
|
all | boolean
|
{- "Restart this active service": {
- "type": "restart",
- "all": false
}, - "Restart all active services with this service type on all resources": {
- "type": "restart",
- "all": true
}, - "Move all active services with this service type from this resource to resourceB": {
- "type": "move",
- "resource": "resourceB",
- "all": true
}
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about the active Streams services in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
resource.restid | string Example: resource.restid=management-0 Specifies the value of the restid property for a resource that is allocated to the instance. If this parameter is used, the list is limited to the resources for the specified Streams instance resource. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "activeServices": [
- {
- "leader": true,
- "processId": "1001",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "activeService",
- "restid": "sam.1234",
- "self": "https:port/streams/instances/{instanceId}/activeservices/{serviceId}",
- "startTime": 1537301102922,
- "status": "running",
- "type": "view"
}
], - "resourceType": "activeServiceList",
- "total": 50
}
This element resource provides access to information about an active Streams instance service.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
serviceId required | string Example: 4167755.sws Specifies the unique identifier for the service. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "leader": true,
- "processId": "1001",
- "resourceAllocation": "Deprecated: This property is deprecated and might become obsolete.",
- "resourceType": "activeService",
- "restid": "sam.1234",
- "self": "https:port/streams/instances/{instanceId}/activeservices/{serviceId}",
- "startTime": 1537301102922,
- "status": "running",
- "type": "view"
}
This method provides the ability to perform active service actions such as restarting and moving to a different resource.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
serviceId required | string Example: 4167755.sws Specifies the unique identifier for the service. |
resource required | string Identifies the target resource for the move. This property applies to the following action types: move. |
type required | string Enum: "move" "restart" Identifies the action to perform:
|
all | boolean
|
{- "Restart this active service": {
- "type": "restart",
- "all": false
}, - "Restart all active services with this service type on all resources": {
- "type": "restart",
- "all": true
}, - "Move all active services with this service type from this resource to resourceB": {
- "type": "move",
- "resource": "resourceB",
- "all": true
}
}
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
APIs for managing security principals (users, groups and roles) and objects.
This collection resource provides access to information about the groups in the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "groups": [
- {
- "defaultPermissions": "https://host:port/streams/instances/{instanceId}/groups/{groupName}/defaultPermissions",
- "name": "accounting",
- "reserved": false,
- "resourceType": "group",
- "restid": "accounting",
}
], - "resourceType": "groupList",
- "total": 50
}
This element resource provides access to information about a group.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
groupName required | string Example: myGroup Identifies the group name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/instances/{instanceId}/groups/{groupName}/defaultPermissions",
- "name": "accounting",
- "reserved": false,
- "resourceType": "group",
- "restid": "accounting",
}
This collection resource provides access to information about the roles in the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "resourceType": "roleList",
- "roles": [
- {
- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
], - "total": 50
}
This method provides the ability to create a new role.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
name required | string Identifies the name of the role to create. |
{- "name": "myRole"
}
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This method provides the ability to remove the role from the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a role.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This method provides the ability to add and remove users and groups from a role.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
groups.add | Array of strings (optional) Specifies a list of groups to add to the role. |
groups.remove | Array of strings (optional) Specifies a list of groups to remove from the role. |
users.add | Array of strings (optional) Specifies a list of users to add to the role. |
users.remove | Array of strings (optional) Specifies a list of users to remove from the role. |
{- "groups.add": [
- "twins"
], - "groups.remove": [
- "vikings"
], - "users.add": [
- "john"
], - "users.remove": [
- "mary"
]
}
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This collection resource provides access to information about secured objects for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "securedObjectList",
- "securedObjects": [
- {
- "name": "config",
- "owner": "streamsadmin",
- "parent": "instance",
- "resourceType": "securedObject",
- "restid": "config",
}
], - "total": 50
}
This element resource provides access to information for a secured object.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "config",
- "owner": "streamsadmin",
- "parent": "instance",
- "resourceType": "securedObject",
- "restid": "config",
}
This collection resource provides access to information about the users known to the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "userList",
- "total": 50,
- "users": [
- {
- "defaultPermissions": "https://host:port/streams/domains/{domainId}/users/{userName}/defaultPermissions",
- "name": "janet",
- "reserved": true,
- "resolvedPermissions": "https://host:port/streams/instances/{instanceId}/users/{userName}/resolvedpermissions",
- "resourceType": "user",
- "restid": "janet",
}
]
}
This element resource provides access to information for a user.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
userName required | string Example: streamsadmin Identifies the user name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/users/{userName}/defaultPermissions",
- "name": "janet",
- "reserved": true,
- "resolvedPermissions": "https://host:port/streams/instances/{instanceId}/users/{userName}/resolvedpermissions",
- "resourceType": "user",
- "restid": "janet",
}
This collection resource provides access to information about the groups in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "groups": [
- {
- "defaultPermissions": "https://host:port/streams/instances/{instanceId}/groups/{groupName}/defaultPermissions",
- "name": "accounting",
- "reserved": false,
- "resourceType": "group",
- "restid": "accounting",
}
], - "resourceType": "groupList",
- "total": 50
}
This element resource provides access to information about a group.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
groupName required | string Example: myGroup Identifies the group name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/instances/{instanceId}/groups/{groupName}/defaultPermissions",
- "name": "accounting",
- "reserved": false,
- "resourceType": "group",
- "restid": "accounting",
}
This collection resource provides access to information about the roles in the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "resourceType": "roleList",
- "roles": [
- {
- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
], - "total": 50
}
This method provides the ability to create a new role.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
name required | string Identifies the name of the role to create. |
{- "name": "myRole"
}
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This method provides the ability to remove the role from the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a role.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This method provides the ability to add and remove users and groups from a role.
Note: If your REST client does not support the PATCH method, you can use the POST method with the request header X-HTTP-Method-Override=PATCH specified.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
groups.add | Array of strings (optional) Specifies a list of groups to add to the role. |
groups.remove | Array of strings (optional) Specifies a list of groups to remove from the role. |
users.add | Array of strings (optional) Specifies a list of users to add to the role. |
users.remove | Array of strings (optional) Specifies a list of users to remove from the role. |
{- "groups.add": [
- "twins"
], - "groups.remove": [
- "vikings"
], - "users.add": [
- "john"
], - "users.remove": [
- "mary"
]
}
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/roles/{roleName}/defaultPermissions",
- "name": "myRole",
- "reserved": true,
- "resourceType": "role",
- "restid": "myRole",
}
This collection resource provides access to information about secured objects for the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "securedObjectList",
- "securedObjects": [
- {
- "name": "config",
- "owner": "streamsadmin",
- "parent": "instance",
- "resourceType": "securedObject",
- "restid": "config",
}
], - "total": 50
}
This element resource provides access to information for a secured object.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "config",
- "owner": "streamsadmin",
- "parent": "instance",
- "resourceType": "securedObject",
- "restid": "config",
}
This collection resource provides access to information about the users known to the instance.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "userList",
- "total": 50,
- "users": [
- {
- "defaultPermissions": "https://host:port/streams/domains/{domainId}/users/{userName}/defaultPermissions",
- "name": "janet",
- "reserved": true,
- "resolvedPermissions": "https://host:port/streams/instances/{instanceId}/users/{userName}/resolvedpermissions",
- "resourceType": "user",
- "restid": "janet",
}
]
}
This element resource provides access to information for a user.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
userName required | string Example: streamsadmin Identifies the user name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "defaultPermissions": "https://host:port/streams/domains/{domainId}/users/{userName}/defaultPermissions",
- "name": "janet",
- "reserved": true,
- "resolvedPermissions": "https://host:port/streams/instances/{instanceId}/users/{userName}/resolvedpermissions",
- "resourceType": "user",
- "restid": "janet",
}
APIs for managing security permissions.
This collection resource provides access to information about the default permissions for a group.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
groupName required | string Example: myGroup Identifies the group name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the permissions for a group.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
groupName required | string Example: myGroup Identifies the group name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the default permissions for a role.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about permissions for a role.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to remove secured object default permissions for a principal. The principal is specified by providing one of the following query parameters:
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about default permissions for new child objects of a secured object.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to update default permissions to a secured object for a Streams principal.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
principal required | string The user, group, or role for which the permissions apply. |
principalType required | string Enum: "group" "role" "user" Identifies the type of the specified principal. |
permissionTypes.add | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to add for the specified principal. |
permissionTypes.remove | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to remove for the specified principal. |
{- "principal": "Alex",
- "principalType": "user",
- "permissionTypes.add": [
- "read"
], - "permissionTypes.remove": [
- "delete"
]
}
{- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
This method provides the ability to remove secured object permissions for a principal. The principal is specified by providing one of the following query parameters:
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about the permission for a secured object.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to update permissions to a secured object for a Streams principal.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
securedObjectName required | string Example: config Identifies the secured object name. |
principal required | string The user, group, or role for which the permissions apply. |
principalType required | string Enum: "group" "role" "user" Identifies the type of the specified principal. |
permissionTypes.add | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to add for the specified principal. |
permissionTypes.remove | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to remove for the specified principal. |
{- "principal": "Alex",
- "principalType": "user",
- "permissionTypes.add": [
- "read"
], - "permissionTypes.remove": [
- "delete"
]
}
{- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
This collection resource provides access to information about the default permission for a user.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the permissions for a user.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the resolved permissions for a user. A resolved permission is a permission a user has to a secured object either by permission being granted to the user, a group to which the user belongs, or a role which the user has been assigned.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the default permissions for a group.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
groupName required | string Example: myGroup Identifies the group name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the permissions for a group.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
groupName required | string Example: myGroup Identifies the group name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the default permissions for a role.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about permissions for a role.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
roleName required | string Example: InstanceAdministrator Identifies the role name |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to remove secured object default permissions for a principal. The principal is specified by providing one of the following query parameters:
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about default permissions for new child objects of a secured object.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to update default permissions to a secured object for a Streams principal.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
principal required | string The user, group, or role for which the permissions apply. |
principalType required | string Enum: "group" "role" "user" Identifies the type of the specified principal. |
permissionTypes.add | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to add for the specified principal. |
permissionTypes.remove | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to remove for the specified principal. |
{- "principal": "Alex",
- "principalType": "user",
- "permissionTypes.add": [
- "read"
], - "permissionTypes.remove": [
- "delete"
]
}
{- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
This method provides the ability to remove secured object permissions for a principal. The principal is specified by providing one of the following query parameters:
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This collection resource provides access to information about the permission for a secured object.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
group.restid | string Example: group.restid=myGroup Specifies the value of the restid property for a group resource. If this parameter is used, the list is limited to the resources for the specified group. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
role.restid | string Example: role.restid=InstanceAdministrator Specifies the value of the restid property for a role resource. If this parameter is used, the list is limited to the resources for the specified role. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
user.restid | string Example: user.restid=streamsadmin Specifies the value of the restid property for a user resource. If this parameter is used, the list is limited to the resources for the specified user. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This method provides the ability to update permissions to a secured object for a Streams principal.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
securedObjectName required | string Example: config Identifies the secured object name. |
principal required | string The user, group, or role for which the permissions apply. |
principalType required | string Enum: "group" "role" "user" Identifies the type of the specified principal. |
permissionTypes.add | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to add for the specified principal. |
permissionTypes.remove | Array of strings Items Enum: "add" "delete" "own" "read" "search" "write" Identifies the secured object permission types to remove for the specified principal. |
{- "principal": "Alex",
- "principalType": "user",
- "permissionTypes.add": [
- "read"
], - "permissionTypes.remove": [
- "delete"
]
}
{- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
This collection resource provides access to information about the default permission for a user.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the permissions for a user.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
This collection resource provides access to information about the resolved permissions for a user. A resolved permission is a permission a user has to a secured object either by permission being granted to the user, a group to which the user belongs, or a role which the user has been assigned.
instanceId required | string Example: myInstance Specifies the unique identifier for the instance. |
userName required | string Example: streamsadmin Identifies the user name. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
securedObject.restid | string Example: securedObject.restid=config Specifies the value of the restid property for a secured object resource. If this parameter is used, the list is limited to the resources for the specified secured object. |
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "permissions": [
- {
- "add": true,
- "delete": true,
- "own": true,
- "read": true,
- "resourceType": "permissions",
- "search": true,
- "write": true
}
], - "resourceType": "instanceList",
- "total": 50
}
APIs for managing cross origins request support.
This collection resource provides access to information about trusted origins for the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "trustedOriginList",
- "total": 50,
- "trustedOrigins": [
- {
- "resourceType": "trustedOrigin",
}
]
}
This method provides the ability to add a trusted origin to the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
name required | string Identifies the trusted origin to add. The origin should contain the scheme, host, and port and be a case-sensitive match for the value provided by the HTTP Origin header on the cross-origin request. |
{
}
{- "resourceType": "trustedOrigin",
}
This method provides the ability to remove the trusted origin from the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
trustedOriginName required | string Example: https%3a%2f%2fhost%3aport Identifies the trusted origin name. |
{- "messages": [
- {
- "id": "CDISWxxxxE",
- "message": "CDISWxxxxE The message associated with the error.",
- "status": "error"
}
]
}
This element resource provides access to information about a trusted origin.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
trustedOriginName required | string Example: https%3a%2f%2fhost%3aport Identifies the trusted origin name. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "resourceType": "trustedOrigin",
}
This collection resource provides information about all installations with the same base installation path as the installation that runs the domain controller service on the specified resource.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
resourceId required | string Example: management-0 Specifies the unique identifier for the resource. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "installations": [
- {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "installPath": "/home/joeuser/streams/7.2.0.0",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "owner": "joeuser",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0",
- "resourceType": "installation"
}
], - "resourceType": "installationList",
- "total": 50
}
This collection resource provides information about all installations with the same base installation path used to run this management REST API service.
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "installations": [
- {
- "architecture": "x86_64",
- "buildVersion": "20250310145500",
- "editionName": "Teracloud Streams",
- "fullProductVersion": "7.2.0.0",
- "hotFix": "string",
- "installPath": "/home/joeuser/streams/7.2.0.0",
- "minimumOSBaseVersion": "8",
- "minimumOSPatchVersion": "0",
- "minimumOSVersion": "Red Hat Enterprise Linux Server release 8.0 (Ootpa)",
- "owner": "joeuser",
- "productName": "Teracloud Streams",
- "productVersion": "7.2.0.0",
- "resourceType": "installation"
}
], - "resourceType": "installationList",
- "total": 50
}
This element resource provides access to information about the ZooKeeper ensemble associated with the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
ensembleId required | string Example: 1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000 Identifies the name of the ZooKeeper ensemble. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "name": "1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000",
- "resourceType": "zooKeeperEnsemble",
- "restid": "1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000",
- "status": "up"
}
This collection resource provides access to information about the ZooKeeper nodes used by the domain.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
ensembleId required | string Example: 1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000 Identifies the name of the ZooKeeper ensemble. |
count | integer <int64> Example: count=10 Specifies the maximum number of items to return. By default, all items are returned. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
listFields | string Example: listFields=total Specifies a comma-separated list of collection property names to filter which collection properties to return. By default, all collection properties are returned. Note: Property names are case-sensitive. |
page | integer <int64> Example: page=5 Specifies the page index to return within a collection. The page size is determined by the value of the count parameter. The default parameter value is 1, which identifies the first page. To specify the last page, use a value of -1. |
[name-of-property] | string Example: [name-of-property]=restid Specifies a comma-separated list of property values to filter which resources to return. By default, all resources are returned. Notes:
|
sort | string Example: sort=desc.status,asc.name Specifies a comma-separated list of property names, prefixed by either asc. or desc., to identify how returned items are sorted. You cannot sort on properties that are arrays; if they are specified for the sort parameter, they are ignored. To sort on members of object properties, specify the name as object.member. By default, the sort order for the resource is used. Note: Property names are case-sensitive. |
unique | boolean Example: unique=false Indicates whether only unique items, after filtering is applied, are returned in the collection. By default, all items are returned. |
{- "resourceType": "zooKeeperNodeList",
- "total": 50,
- "zooKeeperNodes": [
- {
- "averageRequestLatency": 0,
- "clientPort": 2000,
- "connectionCount": 47,
- "host": "1.2.3.4",
- "lastZooKeeperTransactionId": "0x26013ef65e1",
- "maximumRequestLatency": 0,
- "minimumRequestLatency": 0,
- "mode": "follower",
- "name": "1.2.3.4:2000",
- "outstandingRequestsCount": 0,
- "packetsReceivedCount": 2813057957,
- "packetsSentCount": 2817258117,
- "resourceType": "zooKeeperNode",
- "restid": "1.2.3.4:2000",
- "status": "serving",
- "version": "3.8.4-9316c2a7a97e1666d8f4593f34dd6fc36ecc436c, built on 2024-02-12 22:16 UTC",
- "znodeCount": 28373
}
]
}
This element resource provides access to information about a ZooKeeper node.
domainId required | string Example: myDomain Specifies the unique identifier for the domain. |
ensembleId required | string Example: 1.2.3.4:2000,1.2.3.5:2000,1.2.3.6:2000 Identifies the name of the ZooKeeper ensemble. |
nodeName required | string Example: 1.2.3.4:2000 Identifies the name of the ZooKeeper node. |
fields | string Example: fields=restid,resourceType Specifies a comma-separated list of resource property names to filter which properties to return. To include a subset of the members of an object property, include the member name (as object.member) instead of the object property name. By default, all fields are returned. Note: Property names are case-sensitive. |
{- "averageRequestLatency": 0,
- "clientPort": 2000,
- "connectionCount": 47,
- "host": "1.2.3.4",
- "lastZooKeeperTransactionId": "0x26013ef65e1",
- "maximumRequestLatency": 0,
- "minimumRequestLatency": 0,
- "mode": "follower",
- "name": "1.2.3.4:2000",
- "outstandingRequestsCount": 0,
- "packetsReceivedCount": 2813057957,
- "packetsSentCount": 2817258117,
- "resourceType": "zooKeeperNode",
- "restid": "1.2.3.4:2000",
- "status": "serving",
- "version": "3.8.4-9316c2a7a97e1666d8f4593f34dd6fc36ecc436c, built on 2024-02-12 22:16 UTC",
- "znodeCount": 28373
}