Added some documentation comments to the api-endpoints