2.16.1 Collecting the information required to collect, into a CSV file, information about specified resources or a list of related resources
This request collects the information required to collect, into a CSV file, information about specified resources or a list of related resources.
Execution permission
Admin, Modify
API version
v1
Request format
GET http[s]://host:port/Analytics/version/services/E2EView/actions/getNodesDataCSV
Request body
Not applicable.
Response body
The structure of the response body and the object attributes are as follows:Action
{ "name":"...", "href":"...", "method":"...", "type":"...", "parameters":["...", ...] }
Action (Type: Action)
Attribute |
Type |
Description |
---|---|---|
name |
string |
Name of the execute an operation. |
href |
string |
URL of the execute an operation. |
method |
string |
Name of the method. |
type |
string |
Data format of the object. |
parameters |
anyType[] |
A list of GetNodesDataCSVParam objects necessary to execute an operation. For details about GetNodesDataCSVParam, see the table below. |
GetNodesDataCSVParam
{ "basePointNodes":[{ "nodeID":"...", "nodeType":"..." }, : ], "getType":"..." }
GetNodesDataCSVParam (Type: GetNodesDataCSVParam)
Attribute |
Type |
Description |
---|---|---|
basePointNodes |
E2ENodeKey[] |
List of nodes to be collected, specified as a base point |
getType |
enum |
Type of information to be collected (For details about the specifiable values, see the table NodeInformationType in List of enumerators.) |
basePointNodes (Type: E2ENodeKey)
Attribute |
Type |
Description |
---|---|---|
nodeID |
long |
ID for identifying node |
nodeType |
enum |
Type of the node (For details about the specifiable values, see the table E2ENodeType in List of enumerators.) |
Status codes
Status code |
Reason phrase |
Description |
---|---|---|
200 |
OK |
Success. |
401 |
Unauthorized |
No login privilege. |
412 |
Precondition Failed |
The server is not available. |
500 |
Internal Server Error |
Server processing error. |
Example code
[Request Header] GET http://127.0.0.1:22015/Analytics/v1/services/E2EView/actions/getNodesDataCSV Authorization: Basic c3lzdGVtOm1hbmFnZXI= Host: localhost:22015 Accept: application/json Content-Type: application/json [Response Header] HTTP/1.1 200 OK Date: Tue, 22 Nov 2016 02:43:37 GMT Server: Cosminexus HTTP Server Cache-Control: no-cache WWW-Authenticate: HSSO 33659a74fcee4358dc272b34eca6ded1bf1131ec_YXZvNFIMehp3UB4jbmVyPGUgT3Q=_V0810 X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff Transfer-Encoding: chunked Content-Type: application/json [Response Body] { "name": "getNodesDataCSV", "href": "http://10.197.196.239:22015/Analytics/v1/services/E2EView/actions/getNodesDataCSV/invoke", "method": "POST", "type": "application/json", "parameters": [ { "basePointNodes": [{ "nodeID": 1, "nodeType": "VIRTUAL_MACHINE" }], "selectedNodes": [{ "nodeID": 1, "nodeType": "VIRTUAL_MACHINE" }], "highlightNodes": [{ "nodeID": 1, "nodeType": "VIRTUAL_MACHINE" }], "getType": "AllInformation" } ] }