Skip to navigation

Resolve Destination experiences by absolute path

Resolves the Experience associated with an absolute Destination path. The response includes child paths at the next depth level for lazy loading. Because this lookup has no personalization input, it is cacheable.

Pass the path in the path query parameter. It must start with /. URL-encode the value, for example with encodeURIComponent, so characters such as &, #, +, and % are not misread as query syntax:

GET /spaces/{spaceId}/destinations/{destinationId}/experiences?path=%2Fproducts%2Ffeatured

A missing or relative path returns 422 Unprocessable Entity. A path that does not resolve returns 404 Not Found. To supply personalization input, use the POST request on the same URL instead.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
ID of the space.
destinationIdstringRequired
ID of the published Destination.

Query parameters

pathstringRequiredformat: "^/"

Absolute path to resolve. Must start with /. URL-encode the value, for example with encodeURIComponent.

Response

OK - Experiences or a redirect resolved

DestinationExperiencesResponseobject
OR
DestinationRedirectResponseobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error