DSpace / RestContract

REST Contract for DSpace 7-8
https://wiki.lyrasis.org/display/DSDOC8x/
37 stars 46 forks source link

X-CORRELATION-ID and X-REFERRER not documented in Rest contract #245

Open pnbecker opened 8 months ago

pnbecker commented 8 months ago

https://github.com/DSpace/DSpace/pull/3303 introduced a header X-CORRELATION-ID and X-REFERRER. The correlation id shows up in almost every log entry in the backend. Unfortunately, it is not documented in the RestContract. The corresponding PR for dspace-angular seems to be https://github.com/DSpace/dspace-angular/pull/1255.

tdonohue commented 8 months ago

Good catch, I agree it should be added.

These headers are NOT required for a client, but they are used in backend logging in order to be able to "track" a user's session and what UI page generated a request to the backend. The basic description is in the description of that UI PR: https://github.com/DSpace/dspace-angular/pull/1255

Needs a volunteer to pull this into official RestContract docs. These are just my rough notes of what I am aware to be true.