| Summary: | Viewing list of ILL requests gives 400 from the API | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Magnus Enger <magnus> |
| Component: | ILL | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
|
Description
Magnus Enger
2019-10-22 08:05:56 UTC
The response to this:
GET <intranet>/api/v1/illrequests?embed=metadata,patron,capabilities,library,status_alias,comments,requested_partners
is actually this:
[{"message":"Malformed query string","path":"\/query\/embed"}]
If I do a request like this: GET <intranet>/api/v1/illrequests I get a response with JSON data for all requests, as expected. If I add the "embed" parameter I get the error response reported in comment 2: GET <intranet>/api/v1/illrequests?embed= GET <intranet>/api/v1/illrequests?embed=metadata |