ApiConnection

class core.zowe.core_for_zowe_sdk.ApiConnection(host_url: str, user: str, password: str, ssl_verification: bool = True)

Class used to represent a connection with a REST API.

Parameters:
  • host_url (str) – The base url of the rest api host

  • user (str) – The user of the rest api

  • password (str) – The password for the user

  • ssl_verification (bool) – Options for ssl verification. True by default.

Raises:

MissingConnectionArgs – Missing connection argument.