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:
Get user profile (GET /api/v5/profile/)
Modify user profile (PUT /api/v5/profile/)
Change password (PUT /api/v5/profile/password/)
Delete users (POST /api/v5/users/delete/)
Get organization info (GET /api/v5/organizations/<organization_id>/)
Get usage for an organization (GET /api/v5/organizations/<organization_id>/usage/)
Update organization details (PUT /api/v5/organizations/<organization_id>/)
Edit users’ roles in organization (PUT /api/v5/organizations/<organization_id>/users/)
Create workspace (POST /api/v5/workspaces/)
Get workspace info (GET /api/v5/workspaces/<workspace_id>/)
Delete workspace (DELETE /api/v5/workspaces/<workspace_id>/)
Update workspace details (PUT /api/v5/workspaces/<workspace_id>/)
Remove users from a workspace (POST /api/v5/workspaces/<workspace_id>/users/remove/)
Edit users’ roles in workspace (PUT /api/v5/workspaces/<workspace_id>/users/)
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.
© 2020 Luminoso Technologies. All rights reserved.