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 |
|---|---|---|---|
|
|
String |
Yes |
The site-id the page or pattern belongs to. |
|
|
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 |
|---|---|---|
|
|
Integer |
The number of returned configurations for the specified key. |
|
|
Object |
Configuration present in the system for the specified key. See /profile/content/external/update for a description of the configuration object. |
Example
$ 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"
}
]
}
}
}