Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 692 Bytes

update-roadmap-progress.md

File metadata and controls

46 lines (31 loc) · 692 Bytes

POST /api/roadmaps/:roadmapId/progress

Description

Update the progress of user on a roadmap.

Request

Parameters

  • roadmapId: id of the roadmap to update progress of. (required - included in path)

Body

{
  "data": "Base64 encoded JSON string"
}

Headers

  • cookie: token=... (required)

Response

{
  "success": true,
  "message": "Roadmap progress updated"
}

Response Codes

Code Description
200 Success
400 Bad Request
401 Unauthorized
404 Not Found.
500 Internal Server Error.

Cookies

None