API routes - fly-sorter/flySorter-back-end-v2 GitHub Wiki
Home / API routes
API Routes
signup and signin
The signup and signin routes give you the ability to create a new user account. Once authorized and authenticated you can login to the FlySorter inventory management system with your account. These routes are administered by AWS Cognito.
/part-table
This route reads and retrieves all the parts presently in the parts table of the FlySorter inventory management system. This route is managed with AWS API Gateway.
/sub-table
This route retrieves a table of a sub-assembly currently in the database. A sub-assembly can contain both parts listed in the parts table and other sub-assemblies. This route is managed with AWS API Gateway.
/createpart
The createpart route creates a new part and adds it to the database. This route is managed with AWS API Gateway.
/createsub
The createsub route creates a new sub-assembly and posts to the database. This route is managed with AWS API Gateway.
/editpart
This route edits parts in the parts table. It essentially is a PUT request, which removes and replaces the record that is being edited. This route is managed with AWS API Gateway.