caterva2.get_list#

caterva2.get_list(root, urlbase='http://localhost:8002/', auth_cookie=None)#

List the nodes in a root.

Parameters:
  • root (str) – The name of the root to list.

  • urlbase (str) – The base of URLs (slash-terminated) of the subscriber to query.

  • auth_cookie (str) – An optional HTTP cookie for authorizing access.

Returns:

The list of nodes in the root, as name strings relative to it.

Return type:

list