Project

General

Profile

Actions

Task #695

closed

Implement unified URL scheme for assets

Added by Petr Křemen almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
26.09.2018
Due date:
% Done:

0%

Estimated time:
8.00 h

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.

Actions #1

Updated by Petr Křemen almost 6 years ago

  • Target version set to 0.3.0
Actions #2

Updated by Petr Křemen almost 6 years ago

  • Estimated time set to 8.00 h
Actions #3

Updated by Petr Křemen almost 6 years ago

  • Assignee set to Miroslav Blaško
Actions #4

Updated by Miroslav Blaško almost 6 years ago

  • Description updated (diff)
Actions #5

Updated by Petr Křemen almost 6 years ago

  • Target version changed from 0.3.0 to 0.4.0
Actions #6

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
Actions #7

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.

Actions

Also available in: Atom PDF