Search

Search API for Content Fragments based on various Search Criteria.

This is a filtering API to find Content Fragments that match specific criteria. Results can be paginated.

SecuritybearerAuth
Request
query Parameters
cursor
string (Cursor) non-empty

For a paginated request, this parameter defines the cursor from which to retrieve the next set of items.

limit
integer <int32> (Limit) [ 1 .. 50 ]

For a paginated request, this parameter defines the maximum number of items to retrieve.

required
object (ContentFragmentSearchPattern)

The query parameter provides filtering and sorting criteria that should be applied when performing a search. The value passed should be valid JSON that has been URL encoded.

Example: query="{ "filter": { "created":{ "by": ["admin"], "after": "2019-10-12T07:20:50.52Z" }, "path": "/content/dam", "modelIds": ["L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXV0aG9y"] } }"
Responses
200

List of detailed Content Fragments matching Search criteria.

400

Bad Request. The Problem Details object will provide more information about the exact cause.

403

Forbidden

406

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.

500

The server encountered an unexpected error. Retrying the request after a certain time could help.

get/cf/fragments/search
Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "cursor": "string"
}

Search API for Content Fragment Models based on various Search Criteria.

This is a filtering API to find Content Fragment Models that match specific criteria. Results can be paginated.

SecuritybearerAuth
Request
query Parameters
cursor
string (Cursor) non-empty

For a paginated request, this parameter defines the cursor from which to retrieve the next set of items.

limit
integer <int32> (Limit) [ 1 .. 50 ]

For a paginated request, this parameter defines the maximum number of items to retrieve.

required
object (ContentFragmentModelSearchPattern)

The query parameter provides filtering and sorting criteria that should be applied when performing a search. The value passed should be valid JSON that has been URL encoded.

Example: query="{ "filter": { "created":{ "by": ["admin"], "after": "2019-10-12T07:20:50.52Z" }, "configurationFolder": "/content/dam/wknd-shared/en/adventures/west-coast-cycling", "name": "West Coast Cycling" } }"
Responses
200

List of detailed Content Fragment Models matching Search Criteria.

400

Bad Request. The Problem Details object will provide more information about the exact cause.

403

Forbidden

406

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.

415

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.

500

The server encountered an unexpected error. Retrying the request after a certain time could help.

get/cf/models/search
Request samples
Response samples
application/json
{
  • "items": [
    ],
  • "cursor": "string"
}