Skip to content

Commit 767ffc7

Browse files
Added more documentation of the API call
1 parent 121e5f9 commit 767ffc7

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

doc/sphinx-guides/source/api/native-api.rst

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3529,18 +3529,21 @@ The API can also be used to reset the dataset to use the default/inherited value
35293529
35303530
The default will always be the same provider as for the dataset PID if that provider can generate new PIDs, and will be the PID Provider set for the collection or the global default otherwise.
35313531
3532-
Reconcile The PID of a Dataset (If Multiple PID Providers Are Enabled)
3532+
Reconcile the PID of a Dataset (If Multiple PID Providers Are Enabled)
35333533
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35343534
3535-
Dataverse can be configured to use multiple PID Providers (see the :ref:`pids-configuration` section for more information).
3536-
It is possible to update the PID Provider used by a dataset and assign the dataset (and any PIDs currently assigned to
3537-
the dataset's files) a new PID that uses the protocol/authority/separator/shoulder of the new PID Provider. This API 'reconciles'
3538-
a draft dataset's PID by creating a new PID supported by the PID Provider and assigning the original PID as an
3539-
alternativePersistentIdentifier for the dataset. The API is restricted to datasets that have not already been published.
3540-
(It does not make any changes to any PID Provider.) Note that this change does not affect the storage repository where the
3541-
old identifier is still used. (An administrator could move the files manually and set the storagelocationdesignator to
3542-
false on the entry in the alternativepersistentidentifier table for the old identifier if this is a concern. This is not
3543-
necessary for Dataverse to function correctly.)
3535+
Dataverse supports configuration with multiple Persistent Identifier (PID) providers (refer to the :ref:`pids-configuration` section for further details).
3536+
This API endpoint assigns new PIDs to a draft Dataset - and, if applicable, to its Datafiles (cf. :ref:`:AllowEnablingFilePIDsPerCollection <:AllowEnablingFilePIDsPerCollection>`) —
3537+
using the currently configured PIDProvider. In cases where the active PIDProvider differs from the one initially used to mint the dataset’s original PID, this API call facilitates reconciliation.
3538+
It ensures consistency by reassigning a PID that aligns with the current provider’s specifications. More specifically, for a draft dataset,
3539+
a new PID is minted through the active provider, and the previously assigned PID is preserved as an alternativePersistentIdentifier.
3540+
The same procedure applies to associated datafiles, provided that DataFile PIDs are enabled. (Note: If the currently configured PID provider is identical to the one originally used, this API call has no effect. )
3541+
3542+
The API is restricted to superusers and to datasets that have not already been published.(It does not make any changes to any PID Provider.)
3543+
Warning: This change does not affect the storage repository, where the old PID is still
3544+
used in the name of where files are stored for the dataset. If you want to remove the PID from the name used in storage, you could manually
3545+
move the files offline and remove the old identifier from the database (by setting storagelocationdesignator to false for the old identifier
3546+
in the alternativepersistentidentifier table). However, this step is not required for Dataverse to function correctly.
35443547
35453548
To reconcile the PID of a dataset:
35463549

0 commit comments

Comments
 (0)