Task #695
closedImplement unified URL scheme for assets
0%
Description
Part of the application URL scheme points to asset details, e.g. Vocabulary detail, Term detail - implement each of the .
Acceptance criteria:
- each asset detail should be referenced by a URL of two forms:
a) 'http://<URL>/<asset-type>/<asset-local-id>', in which case it shows a detail of the asset with IRI 'http://<DEFAULT-NAMESPACE>/<asset-local-id>', where <DEFAULT-NAMESPACE> is a default namespace setup in server configuration.
a) 'http://<URL>/<asset-type>/<asset-local-id>?namespace=<NAMESPACE>', in which case it shows a detail of the asset with IRI 'http://<NAMESPACE>/<asset-local-id>'.
- Test.
Updated by Petr Křemen almost 6 years ago
- Target version changed from 0.3.0 to 0.4.0
Updated by Petr Křemen almost 6 years ago
- Target version changed from 0.4.0 to 1.0.0
- Assignee changed from Miroslav Blaško to Martin Ledvinka
Updated by Martin Ledvinka over 5 years ago
- Status changed from New to Closed
The current version always appends the namespace as a query parameter. We might modify this behavior - let the frontend download default namespaces from server, store them and when the asset IRI matches the default namespace, omit it in the browser URL (would make URL much nicer) - in the future.