This is a filtering API to find Content Fragments that match specific criteria. Results can be paginated.
List of detailed Content Fragments matching Search criteria.
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.
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"
}
This is a filtering API to find Content Fragment Models that match specific criteria. Results can be paginated.
List of detailed Content Fragment Models matching Search Criteria.
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.
{- "items": [
- {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/adventure",
- "name": "Adventure",
- "etag": "eddd95e986a7aff0500f0649bcf6604c",
- "description": "",
- "created": {
- "at": "2023-08-02T16:01:34.582+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2022-06-01T10:17:43.668-07:00",
- "by": "admin"
}, - "locked": false,
- "status": "enabled",
- "previewStatus": "IN_SYNC",
- "fields": [
- {
- "type": "text",
- "name": "title",
- "label": "Title",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "text",
- "name": "slug",
- "label": "Slug",
- "description": "A short path to uniquely identify the Adventure. Can be used for pathing in client applications.",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "custom",
- "customValidationRegex": "^[a-z0-9\\-_]{5,40}$",
- "customErrorMessage": "Slug must be at least 5 characters in length, lower case, using only letters and numbers and no spaces. Only special characters that can be used are dashes and underscore.."
}, - {
- "type": "long-text",
- "name": "description",
- "label": "Description",
- "description": "An overview of the trip.",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "enumeration",
- "name": "adventureType",
- "label": "Adventure Type",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Day Trip",
- "value": "Day Trip"
}, - {
- "key": "Overnight Trip",
- "value": "Overnight Trip"
}, - {
- "key": "Training Session",
- "value": "Training Session"
}
]
}, - {
- "type": "text",
- "name": "tripLength",
- "label": "Trip Length",
- "required": false,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "enumeration",
- "name": "activity",
- "label": "Activity",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Camping",
- "value": "Camping"
}, - {
- "key": "Surfing",
- "value": "Surfing"
}, - {
- "key": "Skiing",
- "value": "Skiing"
}, - {
- "key": "Cycling",
- "value": "Cycling"
}, - {
- "key": "Hiking",
- "value": "Hiking"
}, - {
- "key": "Skateboarding",
- "value": "Skateboarding"
}, - {
- "key": "Rock Climbing",
- "value": "Rock Climbing"
}, - {
- "key": "Running",
- "value": "Running"
}, - {
- "key": "Snowboarding",
- "value": "Snowboarding"
}, - {
- "key": "Social",
- "value": "Social"
}
]
}, - {
- "type": "number",
- "name": "groupSize",
- "label": "Group Size",
- "description": "Group size",
- "required": false,
- "multiple": false,
- "min": 1
}, - {
- "type": "enumeration",
- "name": "difficulty",
- "label": "Difficulty",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Beginner",
- "value": "Beginner"
}, - {
- "key": "Intermediate",
- "value": "Intermediate"
}, - {
- "key": "Advanced",
- "value": "Advanced"
}, - {
- "key": "Expert",
- "value": "Expert"
}
]
}, - {
- "type": "float-number",
- "name": "price",
- "label": "Price",
- "description": "Price of the Adventure",
- "required": false,
- "multiple": false,
- "defaultValue": 100
}, - {
- "type": "content-reference",
- "name": "primaryImage",
- "label": "Primary Image",
- "required": false,
- "multiple": false,
- "showThumbnail": false,
- "root": "/content/dam/wknd",
- "allowedContentTypes": [
- "image"
]
}, - {
- "type": "long-text",
- "name": "itinerary",
- "label": "Itinerary",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "long-text",
- "name": "gearList",
- "label": "What to Bring",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}
], - "tags": [
- {
- "id": "wknd-shared:season/summer",
- "title": "Summer",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Summer",
- "name": "summer",
- "path": "/content/cq:tags/wknd-shared/season/summer",
- "description": ""
}, - {
- "id": "wknd-shared:season/spring",
- "title": "Spring",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Spring",
- "name": "spring",
- "path": "/content/cq:tags/wknd-shared/season/spring",
- "description": ""
}
], - "previewUrlPattern": "http://localhost:4502/${contentFragment.model.name}/${contentFragment.id}.html"
}
], - "cursor": "string"
}