From f97735a8f1663f3a6910fcf434c986281a54ac65 Mon Sep 17 00:00:00 2001 From: Helen Lin <46795546+helen-m-lin@users.noreply.github.com> Date: Tue, 3 Mar 2026 13:34:40 -0500 Subject: [PATCH 1/2] docs: refer to aind-data-migration-scripts for updating docdb (#207) --- docs/source/ExamplesDocDBRestApi.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/source/ExamplesDocDBRestApi.rst b/docs/source/ExamplesDocDBRestApi.rst index 0fcdab6..3a6a142 100644 --- a/docs/source/ExamplesDocDBRestApi.rst +++ b/docs/source/ExamplesDocDBRestApi.rst @@ -192,9 +192,16 @@ It's possible to attach a custom Session to retry certain requests errors: Updating Metadata ~~~~~~~~~~~~~~~~~~~~~~ +.. note:: + + Manual updates to metadata in DocDB should be made through the + `aind-data-migration-scripts `_ + repository to track changes. Please see the README in that repository for instructions. + + For special use cases, a minimal example of updating metadata directly using the API is provided below. 1. **Permissions**: Request permissions for AWS Credentials to write to DocDB through the API Gateway. -Note that the asset de/registration endpoints are intended for administrative use and require elevated AWS credentials/permissions. + Note that the asset de/registration endpoints are intended for administrative use and require elevated AWS credentials/permissions. 2. **Query DocDB**: Filter for the records you want to update. 3. **Update DocDB**: Use ``upsert_one_docdb_record`` or ``upsert_list_of_docdb_records`` to update the records. From db9cbdc882c8b5871850205663ffd9302f443e8f Mon Sep 17 00:00:00 2001 From: Helen Lin <46795546+helen-m-lin@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:39:25 -0700 Subject: [PATCH 2/2] ci: bump version to 1.9.4 --- src/aind_data_access_api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aind_data_access_api/__init__.py b/src/aind_data_access_api/__init__.py index 4c71ba2..d0698dc 100644 --- a/src/aind_data_access_api/__init__.py +++ b/src/aind_data_access_api/__init__.py @@ -1,3 +1,3 @@ """Init package""" -__version__ = "1.9.3" +__version__ = "1.9.4"