-
Notifications
You must be signed in to change notification settings - Fork 4
Search Scope for REST API
Adil Bektursunov edited this page Apr 16, 2025
·
2 revisions
Design Item ID: DI-Portal-GS-001
Design Item Name: Search Scope for REST Operations
Related Design Items: Global Search
Related API:
Revision History:
| Date | Description |
|---|---|
The functionality calculates search scope for REST operations to define by which content the system will perform search. The system provides the following search scopes for REST operations:
- all - union of all other search scopes
- property - all kind of properties, parameters.
- annotation - descriptions, summary, operationId, title.
- request - search only in request parameters, body, headers, etc.
- response - search only in response body, headers.
- example - all kind of examples in several layers.
| Path | property | annotation | request | response | example |
|---|---|---|---|---|---|
| Properties | |||||
$.paths.[<key>] + $.paths.[*].[<key>] |
✅ | ✅ | |||
$.paths.[*].parameters.[*].name.<value> |
✅ | ✅ | |||
$.paths.[*].parameters.[*].schema.[<schema>] |
✅ | ✅ | |||
$.paths.[*].[*].parameters.[*].name.<value> |
✅ | ✅ | |||
$.paths.[*].[*].parameters.[*].schema.[<schema>] |
✅ | ✅ | |||
$.paths.[*].[*].requestBody.content.[*].schema.[<schema>] |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].headers.[<key>] |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].headers.[*].schema.[<schema>] |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].content.[*].schema.[<schema>] |
✅ | ✅ | ✅ | ||
| Annotations | |||||
$.info.description.<value> |
✅ | ||||
$.info.title.<value> |
✅ | ||||
$.info.contact.name.<value> |
✅ | ||||
$.info.license.name.<value> |
✅ | ||||
$.servers.[*].description.<value> |
✅ | ||||
$.servers.[*].variables.[*].description.<value> |
✅ | ||||
$.tags.[*].name.<value> |
✅ | ||||
$.tags.[*].description.<value> |
✅ | ||||
$.paths.[*].summary.<value> |
✅ | ||||
$.paths.[*].description.<value> |
✅ | ||||
$.paths.[*].servers.[*].description.<value> |
✅ | ||||
$.paths.[*].servers.[*].variables.[*].description.<value> |
✅ | ||||
$.paths.[*].parameters.[*].description.<value> |
✅ | ✅ | ✅ | ||
$.paths.[*].parameters.[*].examples.[<key>] |
✅ | ✅ | ✅ | ||
$.paths.[*].parameters.[*].examples.[*].summary.<value> |
✅ | ✅ | |||
$.paths.[*].parameters.[*].examples.[*].description.<value> |
✅ | ✅ | |||
$.paths.[*].[*].summary.<value> |
✅ | ||||
$.paths.[*].[*].description.<value> |
✅ | ||||
$.paths.[*].[*].operationId.<value> |
✅ | ||||
$.paths.[*].[*].parameters.[*].description.<value> |
✅ | ✅ | ✅ | ||
$.paths.[*].[*].parameters.[*].examples.[<key>] |
✅ | ✅ | ✅ | ||
$.paths.[*].[*].parameters.[*].examples.[*].summary.<value> |
✅ | ✅ | |||
$.paths.[*].[*].parameters.[*].examples.[*].description.<value> |
✅ | ✅ | |||
$.paths.[*].[*].requestBody.description.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].description.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].headers.[*].description.<value> |
✅ | ✅ | |||
$.paths.[*].[*].servers.[*].description.<value> |
✅ | ||||
$.paths.[*].[*].servers.[*].variables.[*].description.<value> |
✅ | ||||
$.paths.[*].[*].tags.[*].name.<value> |
✅ | ||||
$.paths.[*].[*].tags.[*].description.<value> |
✅ | ||||
| Examples. Example value may be of ANY type. Need to make additional "stringify" operation first. | |||||
$.paths.[*].parameters.[*].example.<value> |
✅ | ✅ | |||
$.paths.[*].parameters.[*].examples.[*].value.<value> |
✅ | ✅ | |||
$.paths.[*].[*].parameters.[*].example.<value> |
✅ | ✅ | |||
$.paths.[*].[*].parameters.[*].examples.[*].value.<value> |
✅ | ✅ | |||
$.paths.[*].[*].requestBody.content.[*].example.<value> |
✅ | ✅ | |||
$.paths.[*].[*].requestBody.content.[*].examples.[*].value.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].content.[*].example.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].content.[*].examples.[*].value.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].headers.[*].example.<value> |
✅ | ✅ | |||
$.paths.[*].[*].responses.[*].headers.[*].examples.[*].value.<value> |
✅ | ✅ |
| Path | property | annotation | request | response | example |
|---|---|---|---|---|---|
| Schema | |||||
/title.<value> |
✅ | ||||
/description.<value> |
✅ | ||||
/properties.[<key>] |
✅ | ||||
/properties.[*].title.<value> |
✅ | ||||
/properties.[*].description.<value> |
✅ | ||||
/properties.[*].enum.[<key>] |
✅ | ||||
/properties.[*].default.<value> |
✅ | ||||
/properties.[*].example.<value> |
✅ | ||||
/properties.[*].example.[<value>] |
✅ | ||||
/properties.[<schema>] |
|||||
/additionalProperties.[<schema>] |
|||||
/allOf.[*].[<schema>] |
|||||
/anyOf.[*].[<schema>] |
|||||
/oneOf.[*].[<schema>] |
|||||
/items.[*].[<schema>] |
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