api urls catalog.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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/site/<int:siteID>/items GET associated items with this
  18. api/inventory/contacts - GET -> get all contact
  19. api/inventory/contact - POST create contact
  20. api/inventory/contact/<contact_id> - GET get contact by id
  21. api/inventory/contact/<contact_id> - UPDATE contact by id
  22. api/inventory/contact/<contact_id> - DELETE contact by id
  23. api/inventory/contact/template GET get null item template json
  24. api/inventory/contact/<int:siteID>/items GET associated items with this
  25. api/inventory/groups - GET -> get all groups with items array id
  26. api/inventory/group - POST create group with items ids
  27. api/inventory/group/<contact_id> - GET get group by id
  28. api/inventory/group/<contact_id>/item/<item_id> - POST add item to group
  29. api/inventory/group/<contact_id>/item/<item_id> - DELETE delete item to group
  30. api/inventory/group/<contact_id> - DELETE group by id
  31. api/inventory/group/template GET get null item template json
  32. api/inventory/group/<int:siteID>/items GET associated items with this