Relatively new to the inner workings of Omeka-S, and its API, but wondering if it’s possible to set the Item id when issuing a
POST request? As in, the primary key
id in the database for the item, not just a metadata field?
Tried issuing a
POST with a JSON body that included
@id, but both were ignored. Also, tried
/api/items/ID_HERE, but that didn’t work either.
Realize it’s a bit unorthodox, and we’d be responsible for id collisions, but it would be nice to have that option.
We are migrating from an Omeka classic instance to Omeka-S, and for a variety of reasons, it would be hugely beneficial to maintain the original ids for each item. Using the Omeka-S importer, and had thought it might be possible to hack at that to allow using the old – “remote” – id as the new one, but not having much luck there.
Any thoughts or suggestions would be much appreciated!