NOTE: This was answered on dspace-tech in this 
thread: https://groups.google.com/g/dspace-tech/c/cRT6H7E_nGY

On Friday, January 3, 2025 at 11:36:42 AM UTC-6 [email protected] 
wrote:

> 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:*
>
> "_links": {
>   "self": {
>     "href": "https://<domain>/server/api/discover/search"
>   }
> }
>
> This inconsistency generates the following warning in the frontend logs:
> The response for '<full-URL>' has the self link '<generic-URL>'. These 
> don't match. This could mean there's an issue with the REST endpoint.
>
> Observed Impact
>
> 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.
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-community/757e9f5f-25bd-48e2-bafe-13326e2f78bcn%40googlegroups.com.

Reply via email to