tcindex/tcindex.go
func (index *Index) FindTask(indexPath string) (*IndexedTaskResponse, error) {
	cd := tcclient.Client(*index)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/task/"+url.QueryEscape(indexPath), new(IndexedTaskResponse), nil)
	return responseObject.(*IndexedTaskResponse), err
}
func (index *Index) FindTask(indexPath string) (*IndexedTaskResponse, error) {
	cd := tcclient.Client(*index)
	responseObject, _, err := (&cd).APICall(nil, "GET", "/task/"+url.QueryEscape(indexPath), new(IndexedTaskResponse), nil)
	return responseObject.(*IndexedTaskResponse), err
}
// Find a task by index path, returning the highest-rank task with that path. If no
// task exists for the given path, this API end-point will respond with a 404 status.
//
// See #findTask