The TopologyType related APIs include the following:
• |
API Name: Get type information |
• |
Description: Get the information of an type. |
• |
Request type: GET |
• |
API path: /api/v1/type/typeName |
• |
Sample usage: http://<server>:<port>/api/v1/type/Host |
• |
The token is retrieved after successfully logging in to the Management Server. Note: Refer to Authentication for more information. | ||
Specifies the response data format which can be either application/json or application/xml. The default value is application/json. |
Either the response data format (JSON/XML) or exception message. | ||
Error code if some exception occurs; otherwise this field is not shown. |
• |
API Name: Get type super type’s information |
• |
Description: Get the information of a type’s parent type. |
• |
Request type: GET |
• |
API path: /api/v1/type/typeName/super |
• |
Sample usage: http://<server>:<port>/api/v1/type/Host/super |
• |
The token is retrieved after successfully logging in to the Management Server. Note: Refer to Authentication for more information. | ||
Specifies the response data format which can be either application/json or application/xml. The default value is application/json. |
Either the response data format (JSON/XML) or exception message. | ||
Error code if some exception occurs; otherwise this field is not shown. |
• |
API Name: Get all instances of a type |
• |
Description: Get all instances of a type. |
• |
Request type: GET |
• |
API path: /api/v1/type/typeName/instances |
• |
Sample usage: http://<server>:<port>/api/v1/type/Host/instances |
• |
The token is retrieved after successfully logging in to the Management Server. Note: Refer to Authentication for more information. | ||
Specifies the response data format which can be either application/json or application/xml. The default value is application/json. |
Either the response data format (JSON/XML) or exception message. | ||
Error code if some exception occurs; otherwise this field is not shown. |
The User Information related API includes the following:
• |
API Name: Get current user information |
• |
Description: Get the information of the current user. |
• |
Request type: GET |
• |
API path: /api/v1/user/current |
• |
Sample usage: http://<server>:<port>/api/v1/user/current |
• |
The token is retrieved after successfully logging in to the Management Server. Note: Refer to Authentication for more information. | ||
Specifies the response data format which can be either application/json or application/xml. The default value is application/json. |
Either the response data format (JSON/XML) or exception message. | ||
Error code if some exception occurs; otherwise this field is not shown. |
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center