Download OpenAPI specification:Download
This operation provides support for retrieving all the Content Fragments accessible to the current user, determined via the applied request authorization. By default this call will return a maximum of 50 items.
The caller can define other limits suited to their application (see the limit
query
parameter), but the limit cannot be higher than 50. To ask for the next set of items
pass the value of the cursor
provided in the response to the cursor
query parameter.
A response containing a potentially paginated list of content fragments.
Bad Request. The Problem Details object will provide more information about the exact cause.
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.
{- "items": [
- {
- "path": "/content/dam/wknd-shared/en/contributors/ian-provo",
- "title": "Ian Provo",
- "description": "",
- "id": "6d980e6a-c9e7-444b-af43-5503c46a061c",
- "created": {
- "at": "2023-08-02T16:01:48.275+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2023-08-04T14:51:58.597+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "Ian"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [
- "1988-09-26T14:09:00-07:00"
]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer",
- "Photographer"
]
}
], - "variations": [
- {
- "name": "another",
- "title": "Another",
- "description": "",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "IanX"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [ ]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer"
]
}
], - "tags": [ ]
}
], - "tags": [
- {
- "id": "wknd-shared:activity/social",
- "title": "Social",
- "i18n": [ ],
- "titlePath": "WKND Shared : Activity / Social",
- "name": "social",
- "path": "/content/cq:tags/wknd-shared/activity/social",
- "description": ""
}
], - "references": [
- {
- "type": "asset",
- "name": "ian_provo.jpg",
- "fieldName": "profilePicture",
- "path": "/content/dam/wknd-shared/en/contributors/ian_provo.jpg",
- "created": {
- "at": "2023-08-02T16:01:47.765+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "assetId": "urn:aaid:aem:1fb05fe4-c12b-4f85-b1ca-aa92cdbd6a62",
- "repo:size": 251434,
- "dc:format": "image/jpeg",
- "tiff:ImageWidth": 1152,
- "tiff:ImageHeight": 1152
}
], - "model": {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/author",
- "name": "Author",
- "title": "Author"
}, - "validationStatus": [ ],
- "fieldTags": [ ],
- "etag": "79d1081c7b275f62a99ccd92828c4c83"
}
], - "cursor": "string"
}
The Content Fragment was successfully created.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
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.
Conflict
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.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "title": "Snowboarding",
- "name": "snowboarding-cf",
- "description": "This new CF is created with the new POST endpoint",
- "modelId": "L2NvbmYvZ2xvYmFsL3NldHRpbmdzL2RhbS9jZm0vbW9kZWxzL3NpbXBsZS1jZg",
- "parentPath": "/wknd-shared/en/adventures",
- "fields": [
- {
- "name": "location",
- "type": "text"
}
]
}
{- "path": "/content/dam/wknd-shared/en/adventures/snowboarding-cf",
- "title": "Snowboarding",
- "description": "This new CF is created with the new POST endpoint",
- "id": "04dbb683-a63c-4144-9a27-7d019bd3e50e",
- "created": {
- "at": "2023-08-04T11:31:57.229+03:00",
- "by": "admin"
}, - "modified": { },
- "status": "NEW",
- "fields": [
- {
- "type": "text",
- "name": "location",
- "multiple": false,
- "values": [ ]
}
], - "variations": [ ],
- "tags": [ ],
- "references": [ ],
- "model": {
- "id": "L2NvbmYvZ2xvYmFsL3NldHRpbmdzL2RhbS9jZm0vbW9kZWxzL3NpbXBsZS1jZg",
- "path": "/conf/global/settings/dam/cfm/models/simple-cf",
- "name": "simple cf",
- "title": "simple cf"
}, - "validationStatus": [ ],
- "fieldTags": [ ]
}
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.
{- "path": "/content/dam/wknd-shared/en/contributors/ian-provo",
- "title": "Ian Provo",
- "description": "",
- "id": "6d980e6a-c9e7-444b-af43-5503c46a061c",
- "created": {
- "at": "2023-08-02T16:01:48.275+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2023-08-04T14:51:58.597+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "Ian"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [
- "1988-09-26T14:09:00-07:00"
]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer",
- "Photographer"
]
}
], - "variations": [
- {
- "name": "another",
- "title": "Another",
- "description": "",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "IanX"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [ ]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer"
]
}
], - "tags": [ ]
}
], - "tags": [
- {
- "id": "wknd-shared:activity/social",
- "title": "Social",
- "i18n": [ ],
- "titlePath": "WKND Shared : Activity / Social",
- "name": "social",
- "path": "/content/cq:tags/wknd-shared/activity/social",
- "description": ""
}
], - "references": [
- {
- "type": "asset",
- "name": "ian_provo.jpg",
- "fieldName": "profilePicture",
- "path": "/content/dam/wknd-shared/en/contributors/ian_provo.jpg",
- "created": {
- "at": "2023-08-02T16:01:47.765+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "assetId": "urn:aaid:aem:1fb05fe4-c12b-4f85-b1ca-aa92cdbd6a62",
- "repo:size": 251434,
- "dc:format": "image/jpeg",
- "tiff:ImageWidth": 1152,
- "tiff:ImageHeight": 1152
}
], - "model": {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/author",
- "name": "Author",
- "title": "Author"
}, - "validationStatus": [ ],
- "fieldTags": [ ],
- "etag": "79d1081c7b275f62a99ccd92828c4c83"
}
This operation allows editing a Content Fragment. The changes are passed as JSON Patch documents.
Save conflicts are detected by leveraging conditional HTTP
requests. When a conflict occurs, the server will reply with a 412
response. It becomes the caller's
responsibility to resolve the conflict, either by accepting the values from the server, or by overwriting them.
Edit requests should pass the most recent ETag
value received from the server for a representation with fully hydrated direct references.
If-Match required | string The For more details, please head over to RFC9110. |
Adds the contents of the value
parameter to the location indicated by the path
parameter.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
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.
Conflict
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"
}
]
{- "path": "/content/dam/wknd-shared/en/contributors/ian-provo",
- "title": "Title has been replaced",
- "description": "",
- "id": "6d980e6a-c9e7-444b-af43-5503c46a061c",
- "created": {
- "at": "2023-08-02T16:01:48.275+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2023-08-04T14:51:58.597+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "Ian"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [
- "1988-09-26T14:09:00-07:00"
]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer",
- "Photographer"
]
}
], - "variations": [
- {
- "name": "another",
- "title": "Another",
- "description": "",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "IanX"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [ ]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer"
]
}
], - "tags": [ ]
}
], - "tags": [
- {
- "id": "wknd-shared:activity/social",
- "title": "Social",
- "i18n": [ ],
- "titlePath": "WKND Shared : Activity / Social",
- "name": "social",
- "path": "/content/cq:tags/wknd-shared/activity/social",
- "description": ""
}
], - "references": [
- {
- "type": "asset",
- "name": "ian_provo.jpg",
- "fieldName": "profilePicture",
- "path": "/content/dam/wknd-shared/en/contributors/ian_provo.jpg",
- "created": {
- "at": "2023-08-02T16:01:47.765+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "assetId": "urn:aaid:aem:1fb05fe4-c12b-4f85-b1ca-aa92cdbd6a62",
- "repo:size": 251434,
- "dc:format": "image/jpeg",
- "tiff:ImageWidth": 1152,
- "tiff:ImageHeight": 1152
}
], - "model": {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/author",
- "name": "Author",
- "title": "Author"
}, - "validationStatus": [ ],
- "fieldTags": [ ]
}
This operation allows fully updating mutable properties of a Content Fragment. The changes are passed as JSON.
Update requests should pass the most recent ETag
value received from the server for a representation with fully hydrated direct references.
If-Match required | string The For more details, please head over to RFC9110. |
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
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.
{- "title": "Snowboarding",
- "description": "This new CF is created with the new PUT endpoint",
- "fields": [
- {
- "name": "location",
- "type": "text",
- "values": [
- "Paris"
]
}
]
}
{- "path": "/content/dam/wknd-shared/en/contributors/ian-provo",
- "title": "Title has been replaced",
- "description": "",
- "id": "6d980e6a-c9e7-444b-af43-5503c46a061c",
- "created": {
- "at": "2023-08-02T16:01:48.275+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2023-08-04T14:51:58.597+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "Ian"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [
- "1988-09-26T14:09:00-07:00"
]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer",
- "Photographer"
]
}
], - "variations": [
- {
- "name": "another",
- "title": "Another",
- "description": "",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "IanX"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [ ]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer"
]
}
], - "tags": [ ]
}
], - "tags": [
- {
- "id": "wknd-shared:activity/social",
- "title": "Social",
- "i18n": [ ],
- "titlePath": "WKND Shared : Activity / Social",
- "name": "social",
- "path": "/content/cq:tags/wknd-shared/activity/social",
- "description": ""
}
], - "references": [
- {
- "type": "asset",
- "name": "ian_provo.jpg",
- "fieldName": "profilePicture",
- "path": "/content/dam/wknd-shared/en/contributors/ian_provo.jpg",
- "created": {
- "at": "2023-08-02T16:01:47.765+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "assetId": "urn:aaid:aem:1fb05fe4-c12b-4f85-b1ca-aa92cdbd6a62",
- "repo:size": 251434,
- "dc:format": "image/jpeg",
- "tiff:ImageWidth": 1152,
- "tiff:ImageHeight": 1152
}
], - "model": {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/author",
- "name": "Author",
- "title": "Author"
}, - "validationStatus": [ ],
- "fieldTags": [ ]
}
This operation deletes a Content Fragment.
Deletes are based on conditional HTTP
requests. When a conflict occurs, the server will reply with a 412
response.
Delete requests should pass the most recent ETag
value received from the server for a representation with fully hydrated direct references.
If-Match required | string The For more details, please head over to RFC9110. |
No Content
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Not Found
Precondition Failed
Precondition Required
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
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.
{
}
OK
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.
{- "action": "PUBLISH",
- "status": "PENDING",
- "scheduledBy": "admin",
- "scheduledDate": "2023-08-04T12:11:09.120Z"
}
This operation returns the list of permissions the user has over a list of resources. The resources have to be either Content Fragments or Folders and be stored under /content/dam
.
Request parameters to retrieve permissions.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
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 HTTP 413 Content Too Large response status code indicates that the request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field. Prior to RFC 9110 the response phrase for the status was Payload Too Large. That name is still widely used."
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.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "paths": [
- "/content/dam/sample-wknd-app",
- "/content/dam/wknd-shared",
- "/conf/global/settings/dam/cfm/models/sample-model"
], - "preferredPermissions": [
- "READ",
- "DELETE",
- "CREATE_CONTENT_FRAGMENT"
]
}
{- "items": [
- {
- "path": "/content/dam/wknd-shared",
- "permissions": [
- "CREATE_CONTENT_FRAGMENT"
]
}
]
}
This operation starts an AEM workflow for publishing Content Fragments.
Request parameters to publish content fragments.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
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 HTTP 413 Content Too Large response status code indicates that the request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field. Prior to RFC 9110 the response phrase for the status was Payload Too Large. That name is still widely used."
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.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "paths": [
- "/content/dam/wknd-shared/en/contributors/ian-provo",
- "/content/dam/wknd-shared/en/contributors/jacob-wester"
], - "filterReferencesByStatus": [
- "DRAFT",
- "UNPUBLISHED"
], - "workflowModelId": "/etc/workflow/models/scheduled_activation_with_references",
- "workflowTitle": "A workflow that publishes a fragment with its references",
- "scheduledTime": 1635244063701
}
{- "ids": [
- "21269b12-57ed-487c-ae0d-fe316a2f8ada",
- "3ce2bf53-7436-4d3e-b19a-2793bc2ca63e"
], - "filterReferencesByStatus": [
- "DRAFT",
- "UNPUBLISHED"
], - "workflowModelId": "/etc/workflow/models/scheduled_activation_with_references",
- "workflowTitle": "Workflow Title",
- "scheduledTime": 1635244063701
}
This operation copies a Content Fragment from one location to another.
The Content Fragment was successfully copied.
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.
Conflict
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.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "parentPath": "string",
- "name": "string"
}
{- "path": "/content/dam/wknd-shared/en/contributors/ian-provo",
- "title": "Ian Provo",
- "description": "",
- "id": "6d980e6a-c9e7-444b-af43-5503c46a061c",
- "created": {
- "at": "2023-08-02T16:01:48.275+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2023-08-04T14:51:58.597+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "Ian"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [
- "1988-09-26T14:09:00-07:00"
]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer",
- "Photographer"
]
}
], - "variations": [
- {
- "name": "another",
- "title": "Another",
- "description": "",
- "fields": [
- {
- "type": "text",
- "name": "firstName",
- "multiple": false,
- "values": [
- "IanX"
]
}, - {
- "type": "text",
- "name": "lastName",
- "multiple": false,
- "values": [
- "Provo"
]
}, - {
- "type": "content-reference",
- "name": "profilePicture",
- "multiple": false,
- "values": [
- "/content/dam/wknd-shared/en/contributors/ian_provo.jpg"
]
}, - {
- "type": "date-time",
- "name": "birthDay",
- "multiple": false,
- "values": [ ]
}, - {
- "type": "long-text",
- "name": "biography",
- "multiple": false,
- "mimeType": "text/html",
- "values": [ ]
}, - {
- "type": "enumeration",
- "name": "occupations",
- "multiple": true,
- "values": [
- "Influencer"
]
}
], - "tags": [ ]
}
], - "tags": [
- {
- "id": "wknd-shared:activity/social",
- "title": "Social",
- "i18n": [ ],
- "titlePath": "WKND Shared : Activity / Social",
- "name": "social",
- "path": "/content/cq:tags/wknd-shared/activity/social",
- "description": ""
}
], - "references": [
- {
- "type": "asset",
- "name": "ian_provo.jpg",
- "fieldName": "profilePicture",
- "path": "/content/dam/wknd-shared/en/contributors/ian_provo.jpg",
- "created": {
- "at": "2023-08-02T16:01:47.765+03:00",
- "by": "admin"
}, - "status": "DRAFT",
- "assetId": "urn:aaid:aem:1fb05fe4-c12b-4f85-b1ca-aa92cdbd6a62",
- "repo:size": 251434,
- "dc:format": "image/jpeg",
- "tiff:ImageWidth": 1152,
- "tiff:ImageHeight": 1152
}
], - "model": {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/author",
- "name": "Author",
- "title": "Author"
}, - "validationStatus": [ ],
- "fieldTags": [ ],
- "etag": "79d1081c7b275f62a99ccd92828c4c83"
}
This operation provides support for bulk editing the selected content fragments in the sense of replacing text occurrences for all fields of type text
and long-text
.
This operation executes synchronously. For performance considerations, the operation applies on a batch of selected CFs identified by a list of their paths.
Request payload for Content Fragments Bulk Edit Find and Replace
A response containing s result for FindAndReplace operation for each of the selected Content Fragment.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
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.
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.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "paths": [
- "/content/dam/copy-of-my-new-adventure3"
], - "find": "adventure",
- "replace": "fun",
- "dryRun": true,
- "ignoreErrors": true
}
{- "items": [
- {
- "path": "/content/dam/copy-of-my-new-adventure3",
- "status": "REPLACE_OK",
- "fieldsInError": [ ]
}
]
}
This operation allows a caller to change the Content Fragment Model for a Content Fragment. As a result of this operation, the Content Fragment can become invalid if the new Model does not match the existing content. To edit the Content Fragment's fields after a Content Fragment Model change, use a partial or a full update operation on the Fragment.
If-Match required | string The For more details, please head over to RFC9110. |
No Content
Bad Request. The Problem Details object will provide more information about the exact cause.
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
Precondition Required
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "modelId": "string"
}
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}