Connection.NodeService (etl_core v0.1.54)

Work with Node Service

Link to this section Summary

Link to this section Functions

Link to this function

get_details(node, url, headers, ticket)

Returns details of a node

parameter

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

Return:

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