Client
Client copied to clipboard
Src::show method not working as expected
$client->repositories()->workspaces('workspace')->src('repo_slug')->show('commit_hash', 'path_to_dir')
Calling the above method where 'path_to_dir' points to a directory, I'd expect the response to contain a list of its sub directories and files as outlined in the api docs
However all I get is an object returned containing the metadata of the directory itself with no data of its contents.
I assume I'm doing something wrong here, are there any gotchas that I may have missed?