Skip to content

Retrieve Activity

David Alejandro Molano Vásquez edited this page May 8, 2020 · 1 revision

Retrieve Activity

This endpoint allows an authenticated user to retrieve an activity. Accepts GET requests. The following parameters are needed:

  • Activity Id: The id of the activity requested.
URL /api/activity/actId
Method GET
URL Params actId
Data Params None
Success Response
Code: 200
{"Title":[string], "dateClose":[string], "baseId": [string], "key_concepts": [array]}
Error Response
Code: 400
{"Error": "Invalid Field"}
Error Response
Code: 404
{"Error": "Activity not found"}
Error Response
Code: 500
{"Error": "Something went wrong"}

Clone this wiki locally