Koha Test Wiki Canasta - March 2024

One of a series of test instances for migrating the Koha Wiki MediaWiki database.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Import batch profiles endpoint RFC

From Koha Test Wiki Canasta
Jump to navigation Jump to search

Bugs


Actions and routes

General proposed routes.

Description Action Proposed path
List import batch profiles
 GET
 /import_batch_profiles
Create an import batch profile
 POST
 /import_batch_profiles
Overwrite an import batch profile
 PUT
 /import_batch_profiles/{profile_id}
Delete an import batch profile
 DELETE
 /import_batch_profiles/{profile_id}

Import batch profile object definition

DB schema Proposed API Details
id id_profile Internal profile identifier
name name name of this profile
matcher_id matcher_id the id of the match rule used (matchpoints.matcher_id)
template_id template_id the id of the marc modification template
overlay_action overlay_action how to handle duplicate records
nomatch_action nomatch_action how to handle records where no match is found
item_action item_action what to do with item records
parse_items parse_items should items be parsed
record_type record_type type of record in the batch
encoding encoding file encoding
format format marc format
comments comments any comments added when the file was uploaded}