Skip to content

Latest commit

 

History

History
170 lines (127 loc) · 5.38 KB

API.md

File metadata and controls

170 lines (127 loc) · 5.38 KB

API Routes

AuthController:register
register

POST /login

AuthController:login
login
AuthController:refresh
jwt.refresh
AuthController:me
users.me

GET /users

UserController:getCollection
get_users
UserController:delete
delete_user
UserController:promote
promote_user
UserController:demote
demote_user
CategoryController:getCollection
get_categories
CategoryController:get
get_category
CategoryController:post
post_category
CategoryController:put
put_category
CategoryController:delete
delete_category
CategoryController:getCategoryProducts
get_category_products
ProductController:getCollection
get_products
ProductController:get
get_product
ProductController:post
post_product
ProductController:put
put_product
ProductController:delete
delete_product

GET /items

ItemController:getCollection
get_items
ItemController:get
get_item
ItemController:getByCode
get_item_code

POST /items

ItemController:post
post_item
ItemController:put
put_item
ItemController:delete
delete_item
LocationController:getCollection
get_locations
LocationController:get
get_location
LocationController:post
post_location
LocationController:put
put_location
LocationController:delete
delete_location
LocationController:activate
activate_location
LocationController:getItemsLocation
get_items_location
ClientController:getCollection
get_clients
ClientController:get
get_client
ClientController:post
post_client
ClientController:put
put_client
ClientController:delete
delete_client

GET /flows

FlowController:getCollection
get_flows
FlowController:get
get_flow

POST /flows

FlowController:post
post_flow
FlowController:put
put_flow
FlowController:delete
delete_flow