Skip to content

Collaboration API: GET Operations #144

@btoron

Description

@btoron

Overview

Implement the Collaboration API GET methods in the async client. This is a new API module not yet present in the async client.

Endpoints (3)

ID Method Path
CB001G GET addressBook
CB004G GET chats/{chatId}/messages
CB005G GET chats/{chatId}/participants

Method count: 3 GET operations

Implementation Notes

  • Create new module ofsc/async_client/collaboration.py with AsyncOFSCollaboration class
  • Wire into AsyncOFSC main client (similar to capacity, metadata, core)
  • Create corresponding Pydantic models in ofsc/models/ (new collaboration.py or add to __init__.py)
  • Capture saved responses via scripts/capture_api_responses.py
  • Create test file tests/async/test_async_collaboration.py
  • Run uv run python scripts/update_endpoints_doc.py --force after implementation
  • Update README with new Collaboration section

Acceptance Criteria

  • AsyncOFSCollaboration class created with all 3 GET methods
  • Module wired into AsyncOFSC
  • Pydantic models created for response types
  • Mocked tests passing
  • Live tests marked with @pytest.mark.uses_real_data
  • ENDPOINTS.md updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    asyncAsync client implementationcollaborationCollaboration API moduleenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions