-
Notifications
You must be signed in to change notification settings - Fork 4
Default Release Version
Adil Bektursunov edited this page Apr 16, 2025
·
3 revisions
Design Item ID: DI-Portal-PS-005
Design Item Name: Default Release Version
Related Design Items: DI-Portal-PS-001: General Settings
Related API:
- Get package by Id (GET /api/v2/packages/{packageId})
- Get package versions list (GET /api/v3/packages/{packageId}/versions)
- Change the package's parameters (PATCH /api/v2/packages/{packageId})
Revision History:
| Date | Description |
|---|---|
This functionality allows users to select a default release version for a specific release version to be opened by default when the user accesses a package. If the default release version parameter is empty, the latest release version sorted alphabetically by name (desc order) will be opened when the user opens a package. If there are no release versions available in the package, then the latest (by date, desc order) published draft version will be opened.
- User navigates to APIHUB Portal → specific workspace → specific group → package settings
- User opens General tab in package settings.
- The system opens the general page, which displays information about the parameters of the current package.
- API to show information on General page – GET /api/v2/packages/{packageId}
- packageId = current package Id
- API to show information on General page – GET /api/v2/packages/{packageId}
- User clicks Edit and expands values in Default Release Version field.
- The system shows the list of all published versions in release status in the current package.
- API to show list of versions – GET /api/v3/packages/{packageId}/versions
- packageId = current package Id
- status = release
- API to show list of versions – GET /api/v3/packages/{packageId}/versions
- User selects the default release version and clicks Save.
- The system updates the value of the default release version.
- Note: API to update default release version – PATCH /api/v2/packages/{packageId}
- packageId = current package Id
- defaultReleaseVersion = value from Default Release Version field
- Note: API to update default release version – PATCH /api/v2/packages/{packageId}
Processes description
Technical articles
Design Items
- 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
- Personal private workspace
- Version summary
- Revision History
- Package Activity History
- Manage Manual Operations Group
- Export Operations Group (reduced source specifications)
- Export Operations Group (combined specification)
- Export List of Operations in Excel
- Search and Filter Operations
- List of Operations
- List of Operations Groups
- Manage REST Path Prefix Group
- Activity History
- List of Deprecated Operations
- Export List of Changes in Excel
- Human‐readable description for deprecated items for OpenAPI 3.0
- List of Documents
- OpenAPI Document Overview
- Copy Package Version
- Export Package Version
- Export Document from Package Version
- Export List of Deprecated Operations in Excel
- API Quality Validation Result
- Export of discrepancy analysis results for arbitrary package versions in Excel
- AI Recommendations Tab
- General Settings
- Package versions list
- Access Tokens Management
- Delete Package
- Default Release Version
- Define Release Version Pattern