You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Tags and categories have been the marketplace item's property for a long time.
But when we support UI to add tags to item or filter tags when list item, we need a easy way to list all tags we have (for tag picker suggestion)
same with the category
So here design the Tag and Category API, to support CURD of tags & categories.
list: GET /categories
get: GET /categories/<category id>
create: POST /categories
update: PUT /categories/<category id>
delete: DELETE /categories/<category id>
Permission (need more discussion)
All user with correct token (write permission for any item) can create/list/get tags, and list/get categories.
Only admin can update/delete tags and create/update/delete categories.
Work Plan
Process Check List
models/controllers/router
Test cases
Test 1
Test 2
The text was updated successfully, but these errors were encountered:
Introduction
Tags and categories have been the marketplace item's property for a long time.
But when we support UI to add tags to item or filter tags when list item, we need a easy way to list all tags we have (for tag picker suggestion)
same with the category
So here design the Tag and Category API, to support CURD of tags & categories.
Issues / Motivations
Proposals / Solutions
Tags
Definition
APIs
Categories
Definition
APIs
Permission (need more discussion)
All user with correct token (write permission for any item) can create/list/get tags, and list/get categories.
Only admin can update/delete tags and create/update/delete categories.
Work Plan
Process Check List
Test cases
The text was updated successfully, but these errors were encountered: