API reference / enrichment

enrichment

GET/api/v1/enrichment

List enrichment

Auth:
required
Response:
{ data }
POST/api/v1/enrichment

Create enrichment

Auth:
required
Response:
{ data }
GET/api/v1/enrichment/:id

Get enrichment by ID

Auth:
required
Response:
{ data }
PATCH/api/v1/enrichment/:id

Partially update enrichment

Auth:
required
Response:
{ data }
DELETE/api/v1/enrichment/:id

Delete enrichment

Auth:
required
Response:
{ success, message }
POST/api/v1/enrichment/:id/approve

Approve enrichment

Auth:
required (min role: coach)
Response:
{ success, message }
POST/api/v1/enrichment/:id/reject

Reject enrichment

Auth:
required (min role: coach)
Response:
{ success, message }
POST/api/v1/enrichment/batch

Create batch

Auth:
required (min role: coach)
Response:
{ success, message }
GET/api/v1/enrichment/pending

List pending

Auth:
required (min role: coach)
Response:
{ data }
GET/api/v1/enrichment/players/:id

Get player by ID

Auth:
required
Response:
{ data }
GET/api/v1/enrichment/teams/:teamId

Get team by ID

Auth:
required
Response:
{ data }
enrichment API — Peer10 Developers