Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

feat: add stratagem groups endpoint and category data #62

@ondrovic

Description

@ondrovic

Currently there is no way to get the Stratagem Groups so all we are left with is

[
{
 ...
 "groupId": 1
},
{
...
 "groupId": 3
},
]

But there is clearly a schema for it

model StratagemGroup {
  id         Int         @id @default(autoincrement())
  name       String
  stratagems Stratagem[]
  createdAt  DateTime    @default(now())
  updatedAt  DateTime    @updatedAt
}

I would like to request additional endpoints under Stratagems so we can access that data

method: GET
path: /api/stratagems/group

method: GET
path: /api/stratagems/group/:id

Also access to the Stratagem Category if possible

StratagemCategory {
  name: string;
  entries: Stratagem[];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions