File tree Expand file tree Collapse file tree 4 files changed +5
-269
lines changed Expand file tree Collapse file tree 4 files changed +5
-269
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -196,12 +196,12 @@ model. We encourage you to explore it fully before you consider adding your own
196
196
fields. But adding your own fields is possible and no hacks are necessary.
197
197
198
198
Metadata extensions are defined via two configurations: the additional fields'
199
- namespaces, a unique identifying url to prevent field clashes with other extensions,
199
+ namespaces, a unique identifying url to prevent field collisions with other extensions,
200
200
and the extensions (fields) themselves, a name, validation schema type and
201
201
ElasticSearch storage type.
202
202
203
203
To extend the metadata model, we edit the corresponding configuration variables
204
- in our familiar friend ` invenio.cfg ` . For our purposes , we first add the new
204
+ in our familiar friend ` invenio.cfg ` . For example , we first add the new
205
205
namespace:
206
206
207
207
@@ -264,8 +264,8 @@ Restart the server. Creating a record now looks like this:
264
264
``` bash
265
265
curl -k -XPOST -H " Content-Type: application/json" https://localhost:5000/api/records/ -d ' {
266
266
"_access": {
267
- "metadata_restricted": False ,
268
- "files_restricted": False
267
+ "metadata_restricted": false ,
268
+ "files_restricted": false
269
269
},
270
270
"_owners": [1],
271
271
"_created_by": 1,
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ ls -la inveniordm-preview
77
77
total 56
78
78
drwxr-xr-x 5 youruser youruser 4096 Feb 19 13:45 ./
79
79
drwxr-xr-x 5 youruser youruser 4096 Feb 19 13:45 ../
80
+ drwxr-xr-x 3 youruser youruser 4096 Feb 19 13:45 app_data/
80
81
drwxr-xr-x 3 youruser youruser 4096 Feb 19 13:45 assets/
81
82
drwxr-xr-x 4 youruser youruser 4096 Feb 19 13:45 docker/
82
83
-rw-r--r-- 1 youruser youruser 2932 Feb 19 13:45 docker-compose.full.yml
You can’t perform that action at this time.
0 commit comments