openjusticebe / ecli

ECLI API of internet accessible case law
https://ecli.openjustice.be
GNU General Public License v3.0
2 stars 0 forks source link

Absolute href #13

Open tintamarre opened 3 years ago

tintamarre commented 3 years ago

When fetching data from API, links provided are sometimes absolute, sometimes relative. It could be fixed in the frontend but it would be better to be consistent. 😄

[
{ "rel": "default", "href": "/ecli/ECLI:BE:HBANT:2015:ARR.20150311.7" }, 
{ "rel": "meta", "href": "https://iubel.be/IUBELcontent/ViewDecision.php?id=ECLI:BE:HBANT:2015:ARR.20150311.7" } 
]
PieterjanMontens commented 3 years ago

outgoing links are indeed absolute, we haven't got a clear definition about the link relations and what they're for.

Outgoing links are used for

this is related to the