REST API - getComponents

The table summarizes the REST API - getComponents.

Request

Format
GET <baseurl>/audit/components/get

Response

JSON Returns an array of JSON representations of Component elements.
XML Returns the content of an array of Component elements (from the EventCollectorQueryService schema).

Example

Request
GET <baseurl>/audit/components/get
Response
{
  "xml-fragment": {
    "component": [
      {
        "componentClass": "com.tibco.n2.logging.metadata.n2lf.N2LFMetaData",
        "componentName": "N2LF",
        "description": "N2 Logging Framework",
        "id": 1,
        "implementationType": "N2LF-INTERNAL",
        "name": "N2LF",
        "parentId": -1,
        "version": 1.1
      },
      {
        "componentClass": "com.tibco.n2.logging.metadata.common.CommonMetaData",
        "componentName": "Common",
        "description": "Common Meta Data",
        "id": 2,
        "implementationType": "N2LF-INTERNAL",
        "name": "Common",
        "parentId": -1,
        "version": 1
      },
.
.
.
.
      {
        "componentClass": "com.tibco.n2.wp.core.logging.WPLoggingInfo",
        "componentName": "WorkManager/implementation.presentation/implementation.wp",
        "description": "Work Presentation",
        "id": 18,
        "implementationType": "TIBCO-IT-SPRING",
        "name": "WPCORE",
        "parentId": -1,
        "version": "1.5.0.001"
      }
    ]
  }
}