Daylight | Cloud | 2020-10-10

Enhancements

  • API: New v5 endpoints now available for profile, user, organizations, and workspaces functionality

  • API: Use a password to retrieve a new API token through the API 

  • API:  v4 deprecation notice 

    • List tokens (GET /api/v4/user/tokens/)

    • Delete token (DELETE /api/v4/user/tokens/<token>/)

    • Create token (POST /api/v4/user/tokens/)

    • Get token (GET /api/v4/user/tokens/<token>/)

Fixes

  • Project management: Added scroll bar to Configure visualization tab 

API: v5 endpoints now available for profile, user, organizations, and workspaces functionality

With this release, all endpoints related to the profile, user, workspaces, and organizations are available to users in the v5 API. Previously, this functionality was available in the v4 API. Now, you can do all of your user, workspace, and organization management through the v5 API. We recommend that you access this functionality through the v5 API as we transition towards deprecating the entire v4 API. 

The new endpoints are listed below. Click the link in each section to read more about each endpoint and its functionality in the API documentation: 

Profile

Users

Organizations

Workspaces

API: Use a password to retrieve a new API token through the API client

With the newly-released version 2.1.0 of the Luminoso API Client, you can obtain and save a long-lived token directly through the client. Previously, you could only do this through the Settings page in the UI.

With this release, we introduce a new command-line tool, lumi-save-token, with the same behavior as the existing interactive client method LuminosoClient.save_token(). Using either method, you can specify and save a token that you obtained through the UI.  If instead you do not specify a token to save, you will be prompted for your username and password, and the API client will obtain and save a long-lived token for you. The token is persistent, and you don’t need to update it.  

API: v4 deprecation notice

With this release, we begin the deprecation of the following v4 API endpoints: 

  • List tokens (GET /api/v4/user/tokens/)

  • Delete token (DELETE /api/v4/user/tokens/<token>/)

  • Create token (POST /api/v4/user/tokens/)

  • Get token (GET /api/v4/user/tokens/<token>/)

These endpoints continue to be available until December 2020, when they will be deleted. For all token management needs, we recommend using the password method described in the previous section or the Settings page in the UI.  

Project management: Added scroll bar to Configure visualization tab 

If a user’s window was too small to view all information in the Configure visualization tab, there was no scrolling option to allow the user to access the options that were cut off. Now, the tab includes a scroll bar.