Try Onna API in Postman
💡 3 min read
We recommend using Postman to get an overview about the API.
# Set Up Using GitHub Repo
- Download and install Postman.
- Sign up for an Onna account and follow the instructions.
- Download the onna-api-example.json and environment.json files from the GitHub repository.
You can disable all tracking by setting Send anonymous usage data to Postman to OFF in the settings window.
Get your token from your browser:
The tokens used in the examples below are customized dummy tokens.
Postman allows to use a configurable environment using a set of key-value pairs. Creating commonly used variables that can be referenced by multiple requests in a collection.
More documentation on the Postman environment can be found in the Postman docs.
It is important that you edit and replace some of these variables with your own values.
Access the edit dialog by clicking the gray eye button next to the environment dropdown (highlighted in blue below):
Select Edit (highlighted in blue below):
Replace the following values with your own initial one:
userUsername you provided during self-registration. For example
containerThe name of the database attached to your account. Onna naming convention is to use the account name you provided during the self-registration process.
accountMay be the same value as container.
passwordPassword of your account.
tokenYour JWT token
account may be the same value.
You should have obtained these when creating your own Onna account.
You can find more information in our glossary.
# Account Information