Skip to content

Support for Databrary 2.0 - #79

Merged
parmatys merged 122 commits into
databrary:masterfrom
NYU-Databrary:main
Oct 6, 2026
Merged

parmatys merged 122 commits into
databrary:masterfrom
NYU-Databrary:main

Conversation

@parmatys

Copy link
Copy Markdown
Collaborator

No description provided.

parmatys and others added 30 commits October 24, 2025 09:20
… functions, and update documentation. Adjust tests for consistency and add new tests for recent changes.
The Databrary API now returns different field names (institutions,
affiliates, investigators, hours_of_recordings) instead of the legacy
fields (authorized_users, total_volumes, etc.). Updated the function
to map new fields while keeping legacy fields as NA for backwards
compatibility.
- Add API constant for funder detail endpoint
- Implement get_funder_by_id() function
- Add test suite (11 test cases)
- Add function documentation
- Add API constant for tag detail endpoint
- Implement get_tag_by_id() function
- Add test suite (12 test cases)
- Add function documentation
- Added API_CATEGORY_DETAIL constant
- Implemented get_category_by_id() to retrieve category by ID
- Add test suite (12 test cases)
- Add function documentation
  - Added API_CATEGORIES constant
  - Implemented list_categories() to retrieve all categories
  - Add test suite (10 test cases)
  - Add function documentation
  - Added API_VOLUME_RECORDS constant
  - Implemented list_volume_records() to retrieve participant records from volumes
  - Add test suite (14 test cases)
  - Add function documentation
  - Added API_VOLUME_RECORD_DETAIL constant
  - Implemented get_volume_record_by_id() to retrieve single record by ID
  - Created test suite (14 test cases)
  - Added API_VOLUME_COLLABORATOR_DETAIL constant
  - Implemented get_volume_collaborator_by_id() to retrieve single collaborator by ID
  - Returns detailed collaborator data with user, sponsor, and sponsorship info
  - Created test suite (15 test cases)
DAT-1493: Updated OAuth2 authentication process and token management
DAT-1494: Updated and added all non-download functionality and tests
DAT-1495: Added and adjusted functions for downloading
…ions; Changed some default parameters to make function testing easier.
… minor edits to function documentation; add .progress parameter to some `purrr()` calls; comment-out legacy checks on rq parameter for some functions.
DAT-1558: Fixed pipe operator and token management to download_signed_file function
parmatys and others added 29 commits May 14, 2026 16:00
refactor: various improvements to tests
…nctions for improved error handling and output validation
…rations; refactor duplicate checking functions
Update volume folder/session listings with file count handling
…ersion changes and remove deprecated imports
docs: add comprehensive Agent Guide with navigation
DAT-1820: update files to reflect dependency version changes and remove deprecated imports
DAT-1845: add file_sizes to volume information retrieval functions
@parmatys
parmatys merged commit 18be5c5 into databrary:master Oct 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants