Accessing the REST API

You can access REST API provided resources (data entities) using URI paths.

Logging in to the REST API

To log in to the Oracle Linux Automation Manager REST API, do the following:

  1. Log in to your Oracle Linux Automation Manager server with a user account.
     https://<hostname or IP address>/api/login/

    Note:

    In the previous example, <hostname or ip address> is the hostname or IP address of the system running Oracle Linux Automation Manager . If hostname is used, the host must be resolvable.
    The root page for the Oracle Linux Automation Manager REST API appears showing the response to a get request at the /api level.
  2. In the response area, click one of the /api/v2 links. This performs a get request that lists all available resources.