Dear DSpace Community,
While using the DSpace 8.0 REST API, we have encountered an issue related to the "self link" in responses. Specifically, when making requests to the discover/search endpoint with query parameters (e.g., scope and configuration), the self link in the response does not reflect the full URL with the query parameters. Instead, it only points to the generic endpoint URL.
Example Request:
GET /server/api/discover/search?scope=<scope-id>&configuration=<configuration-id>
Example Response:
This inconsistency generates the following warning in the frontend logs:
This discrepancy may lead to warnings in the frontend logs and could potentially affect functionality such as pagination and filtering.
If anyone in the community has insights into this behavior or has addressed similar issues, sharing solutions or workarounds would be greatly appreciated.
Best regards, Lucas.