Closed sascoms closed 3 years ago
For each index endpoint, if no parameter is given, all objects that can be accessed by the requester from all HEIs supported by the server node should be returned.
So, how do you detect which are these HEIs that are covered by the requester node?
What is the suggested way or what is the common implementation to find out which HEIs?
As, there is only referrer URL and head/signature data sent/coming to the index endpoint?
Take a look at getHeisCoveredBy*
methods here:
On Mon, Dec 28, 2020 at 1:00 PM Eser S. notifications@github.com wrote:
So, how do you detect which are these HEIs that are covered by the requester node?
What is the suggested way or what is the common implementation to find out which HEIs?
As, there is only referrer URL and head/signature data sent/coming to the index endpoint?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/issues/40#issuecomment-751689018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQRNV2ZP2JYFBYKDD5WL6LSXBXPBANCNFSM4VLFKE5Q .
EDIT: I removed my last comment because it could be misleading to some extent (my knowledge was out of date). A more technical colleague will write here on this topic.
Thank you all for your replies and the information
We have implemented a similar approach, detecting the heis covered by the signature data in the request headers.
Although, I am not comfortable about sending mobilities of all of -say- a 100 HEIs covered in the request (why sending all instititions' data?), there is no other way unless the receiving/requesting HEI id is made mandatory in the API.
Hope to see sending and receiving HEI ID parameters as mandatory in all APIs.
Hello, In the readme docs (reference link below), the receiving hei id parameter is said to be optional.
If this parameter is not sent to the responding client, how should the responding client select and include the mobilities of the receiving hei as it does not know which institution is the request made by?
REF: https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/blob/stable-v1/endpoints/index.md#receiving_hei_id-repeatable-optional
Anything we are missing? Or if not, any solution or implementation suggestion?
Thanks,