Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To work through the following Skylight sample query, you will need to generate a

Info

The following sample query will require an access token that can only be generated with a Skylight username/password. If you do not have a Skylight account, please contact us or sent an email to support@skylight.global to request an account.

To help you get familiar with Skylight's GraphQL API, the following example will instruct you on building a query that returns Dark Rendezvous and Standard Rendezvous events between May 1, 2023 and May 2, 2023. To make things easier, the return is limited to only one page with five events.

...

After opening Postman, you want to import the environment variables file and the collections that contains the sample queries

Importing Environment Variables

Our The sample file uses environment variable so that you can pass in URL and access token for different queries instead of entering them manually for each query. We created the file for you to get started.

...

Open the “getToken” file, select the “Body” tab and enter your username and password. Click send to run the query.

...

You can find the full list for the items we are returning returned in the query under Objects section (Events , Event, Start, End and EmbeddedVessel)

...