Repository navigation
API Design
Rodrigo Silveira edited this page Aug 6, 2026
·
1 revision
All APIs should be versioned under /api/v1.
POST /auth/loginPOST /auth/logoutGET /auth/me
GET /peoplePOST /peopleGET /people/:idPUT /people/:idGET /people/:id/journeys
GET /collaboratorsPOST /collaboratorsGET /collaborators/:idPUT /collaborators/:idPOST /collaborators/:id/extendPOST /collaborators/:id/finishGET /collaborators/:id/projection
GET /reference-data/:typePOST /reference-data/:typePUT /reference-data/:type/:id
GET /work-periodsPOST /work-periodsGET /work-periods/:idPOST /work-periods/:id/seed-from-previousGET /work-periods/:id/planPUT /work-periods/:id/plan-items/:planItemIdPOST /work-periods/:id/informPOST /work-periods/:id/accrue
GET /mine-productionsPOST /mine-productionsPUT /mine-productions/:id
GET /gold-pricesPOST /gold-pricesPUT /gold-prices/:idGET /gold-prices/latest
GET /price-listPOST /price-listPUT /price-list/:idGET /price-list/:id/price-preview?currency=BRL|GOLD_GRAMS
GET /expensesPOST /expensesGET /expenses/:idPOST /expenses/:id/revert
GET /current-accounts/:collaboratorId/summaryGET /current-accounts/:collaboratorId/entriesGET /current-accounts/:collaboratorId/entries?currency=BRLGET /current-accounts/:collaboratorId/entries?currency=GOLD_GRAMSPOST /current-accounts/entries/:id/revertPOST /current-accounts/:collaboratorId/zero-goldPOST /current-accounts/:collaboratorId/close
GET /reports/dashboardGET /reports/collaborator-balancesGET /reports/journeys-ending-soonGET /reports/pending-production-accrualsGET /reports/mercantile-sales