What am I missing here?
I'm able to list objects no problem using the aws cli and this command:
aws s3 ls s3://bucket.mycompany.com/parent-dir1/parent-dir2/
But using the REST API via Postman, an equivalent request returns an empty response.
https://bucket.mycompany.com.s3.amazonaws.com/parent-dir1/parent-dir2/?list-type=2
x-amz-content-sha256 UNSIGNED-PAYLOAD
Status 200 but response is empty(There are MANY files in parent-dir2).

Eureka! Found the answer in the AWS docs here
Winner ended up being:
https://bucket.mycompany.com.s3.amazonaws.com/?list-type=2&prefix=parent-dir1/parent-dir2/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With