Skip to content

[Work Item] Implement get_datastreams() method #18

@Sam-Bolling

Description

@Sam-Bolling

📌 Task Description

Implement the getDatastreams(params: Record<string, string>) method in src/client/connectedSystemsClient.ts. This method should retrieve datastream metadata from CSAPI-compliant servers using flexible query parameters.

This method is part of the extended CSAPI support and should follow the same modular, compositional design as core methods. It will be exposed via .connectedSystems only if CSAPI capability is detected.

✅ Acceptance Criteria

  • Method getDatastreams(params: Record<string, string>) created
  • Returns parsed response from CSAPI /datastreams endpoint
  • Integrated into ConnectedSystemsClient class
  • Covered by unit tests using vitest or jest
  • Includes JSDoc comments for documentation
  • Linked to GitHub Project board

🔗 Related Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-methodsSpecific to CSAPI method implementationfeatureNew functionality being addedfutureScoped for future implementation; not prioritized for current milestone.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions