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
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,9 @@ Each row defines one DataCite repository. Multiple profiles can be configured an
36
36
| Repository ID | Your DataCite repository ID |
37
37
| Password | Your DataCite repository password |
38
38
| DOI Prefix | DOI prefix including trailing slash, e.g. `10.12345/`|
39
+
| DOI Unique ID Field | The part of the DOI that comes after the prefix. User `systemobjectid`, `uuid` or a dot-separated path to a field in a fylr object. |
39
40
| API URL | DataCite API endpoint. Default: `https://api.test.datacite.org` (test). Use `https://api.datacite.org` for production. |
40
-
| Collector Name | Internal name of the collector as configured in the fylr base config publish settings |
41
+
| Collector Name | Internal name of the collector as configured in the fylr base config publish settings.|
41
42
| Publish as Findable | If enabled, the DOI is immediately published (findable). Requires a Detail URL Template. |
42
43
| Detail URL Template | URL template for the object's landing page. Use `%system_object_id%` as placeholder. |
43
44
| DOI Resolver URL | The first part of the URL that will be written in the publish entry in fylr. The URL setting in the collector base config will be ignored. |
Copy file name to clipboardExpand all lines: documentation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,7 +280,7 @@ If the admin forgets the query parameter, the script fails fast with `datacite.c
280
280
4. It reads the selected profile and its matching field mappings from the plugin config.
281
281
5. For each object in `data.objects`:
282
282
- Resolve each field mapping's dot-path into the object. If a path goes into a linked object, fetch the full linked object from the fylr API using the plugin user's Bearer token.
283
-
- Construct the DOI as `<doi_prefix><system_object_id>`.
283
+
- Construct the DOI as `<doi_prefix><system_object_id/uuid/custom field>`.
284
284
- Build the DataCite JSON:API payload.
285
285
- POST to `<api_url>/dois`. If DataCite returns 422 (exists), retry with PUT to `<api_url>/dois/<doi>`.
286
286
- POST a publish entry to `<fylr_api_url>/api/v1/publish` (Bearer auth) so the DOI appears in the object's publish tab.
0 commit comments