Ask Your Question

Revision history [back]

Query Swift Object by metadata Syntax

Is it possible to query all the objects in a container by user defined metadata? ie X-Object-Meta-Location?

Does this require 3rd party software?

Query Swift Object by metadata Syntax

Is it possible to query all the objects in a container by user defined metadata? ie X-Object-Meta-Location?

Does this require 3rd party software?

I tried the following but it did not work: curl -g "$public_url/v1/AUTH_id/test_store_01?metadata:v1&attributes=all_attrs&query=X-Object-Meta-Filename='test_file_01'" -H "X-Auth-Token: $token"

Query Swift Object by metadata Syntax

Is it possible to query all the objects in a container by user defined metadata? ie X-Object-Meta-Location?

Does this require 3rd party software?

I tried the following but it did not work: work:

curl -g "$public_url/v1/AUTH_id/test_store_01?metadata:v1&attributes=all_attrs&query=X-Object-Meta-Filename='test_file_01'" -H "X-Auth-Token: $token"

$token"