Add endpoint to get activities and activity by id.