OpenStack Swift icon

OpenStack Swift

Interact with OpenStack Swift

object → Head Object

AI-generated

Summary

Retrieve metadata for a single object in an OpenStack Swift container without modifying it.

Inputs

  • container (required) — Name of the Swift container that holds the object.
  • objectName (required) — Name of the object whose metadata is requested.
  • customAuthToken (required) — Optional authentication token; leave empty to use default credentials.
  • customStorageUrl (required) — Optional storage URL; leave empty to use default endpoint.

Output shape

a single object metadata record

Returns object headers such as etag, size, content_type, and last_modified; top‑level success response, no pagination.

Examples

Example 1: Verify existence and view metadata of an object

Container Name = my-bucket, Object Name = my-file.txt, Custom Auth Token = (empty), Custom Storage URL = (empty)

Discussion