Returns the metadata for a Content Fragment, including the schema identifier and all property values defined by the linked metadata schema.
The schema is resolved from the fragment itself or its parent folder hierarchy. If no schema is explicitly linked up to the root folder, the default builtin schema is used.
The response includes an ETag header. Clients can pass this value in the If-None-Match header
of subsequent requests to avoid re-fetching unchanged data. When the metadata has not changed,
the server replies with a 304 Not Modified response and an empty body.
| If-None-Match | string The For more details, please head over to RFC9110. |
OK
Not Modified
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Not Found
Unacceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "schemaId": "aem-default-1.schema.json",
- "fields": [
- {
- "name": "dc:title",
- "type": "string",
- "value": "Summer Campaign 2026",
- "title": "Title"
}, - {
- "name": "version",
- "type": "integer",
- "value": 3,
- "title": "Version"
}, - {
- "name": "enabled",
- "type": "boolean",
- "value": true,
- "title": "Enabled"
}
]
}This operation allows updating metadata properties of a Content Fragment that has a linked metadata schema. The changes are passed as JSON Patch documents.
Properties must be defined in the linked metadata schema. Attempting to modify properties not defined
in the schema or read-only properties will result in a 400 error.
Save conflicts are detected by leveraging conditional HTTP
requests. When a conflict occurs, the server will reply with a 412 response.
| If-Match required | string The For more details, please head over to RFC9110. |
OK - Metadata updated successfully
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Not Found
Unacceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Precondition Failed
Unsupported Media Type. When provided as a response to a PATCH request,
the response will provide an Accept-Patch response header to notify
the client what patch document media types are supported.
Precondition Required
The server encountered an unexpected error. Retrying the request after a certain time could help.
[- {
- "op": "test",
- "path": "/dc:title",
- "value": "old value"
}, - {
- "op": "replace",
- "path": "/dc:title",
- "value": "new value"
}, - {
- "op": "copy",
- "from": "/dc:title",
- "path": "/custom:title"
}
]{- "schemaId": "aem-default-1.schema.json",
- "fields": [
- {
- "name": "dc:title",
- "type": "string",
- "value": "Summer Campaign 2026",
- "title": "Title"
}, - {
- "name": "version",
- "type": "integer",
- "value": 3,
- "title": "Version"
}, - {
- "name": "enabled",
- "type": "boolean",
- "value": true,
- "title": "Enabled"
}
]
}Links a metadata schema to a content fragment or DAM folder. The schema defines which metadata properties are available for the resource.
Binding a Schema:
schemaId to the ID of the metadata schema to bindUnbinding a Schema:
schemaId to null to remove the schema bindingOnly DAM folders and content fragments are supported. Other resource types will result in a 400 Bad Request response.
Schema binding updated successfully
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Not Found
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "resourcePath": "/content/dam/campaigns/summer-2026",
- "schemaId": "campaign.schema.json"
}{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}