Skip to content

[bug] Dashboard API filters not shown in API docs/browsable API #715

@nemesifier

Description

@nemesifier

Description:

There is a mismatch between the documented parameters of the /dashboard endpoint and what is available in the browsable REST API.

According to the API documentation, /dashboard supports the following parameters:

  • organization_slug: Organization slug (e.g. PHYTunes)
  • location_id: Location ID
  • floorplan_id: Floor plan ID
  • time: Timeframe in days (e.g. 3d means last 3 days)
  • start / end: Start and end time in YYYY-MM-DD H:M:S format

However, in the browsable REST API interface, these parameters are not listed or available.

Image

Expected behavior:
The browsable API should display and accept the same parameters described in the API documentation.

Actual behavior:
The browsable API shows no available parameters for /dashboard.

Steps to reproduce:

  1. Open the browsable API.
  2. Navigate to the /dashboard endpoint.
  3. Compare available parameters with those listed in the API documentation.

Additional context:
The issue may be related to missing filterset_fields or serializer configuration for the /dashboard view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    To do

    Status

    To do (Python & Django)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions