Curation workflow gap #163
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
orinoco/dump-things-server#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use case: See if any records where submitted by anyone and accept them.
Approach: Loop over all inboxes, fetch all records, submit to collection via curator access.
Following this approach has one of two problems, either one requires using schema information rather than API information.
The issue is that in the end records need to be submitted to the right endpoint (type). But either I need to read the schema to infer the list of (inbox) endpoints to query from and submit to, or I need to query a generic endpoint and need to infer the type from the record.
What is the best/desired workflow here?
What about adding a
schema_type_auto-attribute (or aschema_type_curator-attribute) to all records that are returned via curator access? Curator access will:schema_type_auto-attribute in records that are read via curator accessschema_type_auto-attribute in records that are written via curator accessThis would support simple type determination of a record type. It would also support storing the record unmodified (via curator access).
The workflow would then include submitting the record to the correct endpoint (type).
We need to ensure that whatever attribute name we use is not defined in the schema itself. This could be checked on service startup.