Skip to content

[Work Item] Implement get_sampling_features() method #17

@Sam-Bolling

Description

@Sam-Bolling

📌 Task Description

Implement the getSamplingFeatures(params: Record<string, string>) method in src/client/connectedSystemsClient.ts. This method should retrieve sampling feature 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 getSamplingFeatures(params: Record<string, string>) created
  • Returns parsed response from CSAPI /sampling-features 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