-
Notifications
You must be signed in to change notification settings - Fork 1
DI‐Portal‐PKGVER‐014: List of Deprecated Operations
Design Item ID: DI-Portal-PKGVER-014
Design Item Name: List of Deprecated Operations
Related Design Items:
Related API:
- Get list of deprecated operations (GET /api/v2/packages/{packageId}/versions/{version}/{apiType}/deprecated)
Revision History:
Date | Description |
---|---|
The functionality provides a user with the ability to view the list of all deprecated operations or deprecated items (item that is deprecated inside the operation. e.g. for REST operations - parameters, schema; for GraphQL operation - enum value, field definition) in operations for the current package version.
- User navigates to APIHUB Portal → workspace → group → package version
-
User opens Deprecated tab.
-
The system opens the Deprecated Operations page and displays deprecated operations and operations that contain at least one deprecated item.
- API to show list of operations - GET /api/v2/packages/{packageId}/versions/{version}/{apiType}/deprecated
- apiType = <currently API type>
- packageId = <current package id>
- version = <current package version>
- API to show list of operations - GET /api/v2/packages/{packageId}/versions/{version}/{apiType}/deprecated
-
The system shows the following information in the table for REST operations:
- Endpoint, Tag, Kind - the same columns as in List of Operations.
- If operation itself is deprecated then the system shows "deprecated" badge in Endpoint column.
- Details - shows total number of deprecated items in current operations including deprecation of operation itself.
- Deprecated Since - shows the release version when the current element/operation was initially deprecated. The algorithm for calculating "deprecated since" for one item/operation see below:
- Endpoint, Tag, Kind - the same columns as in List of Operations.
-
If operation has at least one deprecated item, then system shows chevron in Endpoint column to expand/collapse human-readable description for deprecated item.
- By default, all operations are collapsed.
- If operation itself is deprecated, but does not have any deprecated item, then neither chevron nor human-readable description are shown.
- Human-readable descriptions are generated based on the following rules:
- for REST API: Human-readable description for deprecated items for OpenAPI 3.0
- for GraphQL API: not supported
User can switch between list and detailed view in the same way as it described in List of Operations
- 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