Now enter S3API CLI. Not only the CLI commands can retrieve S3 objects, but also associated metadata. For example, retrieve S3 object similar to aws s3 cp: 1. $ aws s3api get-object --bucket mybucket --key myfile.json. Just need the metadata of the object, use head-object, which retrieves metadata without the object itself, as HTTP HEAD method.
freepbx rest api make call