We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

/profile/content/external/read

Retrieves the customer specified content profile configuration stored for a specified site. For more on the content profile configurations, see /profile/content/external/update .

The user must be authenticated and have write permissions to the site.

Request

The request object has the following fields:

Name

Type

Required

Description

siteId

String

Yes

The site-id the page or pattern belongs to.

key

String

No

The resource identifier the configuration belongs to. If no key is specified, all configuration objects for the site is returned.

Response

The response object has the following fields:

Name

Type

Description

count

Integer

The number of returned configurations for the specified key.

configuration

Object

Configuration present in the system for the specified key. See

/profile/content/external/update

for a description of the configuration object.

Example

Bash
$ cx.py /profile/content/external/read '{"siteId":"9222300742735526873"}'
{
 "count": 1,
 "configuration": {
 "https://example.org/": {
 "match": "exact",
 "mode": "enrich",
 "profile": [
 {
 "groups": [
 {
 "count": 1,
 "group": "owner",
 "weight": 0.96
 }
 ],
 "item": "example organization"
 }
 ]
 }
 }
}

Last updated: