RPC Methods

Create a logfile object.

Parameters:
  • name (str) - the name of the logfile being uploaded
  • text (str) - the content of the logfile
  • tags (list[str]) - a optional list of strings
Return:
  • int - the ID of the created logfile object

Retrieve an existing logfile object.

The ID is one returned by logfile_create and logfile_list. Keys in the returned dict are: name, text, tags, created.

Parameters:
  • logfile_id (int) - the ID of the logfile object
Return:
  • dict - dict representation of logfile object

List existing logfile objects.

When the name argument is used, a case insensitive search is done for logfile objects with a name containing the argument.

Parameters:
  • name (str) - optional case insensitive name search for logfile objects
Return:
  • list[[int, str], ..] - list of [ID, name] pairs

Returns a list of all methods available in the current entry point

Returns the documentation of the given method name.

Parameters:
  • method_name Name of a method available for current entry point (and protocol)
Return:
  • Documentation text for the RPC method

Returns an array describing the signature of the given method name.

The result is an array with:
  • Return type as first elements
  • Types of method arguments from element 1 to N
Parameters:
  • method_name Name of a method available for current entry point (and protocol)
Return:
  • An array describing types of return values and method arguments

Call multiple RPC methods at once.

Parameters:
  • calls (list) - An array of struct like {"methodName": string, "params": array }

List existing tag objects.

When the name argument is used, a case insensitive search is done for name objects with a name containing the argument.

Parameters:
  • name (str) - optional case insensitive name search for tag objects
Return:
  • list[str] - list of tags names