api urls catalog.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. api/login - POST login
  2. api/logout - DELETE logout
  3. api/password POST change password
  4. # INVENTORY
  5. api/inventory/items - GET -> get all items
  6. api/inventory/item - POST create items
  7. api/inventory/item/<item_id> - GET get item by id
  8. api/inventory/item/<item_id> - UPDATE item by id
  9. api/inventory/item/<item_id> - DELETE item by id
  10. api/inventory/item/template GET get null item template json
  11. api/inventory/sites - GET -> get all site
  12. api/inventory/site - POST create site
  13. api/inventory/site/<site_id> - GET get site by id
  14. api/inventory/site/<site_id> - UPDATE site by id
  15. api/inventory/site/<site_id> - DELETE site by id
  16. api/inventory/site/template GET get null item template json
  17. api/inventory/contacts - GET -> get all contact
  18. api/inventory/contact - POST create contact
  19. api/inventory/contact/<contact_id> - GET get contact by id
  20. api/inventory/contact/<contact_id> - UPDATE contact by id
  21. api/inventory/contact/<contact_id> - DELETE contact by id
  22. api/inventory/contact/template GET get null item template json
  23. api/inventory/groups - GET -> get all groups with items array id
  24. api/inventory/group - POST create group with items ids
  25. api/inventory/group/<contact_id> - GET get group by id
  26. api/inventory/group/<contact_id>/item/<item_id> - POST add item to group
  27. api/inventory/group/<contact_id>/item/<item_id> - DELETE delete item to group
  28. api/inventory/group/<contact_id> - DELETE group by id
  29. api/inventory/group/template GET get null item template json