Skip to content

Implement Main Table Endpoints #633

@Syzygicality

Description

@Syzygicality

Background

We want to be able to query for all available commands, as well as the details for all telemetries. Follow the endpoint style of #628 user.py.

May want to wait for #630 for ease of testing but up to you ^^

Requirements

Describe the requirements that this feature must meet.

  • Implement get_all_commands and get_command_by_id using MainCommandWrapper() w/ caching
  • Create main_telemetry.py in mcc/endpoints and implement get_all_telemetries and get_telemetry_by_id using MainTelemetryWrapper() w/ caching
  • Update mcc/models/responses.py for the new endpoints
  • Write pytests and manually test via /docs page

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions