Connection.NodeService (etl_core v0.1.55)

Work with Node Service

Summary

Functions

Link to this function

get_details(node, url, headers, ticket)

Returns details of a node

Parameter:

- node: String. Node/document identifier.

- url: String. URL of the service. It is assumed that the url contains 2 parameters to replace them: <unique_id>, <ticket>.

- node: String. Node/document identifier.

- headers

- ticket: Possible values:

    - {String, String, String, String}. Corresponds to information necessary to obtain the ticket. The order is: url, headers, username, password.

    - String: Ticket.

Return:

-  {:ok, details} | {:error, message} | Exception