-
Notifications
You must be signed in to change notification settings - Fork 1
DI‐Portal‐GF‐002: Create Workspace
iugaidiana edited this page Feb 21, 2025
·
2 revisions
Design Item ID: DI-Portal-GF-002
Design Item Name: Create Workspace
Related Design Items: -
Related API:
- Create a new package (POST /api/v2/packages)
Revision History:
Date | Description |
---|---|
The functionality provides a sysadm user with the ability to create workspace.
Workspace is first level grouping entity for groups, packages and dashboards. Workspace provides a logical separation for different projects, teams, or departments within the organization. Workspace enables the grouping of related APIs and provide a hierarchical structure for better organization and management.
- Operation is initiated manually by sysadm from APIHUB Portal → Workspace tab.
- Sysadm clicks Create button. If user is not sysadm, then Create button will not be visible.
- The system opens Create Workspace popup with the following fields:
- Name - required field.
- Alias - required field. Alias must be unique within parent group/workspace. If alias is not unique, the system shows the following message when user clicks Create button: "Alias "%s" is already reserved. Please use another alias.". Alias must be no longer than 10 characters.
- Description - show summary of workspace.
- Private - if checked, then package will be private and by default, will be visible to the current user only.
- User clicks Create button.
- The system creates new workspace.
- API to create workspace - POST /api/v2/packages:
- kind = workspace
- name = <user input from Name field>
- alias = <user input from Alias field>
- description = <user input (if any) from Description field>
- defaultRole. If Private checkbox is selected, then defaultRole = none, otherwise defaultRole = viewer.
- API to create workspace - POST /api/v2/packages:

- Navigation to APIHUB (log in / log out)
- Create Workspace
- Create Group
- Create Package
- Favorite packages, dashboards, groups, workspaces
- Shared Packages
- Activity History in Main Page