However, not all arks will be samples, and may be different resource type. We need to have a more dynamic "samples" page that will render the current entity if it is a fastqMetadata resource or samples resource, etc.
should probably have 2 paths:
/{entity}/{arkId} - which does the dynamic rendering by fetching the record.
how /samples/{arkId} currently works. just need to modify to render any entity.
/id/{arkId} - which looks up the resource and forwards to the above url passing the appropriate conceptAlias for the entity the record represents
currently resolving will load the
sample
page. http://n2t.org/ark:/21547/mA21635_06.However, not all arks will be samples, and may be different resource type. We need to have a more dynamic "samples" page that will render the current entity if it is a fastqMetadata resource or samples resource, etc.
should probably have 2 paths:
/{entity}/{arkId}
- which does the dynamic rendering by fetching the record./samples/{arkId}
currently works. just need to modify to render any entity./id/{arkId}
- which looks up the resource and forwards to the above url passing the appropriate conceptAlias for the entity the record represents