EasyRestPhP API Documentation
Your API and Web Framework is up and running. Below are the registered routes discovered automatically:
auth
POST
/auth/{id}/login
->post_login()
GET
/auth/{id}/me
->get_me()
POST
/auth/{id}/google
->post_google()
balance_lines
GET
/balance_lines[/{id}]
->get()
POST
/balance_lines[/{id}]
->post()
PATCH
/balance_lines[/{id}]
->patch()
DELETE
/balance_lines[/{id}]
->delete()
balance_lines_conflicts
GET
/balance_lines_conflicts[/{id}]
->get()
balance_lines_simulate
POST
/balance_lines_simulate[/{id}]
->post()
budget_element_dependencies
GET
/budget_element_dependencies[/{id}]
->get()
POST
/budget_element_dependencies[/{id}]
->post()
DELETE
/budget_element_dependencies[/{id}]
->delete()
budget_element_restrictions
GET
/budget_element_restrictions[/{id}]
->get()
POST
/budget_element_restrictions[/{id}]
->post()
PATCH
/budget_element_restrictions[/{id}]
->patch()
DELETE
/budget_element_restrictions[/{id}]
->delete()
budget_elements
GET
/budget_elements[/{id}]
->get()
POST
/budget_elements[/{id}]
->post()
PATCH
/budget_elements[/{id}]
->patch()
DELETE
/budget_elements[/{id}]
->delete()
PATCH
/budget_elements/{id}/move
->patch_move()
budget_nomenclatures
GET
/budget_nomenclatures[/{id}]
->get()
POST
/budget_nomenclatures[/{id}]
->post()
budget_revisions
GET
/budget_revisions[/{id}]
->get()
POST
/budget_revisions[/{id}]
->post()
PATCH
/budget_revisions[/{id}]
->patch()
DELETE
/budget_revisions[/{id}]
->delete()
contract_history
GET
/contract_history[/{id}]
->get()
POST
/contract_history[/{id}]
->post()
PATCH
/contract_history[/{id}]
->patch()
DELETE
/contract_history[/{id}]
->delete()
contract_items
GET
/contract_items[/{id}]
->get()
POST
/contract_items[/{id}]
->post()
PATCH
/contract_items[/{id}]
->patch()
DELETE
/contract_items[/{id}]
->delete()
contract_objects
GET
/contract_objects[/{id}]
->get()
POST
/contract_objects[/{id}]
->post()
PATCH
/contract_objects[/{id}]
->patch()
DELETE
/contract_objects[/{id}]
->delete()
contractors
GET
/contractors[/{id}]
->get()
POST
/contractors[/{id}]
->post()
PATCH
/contractors[/{id}]
->patch()
DELETE
/contractors[/{id}]
->delete()
contracts
GET
/contracts[/{id}]
->get()
POST
/contracts[/{id}]
->post()
PATCH
/contracts[/{id}]
->patch()
DELETE
/contracts[/{id}]
->delete()
POST
/contracts/{id}/approve
->post_approve()
POST
/contracts/{id}/reject
->post_reject()
POST
/contracts/{id}/sign
->post_sign()
daily_logs
GET
/daily_logs[/{id}]
->get()
PATCH
/daily_logs[/{id}]
->patch()
POST
/daily_logs[/{id}]
->post()
empreiteiros
GET
/empreiteiros[/{id}]
->get()
POST
/empreiteiros[/{id}]
->post()
PATCH
/empreiteiros[/{id}]
->patch()
DELETE
/empreiteiros[/{id}]
->delete()
fvs
GET
/fvs[/{id}]
->get()
POST
/fvs[/{id}]
->post()
PATCH
/fvs[/{id}]
->patch()
DELETE
/fvs[/{id}]
->delete()
index
GET
/
->get()
items
GET
/items[/{id}]
->get()
POST
/items[/{id}]
->post()
PATCH
/items[/{id}]
->patch()
DELETE
/items[/{id}]
->delete()
location_types
GET
/location_types[/{id}]
->get()
POST
/location_types[/{id}]
->post()
PATCH
/location_types[/{id}]
->patch()
DELETE
/location_types[/{id}]
->delete()
locations
GET
/locations[/{id}]
->get()
POST
/locations[/{id}]
->post()
PATCH
/locations[/{id}]
->patch()
DELETE
/locations[/{id}]
->delete()
logs
GET
/logs[/{id}]
->get()
DELETE
/logs[/{id}]
->delete()
measurements
GET
/measurements[/{id}]
->get()
POST
/measurements[/{id}]
->post()
PATCH
/measurements[/{id}]
->patch()
production_records
GET
/production_records[/{id}]
->get()
POST
/production_records[/{id}]
->post()
PATCH
/production_records[/{id}]
->patch()
DELETE
/production_records[/{id}]
->delete()
profiles
GET
/profiles[/{id}]
->get()
POST
/profiles[/{id}]
->post()
PATCH
/profiles[/{id}]
->patch()
DELETE
/profiles[/{id}]
->delete()
representantes_legais
GET
/representantes_legais[/{id}]
->get()
POST
/representantes_legais[/{id}]
->post()
PATCH
/representantes_legais[/{id}]
->patch()
DELETE
/representantes_legais[/{id}]
->delete()
resource_classifications
GET
/resource_classifications[/{id}]
->get()
POST
/resource_classifications[/{id}]
->post()
PATCH
/resource_classifications[/{id}]
->patch()
DELETE
/resource_classifications[/{id}]
->delete()
sites
GET
/sites[/{id}]
->get()
POST
/sites[/{id}]
->post()
PATCH
/sites[/{id}]
->patch()
DELETE
/sites[/{id}]
->delete()
tasks
GET
/tasks[/{id}]
->get()
POST
/tasks[/{id}]
->post()
PATCH
/tasks[/{id}]
->patch()
DELETE
/tasks[/{id}]
->delete()
units
GET
/units[/{id}]
->get()
POST
/units[/{id}]
->post()
PATCH
/units[/{id}]
->patch()
DELETE
/units[/{id}]
->delete()
users
GET
/users[/{id}]
->get()
GET
/users/{id}/sites
->get_sites()
POST
/users/{id}/sites
->post_sites()
POST
/users[/{id}]
->post()
PATCH
/users[/{id}]
->patch()
DELETE
/users[/{id}]
->delete()
POST
/users/{id}/avatar
->post_avatar()
GET
/users/{id}/avatar
->get_avatar()
wagons
GET
/wagons[/{id}]
->get()
POST
/wagons[/{id}]
->post()
PATCH
/wagons[/{id}]
->patch()
DELETE
/wagons[/{id}]
->delete()
weekly_plans
GET
/weekly_plans[/{id}]
->get()
POST
/weekly_plans[/{id}]
->post()
PATCH
/weekly_plans[/{id}]
->patch()
DELETE
/weekly_plans[/{id}]
->delete()