What is this new superseded_by
metadata field mean and how can I use it?
#172
Replies: 1 comment
-
Here are some responses to your questions:
EN has a script that runs automatically every 45 minutes to add this metadata by looking for any product LIDs that have >1
It currently daisy chains versions together.
Yes! There is an API endpoint to return all past versions of a particular product:
where |
Beta Was this translation helpful? Give feedback.
-
The latest version of the Registry and API now includes a
ops:Provenance/ops:superseded_by
field being returned in product metadata. I have some questions about what this field represents:How are these metadata managed? Do nodes add them directly or is
there some process by which we provide the information to EN which then
updates the database?
Is superseded_by used for all products, or just those which have
different LIDs for different versions (i.e. are products with identical
LIDs automatically assumed to be versions of the same product or is the
relationship between versions of a product dependent upon
"superseded_by")? If products with identical LIDs are assumed to be
versions of the same product, does "superseded_by" only have to be
included in versions of a product for which the LID is different from
the initial or immediately preceding/subsequent version?
Does superseded_by in a particular version of a product reference all
other versions of that product or does it daisy chain versions together
by referencing only the subsequent version?
Does the Registry draw the reverse association to the one that is
actually defined (i.e. if superseded_by indicates the next version of a
product, is the association from a next version to the superseded
version also drawn)? Is the Registry able to directly identify all
versions of a particular product or is it only able to identify the
"adjacent" (preceding and subsequent) versions?
Beta Was this translation helpful? Give feedback.
All reactions