Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an endpoint to get all categories created by admin #55

Open
LarisaTerenteva opened this issue Jun 29, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@LarisaTerenteva
Copy link

Is your feature request related to a problem? Please describe.
It is now only possible to get the separate category by id or the list of all existing categories, which is not quite comfortable while managing categories by admin user, when there are more than one user in a system with admin role.

Describe the solution you'd like
I propose adding a new endpoint by analogy with courses so it would be possible to manage categories created by the separate admin while being logged in to this admin account:
GET http://qa-school-test.quantori.academy/api/v1/categories/mine

@viraxslot viraxslot added the enhancement New feature or request label Jul 15, 2022
@viraxslot
Copy link
Owner

I think we can make it even more flexible:

  1. Add the possibility to get a list of admins
  2. Add the possibility to get categories by admin id

I'll think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants