Ce contenu n'est pas disponible dans la langue sélectionnée.
3.10. Example: Check System Events
The
login
action for admin
creates entries in the events
collection. This example lists the events collection and identifies events specific to log in of the admin.
Example 3.10. List the events collection
GET /api/events HTTP/1.1 Accept: application/xml
GET /api/events HTTP/1.1
Accept: application/xml
cURL command:
curl -X GET -H "Accept: application/xml" -u [USER:PASS] --cacert [CERT] https://[RHSC Host]/api/events
The API returns a representation that includes the following:
The following event occurs:
id="54"
- The API authenticates with theadmin
user's username and password.id="192"
- The API, acting as theadmin
user, startsVolume Data
on theDefault
clusterid="193"
- The API logs out of theadmin
user account.
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug