Projekt

Allgemein

Profil

Aktionen

GX-Bug #68829

geschlossen

V2: Documented query parameter "search" is not implemented

Von Marvin Muxfeld vor fast 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Ahmed Hamouda
Kategorie:
REST-API
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.4.0.2
Release Notes Langtext:

REST-API V2 Routen akzeptieren nun 'q' und 'search' als parameter zum suchen von Datensätzen.


Beschreibung

All Controllers that offer a searchable result and use the parent method HttpApiV2Controller::_searchResponse read the GET parameter "q" and not "search" (documentation only provides information for "search").

All functions calls (8) should supply result with both parameters.

How to test:

  1. Visit https://developers.gambio.de/docs/4.4.0.2/rest/gambio-gx3-api/reference/
  2. Click "OpenAPI specification" > "Download" and store the swagger.json
  3. Launch Postman and import the downloaded swagger.json
  4. Edit "Authorization" and "Variables" of the newly created collection
  5. Check if all GET multiple endpoints provide a result for the GET parameter "search" (pre filled in postman) and provide the same result when the parameter is renamed to "q"

Aktionen

Auch abrufbar als: Atom PDF