This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
leon:api-keys [2019/06/10 12:37] ksenia |
leon:api-keys [2020/09/11 13:28] rafal |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== API Keys ====== | ====== API Keys ====== | ||
- | [{{ :leon:updates:API key add.png? | + | [{{ :leon:settings:api-keys: |
[{{ : | [{{ : | ||
**API Keys** panel allows accessing Leon API from the interface in order to obtain a feed of different kinds of data from Leon for the purpose of outside integrations. | **API Keys** panel allows accessing Leon API from the interface in order to obtain a feed of different kinds of data from Leon for the purpose of outside integrations. | ||
- | The functionality generates a Refresh Token, which is a special kind of token that can be used to obtain a renewed access token which allows programmatically accessing a protected resource. Access tokens are attached to API request. More information can be found in the documentation (https:// | + | The functionality generates a **Refresh Token**, which is a special kind of token that can be used to obtain a renewed access token which allows programmatically accessing a protected resource. Access tokens are attached to API request. More information can be found in the documentation (https:// |
The token can be generated only by admins in Settings -> API keys page. | The token can be generated only by admins in Settings -> API keys page. | ||
Line 14: | Line 14: | ||
- Enter the name and the description of the integration | - Enter the name and the description of the integration | ||
- Select resources which can be accessed by using the token | - Select resources which can be accessed by using the token | ||
+ | - Select the **aircraft(s)** for which the data should be exported. If a specific aircraft isn't selected, it will be assumed that the API key applies to the whole fleet | ||
- Click the {{: | - Click the {{: | ||
- Copy generated key and store it safely | - Copy generated key and store it safely | ||
+ | It is also possible to **edit existing 'API Keys' | ||
- | < | + | < |