Skip to content

Implement data-groups endpoint #138

@bburda

Description

@bburda

Summary

Implement GET /apps/{id}/data-groups endpoint to return logical groupings of data items. Currently returns 501 Not Implemented.


Proposed solution

  1. Data groups provide a way to logically group related data items, separate from categories:

    • Groups can span multiple categories
    • Groups are defined by namespace hierarchy or explicit configuration
  2. Auto-generate groups based on:

    • Topic namespace structure (e.g., /robot/arm/ → "arm" group)
    • Explicit groupings in manifest file
    • Message field groupings for complex types
  3. Response format:

{
  "items": [
    {
      "id": "motion",
      "name": "Motion Data",
      "description": "Position, velocity, and acceleration data",
      "dataIds": ["position", "velocity", "acceleration"]
    },
    {
      "id": "environment",
      "name": "Environmental Sensors",
      "description": "Environmental measurement data",
      "dataIds": ["temperature", "humidity", "pressure"]
    }
  ]
}

Additional context

  • Route already registered in rest_server.cpp, needs handler implementation
  • Groups differ from categories: categories are semantic types, groups are logical collections
  • Consider supporting nested groups for complex systems

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions