Suggestion
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage suggestions, which represent recommendations or hints for users or the system.
You can search for suggestions with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Authentication
Sezione intitolata “ Authentication ”OAuth2
Sezione intitolata “OAuth2 ”Security scheme type: oauth2
Flow type: password
Token URL: https://auth.4hse.com/realms/4hse/protocol/openid-connect/token
AccessToken
Sezione intitolata “AccessToken ”Security scheme type: apiKey
Query parameter name: access-token
Operations
Sezione intitolata “Operations” POST /v2/suggestion/index
Returns a paginated and filterable list of suggestions.
Use POST to allow complex filters via JSON payload.
Authorizations
Sezione intitolata “Authorizations ”Request Body
Sezione intitolata “Request Body ”Parameters for searching suggestions
object
object
The unique identifier for the suggestion.
The type of the suggestion.
Additional data related to the suggestion, in JSON format.
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "type": "improvement" }, "per-page": 10, "page": 1, "sort": "type"}
Responses
Sezione intitolata “ Responses ”List of suggestions
object
The unique identifier for the suggestion.
The type of the suggestion.
Additional data related to the suggestion, in JSON format.
Example
{ "suggestion_id": "sug-1", "type": "improvement", "data": "{\"message\":\"Add a new feature\"}"}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/suggestion/view/{id}
Retrieve a suggestion by its unique ID.
Authorizations
Sezione intitolata “Authorizations ”Path Parameters
Sezione intitolata “Path Parameters ”ID of the suggestion to retrieve
Responses
Sezione intitolata “ Responses ”Suggestion found
object
The unique identifier for the suggestion.
The type of the suggestion.
Additional data related to the suggestion, in JSON format.
Example
{ "suggestion_id": "sug-1", "type": "improvement", "data": "{\"message\":\"Add a new feature\"}"}
Suggestion not found