objects

Check if an object exists

Verifies the existence of a specific data object within a collection (class), identified by its collection name (className) and UUID (id), without returning the object itself.

This is faster than a GET request as it avoids retrieving and processing object data. Existence is confirmed by a 204 No Content status code, while non-existence results in a 404 Not Found.

head/objects/{className}/{id}

Request

  • Base URL: https://localhost:8080/v1
  • URL: https://localhost:8080/v1/objects/{className}/{id}
  • Auth: one of:
    • none
    • OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)

Path parameters

classNamestring required

Name of the collection (class) the object belongs to.

idstring uuid required

Unique UUID of the object to check.

Query parameters

consistency_levelstring

Determines how many replicas must acknowledge a request before it is considered successful.

tenantstring

Specifies the tenant in a request targeting a multi-tenant collection (class).

Response

Object exists.

Changes

No recorded changes to this operation across all 1 revision of this API.