Remove the .json extension from resource URLs in API responses
Motivation and context
Because these are used in various autocompleters (e.g. when adding a material to a collection), and can end up taking a web user to a JSON page.
API clients can get JSON using the Accept header.
Checklist
[x] I have read and followed the CONTRIBUTING guide.
[x] I confirm that I have the authority necessary to make this contribution on behalf of its copyright owner and agree
to license it to the TeSS codebase under the
BSD license.
Summary of changes
.json
extension from resource URLs in API responsesMotivation and context
Because these are used in various autocompleters (e.g. when adding a material to a collection), and can end up taking a web user to a JSON page.
API clients can get JSON using the
Accept
header.Checklist