Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Resource categories CRUD endpoints #131

@idormenco

Description

@idormenco

We need CRUD endpoints for resource categories.

  • POST /api/resources/category creates a category/subcategory
  • DELETE /api/resources/category/{id} deletes a category
  • PUT /api/resources/category/{id} updates a category/subcategory

suggested request model

{
    "parent_id": GUID or null, // send null when it is a category & send parent category id when it is a subcategory
    "name": string,
    "slug": string
}

Metadata

Metadata

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