-
Notifications
You must be signed in to change notification settings - Fork 5
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
User can filter and search operations, see DI‐Portal‐PKGVER‐007: Search and Filter Operations
Processes description
Technical articles
Design Items
- AsyncAPI
- AsyncAPI DocView
- 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