Discovery status

The discovery status resource represents the current discovery status on the TADDM server.

Description

Use this resource to check the status of the current discovery run. The information returned is equivalent to that returned by the Java™ getStatus() method.

URL

scheme//hostname:port/rest/discovery/status
where:
scheme
The scheme of the URL (either HTTP: or HTTPS:).
hostname
The TCP/IP hostname or numeric IP address of the TADDM server.
port
The TCP/IP port on the TADDM server for the type of connection you are using (9430 for HTTP, or 9431 for HTTPS).

HTTP methods

GET
Queries discovery status.

Parameters

feed={json|xml}

The format to use for the returned data. Specify json or xml. This parameter is optional.

If you do not specify the feed parameter, the server uses the format specified by the HTTP Accept header (application/json or application/xml). If this header is not specified, the results are returned in JSON format.

Returns

The current discovery status is returned using the specified format. The following example shows discovery status in XML format:
<status>Idle</status>

Example

This example checks discovery status:
http://example.com:9430/rest/discovery/status?feed=xml