This version of the API docs is depreciated and will be taken offline soon.
Please migrate to the new version as soon as possible to avoid service disruption.
New version can be found at https://docs.wceaapi.org/
Returns a training by id.
Request
- HTTP Verb: GET
- URI: /training/{id}
Query Parameters
- id: training id.
Request example
$trainings = $API->getTraining(1234);
Output Example
array( "id" => 1234, "name" => "A training name", "cost" => "FREE" "thumbnail" => "url_to_training_thumbnail", "description" => "lorem ipsum", "objectives" => "lorem ipsum", "duration" => "02:15:00", "language" => "English", "conflict_of_interest" => "lorem ipsum", "author_name" => "name_of_author", "author_information" => "info_about_author", "author_thumbnail" => "url_to_author_thumbnail" )