Creating a system event message to test the API

You can use Swagger to create a message in the system event log. This is a simple way to test the management API. After the event has been created, you can display the message using the GET function on the Swagger page or using the NAS Bridge user interface.

Before you begin

You must have the following parameters:

A valid authentication token (the token can be copied from the result of a previous session POST call)

The administrator email address (that is, user account) that was used to create the authentication token

Steps

On the Swagger page, click system_events.

Click POST to display the API call used to create a new system event.

Type the version (which must always be 2), email address (that is, user account), and the authentication token.

If you copied the authentication token after previously creating a new session, you can paste the token into the field on the page.

On the Swagger page, click system_events > GET, enter an email address and the authentication token. Use the q parameter to limit the results to those messages that include all or part of your message text. Then, click Try it out to list the message you created.

From the NAS Bridge user interface, click Maintenance > Events, and filter or sort the events for the message you posted.