You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The external vocabulary mechanism (see https://github.com/gdcc/dataverse-external-vocab-support/) now supports
4
+
assigning metadatablock dataset field types of fieldType textbox (multiline inputs) as managed fields. This new functionality is
5
+
being leveraged to support automated generation of citation text for Related Publications entries. (a url could be added once the work in the external vocabulary repo is done).
It is now possible to define storage quotas on individual datasets. See the API guide for more information.
2
+
The practical use case is for datasets in the top-level, root collection. This does not address the use case of a user creating multiple datasets. But there is an open dev. issue for adding per-user storage quotas as well.
3
+
4
+
A convenience API `/api/datasets/{id}/uploadlimits` has been added to show the remaining storage and/or number of files quotas, if present.
The output of the API will include the id, label, type (for example, "file" or "s3") as well as the support for direct download and upload.
275
+
274
276
To remove an assigned store, and allow the dataset to inherit the store from it's parent collection, use the following (only a superuser can do this) ::
Will output the storage quota allocated (in bytes), or a message indicating that the quota is not defined for the specific collection. The user identified by the API token must have the ``Manage`` permission on the collection.
1253
+
Will output the storage quota allocated (in bytes), or a message indicating that the quota is not defined for the collection. If this is an unpublished collection, the user must have the ``ViewUnpublishedDataverse`` permission.
1254
+
With an optional query parameter ``showInherited=true`` it will show the applicable quota potentially defined on the nearest parent when the collection does not have a quota configured directly.
Will output the dynamically cached total storage size (in bytes) used by the collection. The user identified by the API token must have the ``Edit`` permission on the collection.
1255
1261
1256
1262
To set or change the storage allocation quota for a collection:
1257
1263
1258
1264
.. code-block::
1259
1265
1260
-
curl -X POST -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/dataverses/$ID/storage/quota/$SIZE_IN_BYTES"
1266
+
curl -X PUT -H "X-Dataverse-key:$API_TOKEN" -d $SIZE_IN_BYTES "$SERVER_URL/api/dataverses/$ID/storage/quota"
1261
1267
1262
-
This is API is superuser-only.
1268
+
This API is superuser-only.
1263
1269
1264
1270
1265
1271
To delete a storage quota configured for a collection:
@@ -1268,9 +1274,70 @@ To delete a storage quota configured for a collection:
Will output the storage quota allocated (in bytes), or a message indicating that the quota is not defined for this dataset. If this is an unpublished dataset, the user must have the ``ViewUnpublishedDataset`` permission.
1287
+
With an optional query parameter ``showInherited=true`` it will show the applicable quota potentially defined on the nearest parent collection when the dataset does not have a quota configured directly.
Will output the dynamically cached total storage size (in bytes) used by the dataset. The user identified by the API token must have the ``Edit`` permission on the dataset.
1294
+
1295
+
To set or change the storage allocation quota for a dataset:
1296
+
1297
+
.. code-block::
1298
+
1299
+
curl -X PUT -H "X-Dataverse-key:$API_TOKEN" -d $SIZE_IN_BYTES "$SERVER_URL/api/datasets/$ID/storage/quota"
1300
+
1301
+
This API is superuser-only.
1302
+
1303
+
1304
+
To delete a storage quota configured for a dataset:
The following convenience API shows the dynamic values of the *remaining* storage size and/or file number quotas on the dataset, if present. For example:
This API requires the Edit permission on the dataset.
1272
1339
1273
-
Use the ``/settings`` API to enable or disable the enforcement of storage quotas that are defined across the instance via the following setting. For example,
1340
+
Use the ``/settings`` API to enable or disable the enforcement of storage quotas that are defined across the instance via the following setting:
Copy file name to clipboardExpand all lines: doc/sphinx-guides/source/installation/config.rst
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,27 +10,6 @@ Once you have finished securing and configuring your Dataverse installation, you
10
10
.. contents:: |toctitle|
11
11
:local:
12
12
13
-
.. _comma-separated-config-values:
14
-
15
-
Comma-separated configuration values
16
-
------------------------------------
17
-
18
-
Many configuration options (both MicroProfile/JVM settings and database settings) accept comma-separated lists. For all such settings, Dataverse applies consistent, lightweight parsing:
19
-
20
-
- Whitespace immediately around commas is ignored (e.g., ``GET, POST`` is equivalent to ``GET,POST``).
21
-
- Tokens are otherwise preserved exactly as typed. There is no quote parsing and no escape processing.
22
-
- Embedded commas within a token are not supported.
This behavior is implemented centrally and applies across all Dataverse settings that accept comma-separated values.
33
-
34
13
.. _securing-your-installation:
35
14
36
15
Securing Your Installation
@@ -2540,6 +2519,28 @@ Setting Up Integrations
2540
2519
2541
2520
Before going live, you might want to consider setting up integrations to make it easier for your users to deposit or explore data. See the :doc:`/admin/integrations` section of the Admin Guide for details.
2542
2521
2522
+
.. _comma-separated-config-values:
2523
+
2524
+
Comma-Separated Configuration Values
2525
+
------------------------------------
2526
+
2527
+
Many configuration options (both MicroProfile/JVM settings and database settings) accept comma-separated lists. For all such settings, Dataverse applies consistent, lightweight parsing:
2528
+
2529
+
- Whitespace immediately around commas is ignored (e.g., ``GET, POST`` is equivalent to ``GET,POST``).
2530
+
- Tokens are otherwise preserved exactly as typed. There is no quote parsing and no escape processing.
2531
+
- Embedded commas within a token are not supported.
If nexus.payara.fish is ever down for maintenance, Payara distributions are also available from https://repo1.maven.org/maven2/fish/payara/distributions/payara/
0 commit comments