After signing in, you can create credentials that can be used to call the Platform APIs.
Download OpenAPI specification:Download
Use the Schema Registry API to access the Schema Library within Adobe Experience Platform. The registry provides a user interface and RESTful API from which all available library resources are accessible. Programmatically manage all schemas and related Experience Data Model (XDM) resources available to you within Platform. This includes those defined by Adobe, Experience Platform partners, and vendors whose applications you use.
Related documentation:
Visualize API calls with Postman (a free, third-party software):
API paths:
Required headers:
Authorization
, x-gw-ims-org-id
, and x-api-key
. For more information on how to obtain these values, see the authentication tutorial.x-sandbox-name
whose value is the all-lowercase name of the sandbox the operation will take place in (for example, "prod"). See the sandboxes overview for more information.Accept
header to determine what data is returned by the system. See the section on Accept
headers in the Schema Registry developer guide for more information.Content-Type
with a value of application/json
.Returns {TENANT_ID} along with information regarding IMS Org usage of the Schema Registry such as resource counts, recently created resources, and class usage.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Success
Bad formatting
{- "imsOrg": "{IMS_ORG}",
- "tenantId": "{TENANT_ID}",
- "counts": {
- "schemas": 4,
- "mixins": 38,
- "datatypes": 382,
- "classes": 5,
- "unions": 2
}, - "recentlyCreatedResources": [
- {
- "title": "Tenant Data Schema",
- "meta:altId": "_{TENANT_ID}.schemas.274f17bc5807ff307a046bab1489fb18",
- "version": "1.1"
}
], - "recentlyUpdatedResources": [
- {
- "title": "Tenant Data Schema",
- "meta:altId": "_{TENANT_ID}.schemas.274f17bc5807ff307a046bab1489fb18",
- "version": "1.1"
}
], - "classUsage": [
- {
- "title": "XDM Individual Profile",
- "numberOfSchemas": 3,
- "schemas": [
- {
- "title": "Customers",
- "description": "Basic profile schema."
}, - {
- "title": "Loyalty Members",
- "description": "Describes members of the loyalty program."
}, - {
- "title": "Tenant Data Schema,",
- "meta:altId": "_{TENANT_ID}.schemas.274f17bc5807ff307a046bab1489fb18,"
}
]
}, - {
- "title": "XDM ExperienceEvent",
- "numberOfSchemas": 1,
- "schemas": [
- {
- "title": "Website Event",
- "description": "Describes a web traffic event."
}
]
}
]
}
Schemas provide an abstract definition of a real-world object along with constraints and expectations that can be applied and used to validate data.
You can list schemas within the global or tenant container by performing a GET request. To help filter results, the Schema Registry supports the use of query parameters when listing resources.
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
|
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_{TENANT_ID}.schemas.0238be93d3e7a06aec5e0655955901ec",
- "version": "1.4",
- "title": "Hotels"
}, - {
- "meta:altId": "_{TENANT_ID}.schemas.0ef4ce0d390f0809fad490802f53d30b",
- "version": "1.0",
- "title": "Loyalty Members"
}
], - "_page": {
- "orderby": "title",
- "next": null,
- "count": 2
}, - "_links": {
- "next": null,
- "global_schemas": {
}
}
}
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
Not found
Invalid Accept format
{- "meta:altId": "_{TENANT_ID}.schemas.d4ad4b8463a67f6755f2aabbeb9e02c7",
- "meta:resourceType": "schemas",
- "version": "1.4",
- "title": "Hotels",
- "type": "object",
- "description": "Schema for hotels.",
- "allOf ": [
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": false,
- "meta:abstract": false,
- "meta:extends": [
], - "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1570222174191,
- "repo:lastModifiedDate": 1574113291149,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "e6717738681f663237572053aa02cb3a656ed02847e3361071db4d405e52357d",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include an allOf
attribute referencing the $id
of the base class the that the schema will implement.
Success
Bad formatting
{- "type": "object",
- "title": "New Schema",
- "description": "Description of the new schema.",
}
{- "meta:altId": "_{TENANT_ID}.schemas.e417987b8b861d373ef4d0fe8ad61fa4c15fa0274332c8af",
- "meta:resourceType": "schemas",
- "version": "1.0",
- "title": "New Schema",
- "type": "object",
- "description": "Description of the new schema.",
- "allOf": [
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": false,
- "meta:abstract": false,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1635537329990,
- "repo:lastModifiedDate": 1635537329990,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "022afad00319b928238bcf88e20cc8e1fbdddfee6663925041004a49bdc2abeb",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
A PUT request essentially re-writes the schema, therefore the request body must include all fields required to create (POST) a schema. This is especially useful when updating a lot of information in the schema at once.
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include all of the fields that were originally required for creating the schema, but with updated values. This includes an allOf
attribute referencing the $id
of the class the schema will implement.
Success
Bad formatting
{- "type": "object",
- "title": "New Schema",
- "description": "Description of the new schema.",
}
{- "meta:altId": "_{TENANT_ID}.schemas.d4ad4b8463a67f6755f2aabbeb9e02c7",
- "meta:resourceType": "schemas",
- "version": "1.1",
- "title": "Hotels",
- "type": "object",
- "description": "string",
- "allOf": [
- {
- "$ref ": "string"
}
], - "imsOrg": "string",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:extends": [
- "string"
], - "meta:xdmType": "string",
- "meta:registryMetadata": {
- "repo:createdDate": 0,
- "repo:lastModifiedDate": 0,
- "xdm:createdClientId": "string",
- "xdm:lastModifiedClientId": "string",
- "xdm:createdUserId": "string",
- "xdm:lastModifiedUserId": "string",
- "etag": "string",
- "meta:globalLibVersion": "string",
- "meta:usageCount": 0
}
}
You can use this endpoint to update one or more attributes of the custom schema.
The Schema Registry supports all standard JSON Patch operations, including add
, remove
, and replace
. For more information on JSON Patch, including all available operations, please refer to the the official JSON Patch specification.
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request body accepts a JSON Patch payload.
Success
Bad formatting
[- {
- "op": "add",
- "path": "/meta:immutableTags-",
- "value": "union"
}
]
{- "meta:altId": "_{TENANT_ID}.schemas.d4ad4b8463a67f6755f2aabbeb9e02c7",
- "meta:resourceType": "schemas",
- "version": "1.1",
- "title": "Hotels",
- "type": "object",
- "description": "string",
- "allOf": [
- {
- "$ref ": "string"
}
], - "imsOrg": "string",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:extends": [
- "string"
], - "meta:xdmType": "string",
- "meta:registryMetadata": {
- "repo:createdDate": 0,
- "repo:lastModifiedDate": 0,
- "xdm:createdClientId": "string",
- "xdm:lastModifiedClientId": "string",
- "xdm:createdUserId": "string",
- "xdm:lastModifiedUserId": "string",
- "etag": "string",
- "meta:globalLibVersion": "string",
- "meta:usageCount": 0
}, - "meta:immutableTags": [
- "union"
]
}
You can remove an existing schema by performing a DELETE request. A successful deletion returns an empty response body and HTTP status 204 (No Content).
NOTE: For more information on using this operation, see the schemas endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Not found
Internal server error
Behaviors define the nature of data that a schema describes. Each XDM class must reference a specific behavior, which all schemas that employ that class will inherit. Schemas that inherit the "record" behavior provide information about the attributes of a subject, while those that inherit the "time-series" behavior provide a snapshot of the system at the time an action was taken by a record subject.
NOTE: For more information on using this operation, see the behaviors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
|
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_xdm.data.record",
- "version": "1.16.4",
- "title": "Record Schema"
}, - {
- "meta:altId": "_xdm.data.adhoc",
- "version": "1.16.4",
- "title": "Ad Hoc Schema"
}, - {
- "meta:altId": "_xdm.data.time-series",
- "version": "1.16.4",
- "title": "Time-series Schema"
}
], - "_page": {
- "orderby": "updated",
- "next": null,
- "count": 3
}, - "_links": {
- "next": null
}
}
NOTE: For more information on using this operation, see the behaviors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
{- "meta:altId": "_xdm.data.record",
- "meta:resourceType": "behaviors",
- "version": "1.16.4",
- "title": "Record Schema",
- "type": "object",
- "description": "Used to indicate the behavior of record data semantic when composed into data schemas.",
- "definitions": {
- "record": {
- "properties": {
- "_id": {
- "title": "Identifier",
- "type": "string",
- "format": "uri-reference",
- "description": "A unique identifier for the record.",
- "meta:xdmType": "string",
- "meta:xdmField": "@id"
}
}
}
}, - "allOf": [
- {
- "$ref": "#/components/schemas/record"
}, - {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1606266789446,
- "repo:lastModifiedDate": 1606266789446,
- "eTag": "2cc114a54949a9668fe2ad046ccece59192e1bfa28f14e5ac7c893acb7820ba2",
- "meta:globalLibVersion": "1.16.4"
}
}
Classes define behavioral aspects of the data within the schema and describe the smallest number of common properties contained in all schemas that implement the same class.
NOTE: For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
|
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_experience.journeyOrchestration.stepEvents.journey",
- "meta:resourceType": "classes",
- "version": "1.27.4",
- "title": "Journey Orchestration Class",
- "type": "object",
- "description": "A Record based Journey class for Journey orchestration contains common journey fields",
- "definitions": {
- "journeyClass": {
- "properties": { }
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/journeyClass",
- "type": "object",
- "meta:xdmType": "object"
}
], - "auditable": true,
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361814823,
- "repo:lastModifiedDate": 1635361814823,
- "eTag": "351d2457ea40413a486ed6f328eb7f9384e63ded16019c7223e2586badf5a60a",
- "meta:globalLibVersion": "1.27.4"
}
}, - {
- "meta:altId": "_experience.journeyOrchestration.stepEvents.journeyStepEvent",
- "meta:resourceType": "classes",
- "version": "1.27.4",
- "title": "Journey Step Event",
- "type": "object",
- "description": "A time-series based Journey Step Event Class.",
- "definitions": {
- "journeyStepEventClass": {
- "properties": {
- "_experience": {
- "properties": {
- "journeyOrchestration": {
- "properties": {
- "serviceType": {
- "title": "Service Type",
- "type": "string",
- "description": "This fields identifies the type of event.",
- "meta:xdmType": "string",
}
}, - "type": "object",
- "meta:xdmType": "object",
- "meta:xedConverted": true
}
}, - "type": "object",
- "meta:xdmType": "object",
- "meta:xedConverted": true
}
}
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/journeyStepEventClass",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361814826,
- "repo:lastModifiedDate": 1635361814826,
- "eTag": "f9b83a0cc1d6ccd240ee3aebaf332d98876a0d749746ef9bfc0af99c713d0b43",
- "meta:globalLibVersion": "1.27.4"
}
}
], - "_page": {
- "orderby": "updated",
- "next": null,
- "count": 2
}, - "_links": {
- "next": null
}
}
NOTE: For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
Not found
{- "meta:altId": "_{TENANT_ID}.classes.9731ca27f72801dc6e9d6a170df94745",
- "meta:resourceType": "classes",
- "version": "1.0",
- "title": "Luma Product Class",
- "type": "object",
- "description": "A custom product class for the Luma brand.",
- "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1569014354925,
- "repo:lastModifiedDate": 1569014354925,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "3afbb3e8e4ea2ce02a2ba2fa31727a59a7a6d7d1ec70b62ca711058c26829761",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
NOTE: For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request payload must include an allOf
attribute referencing either 'https://ns.adobe.com/xdm/data/record' or 'https://ns.adobe.com/xdm/data/time-series'. This value represents the data behavior upon which the class is based. allOf
may also optionally include field groups or custom fields that will be included each time the class is used.
Success
Bad formatting
{- "type": "object",
- "title": "New Class",
- "description": "Description of the new class.",
}
{- "meta:altId": "_{TENANT_ID}.classes.9731ca27f72801dc6e9d6a170df94745",
- "meta:resourceType": "classes",
- "version": "1.0",
- "title": "New Class",
- "type": "object",
- "description": "Description of the new class.",
- "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1569014354925,
- "repo:lastModifiedDate": 1569014354925,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "3afbb3e8e4ea2ce02a2ba2fa31727a59a7a6d7d1ec70b62ca711058c26829761",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
A PUT request essentially re-writes the class, therefore the request body must include all fields required to create (POST) a class. This is especially useful when updating a lot of information in the class at once.
NOTE: For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include all of the fields that were originally required for creating the class, but with updated values. This includes an allOf
attribute referencing the behavior of the class.
Success
Bad formatting
{- "type": "object",
- "title": "New Class",
- "description": "Updated description of the new class.",
}
{- "meta:altId": "_{TENANT_ID}.classes.9731ca27f72801dc6e9d6a170df94745",
- "meta:resourceType": "classes",
- "version": "1.0",
- "title": "New Class",
- "type": "object",
- "description": "Updated description of the new class.",
- "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1569014354925,
- "repo:lastModifiedDate": 1569014354925,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "3afbb3e8e4ea2ce02a2ba2fa31727a59a7a6d7d1ec70b62ca711058c26829761",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
You can use this endpoint to update one or more attributes for a custom class.
The Schema Registry supports all standard JSON Patch operations, including add
, remove
, and replace
, to allow users to modify or update classes they have defined.
NOTE: For more information on JSON Patch, including all available operations, please refer to the the official JSON Patch specification. > >For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request body accepts a JSON Patch payload.
Success
Bad formatting
[- {
- "op": "replace",
- "path": "description",
- "value": "A PATCH-updated description for the class."
}
]
{- "meta:altId": "_{TENANT_ID}.classes.9731ca27f72801dc6e9d6a170df94745",
- "meta:resourceType": "classes",
- "version": "1.0",
- "title": "New Class",
- "type": "object",
- "description": "A PATCH-updated description of the new class.",
- "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1569014354925,
- "repo:lastModifiedDate": 1569014354925,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "3afbb3e8e4ea2ce02a2ba2fa31727a59a7a6d7d1ec70b62ca711058c26829761",
- "meta:globalLibVersion": "1.27.4"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
Remove a class by performing a DELETE request to the $id
of the class being removed.
A successful deletion returns an empty response body and HTTP status 204 (No Content).
NOTE: For more information on using this operation, see the classes endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Not found
A field group is a reusable component that defines one or more fields to implement certain functions within a schema based on a compatible class.
Retrieve a list of field groups within the specified container.
NOTE: For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
|
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_xdm.context.profile-person-details",
- "meta:resourceType": "mixins",
- "version": "1.27.4",
- "title": "Demographic Details",
- "type": "object",
- "description": "Demographic information such as name, gender, and birth date of an individual.",
- "definitions": {
- "profile-person-details": {
- "properties": {
- "person": {
- "title": "Person",
- "description": "An individual actor, contact, or owner.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:person"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref ": "#/definitions/profile-person-details",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816945,
- "repo:lastModifiedDate": 1635361816945,
- "eTag": "9f6a76cf4e115d0a3db3900fb418979ebea28bce47967484a1a0b2a2c32514cb",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 316
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}, - {
- "meta:altId": "_xdm.context.profile-personal-details",
- "meta:resourceType": "mixins",
- "version": "1.27.4",
- "title": "Personal Contact Details",
- "type": "object",
- "description": "Contact information for an individual person such as home address, phone number, fax, and email.",
- "definitions": {
- "profile-personal-details": {
- "properties": {
- "faxPhone": {
- "title": "Fax phone",
- "description": "Fax phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:faxPhone"
}, - "homeAddress": {
- "title": "Home address",
- "description": "A home postal address.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:homeAddress"
}, - "homePhone": {
- "title": "Home phone",
- "description": "Home phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:homePhone"
}, - "mobilePhone": {
- "title": "Mobile phone",
- "description": "Mobile phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:mobilePhone"
}, - "personalEmail": {
- "title": "Personal email",
- "description": "A personal email address.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:personalEmail"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref ": "#/definitions/profile-personal-details",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816961,
- "repo:lastModifiedDate": 1635361816961,
- "eTag": "750a04f69224e9fab367c6663199218dbd524852652627756284b4333fd7b27b",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 300
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}
], - "_page": {
- "orderby": "updated",
- "next": null,
- "count": 2
}, - "_links": {
- "next": null
}
}
NOTE: For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
{- "meta:altId": "_xdm.context.profile-person-details",
- "meta:resourceType": "mixins",
- "version": "1.22.3",
- "title": "Demographic Details",
- "type": "object",
- "description": "Demographic information such as name, gender, and birth date of an individual.",
- "definitions": {
- "profile-person-details": {
- "properties": {
- "person": {
- "title": "Person",
- "description": "An individual actor, contact, or owner.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:person"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref": "#/components/schemas/profile-person-details"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1620758109174,
- "repo:lastModifiedDate": 1620758109174,
- "eTag": "f5b20a7edefab1c4b1a86fbd4de91570b57d36b9f2c6deb3225a18d14fafce3b",
- "meta:globalLibVersion": "1.22.3",
- "meta:usageCount": 29
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}
NOTE: For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include a 'meta:intendedToExtend' field listing the '$id' of the class(es) with which the field group is compatible.
type required | string The JSON Schema data type for the field group. Must be set to |
title required | string A title for the field group. |
description | string A description for the field group. |
meta:intendedToExtend required | Array of strings Contains the |
definitions | object Describes the unique attributes provided by the field group that are not inherited from other XDM resources. Custom attributes must be nested under |
Array of objects A list of reference strings that determine the attributes that the field group provides. A string can refer to a custom field definition provided under the |
Success
Bad formatting
{- "type": "object",
- "title": "Property Details",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "meta:intendedToExtend": [
], - "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref": "#/definitions/property"
}
]
}
{- "meta:altId": "_{TENANT_ID}.mixins.8779fd45d6e4eb074300023a439862bbba359b60d451627a",
- "meta:resourceType": "mixins",
- "version": "1.2",
- "title": "Property Details",
- "type": "object",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1594941263588,
- "repo:lastModifiedDate": 1594941538433,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "5e8a5e508eb2ed344c08cb23ed27cfb60c841bec59a2f7513deda0f7af903021",
- "meta:globalLibVersion": "1.15.4"
}, - "meta:containerId": "tenant",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
A PUT request essentially re-writes the field group, therefore the request body must include all fields required to create (POST) a field group. This is especially useful when updating a lot of information in the field group at once.
NOTE: For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include all of the fields that were originally required for creating the field group, but with updated values. This includes an allOf
attribute referencing the $id
of the class the schema will implement.
type required | string The JSON Schema data type for the field group. Must be set to |
title required | string A title for the field group. |
description | string A description for the field group. |
meta:intendedToExtend required | Array of strings Contains the |
definitions | object Describes the unique attributes provided by the field group that are not inherited from other XDM resources. Custom attributes must be nested under |
Array of objects A list of reference strings that determine the attributes that the field group provides. A string can refer to a custom field definition provided under the |
Success
Bad formatting
{- "type": "object",
- "title": "Property Details",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "meta:intendedToExtend": [
], - "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref": "#/definitions/property"
}
]
}
{- "meta:altId": "_{TENANT_ID}.mixins.8779fd45d6e4eb074300023a439862bbba359b60d451627a",
- "meta:resourceType": "mixins",
- "version": "1.3",
- "title": "Property Details",
- "type": "object",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1594941263588,
- "repo:lastModifiedDate": 1594941538433,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "5e8a5e508eb2ed344c08cb23ed27cfb60c841bec59a2f7513deda0f7af903021",
- "meta:globalLibVersion": "1.15.4"
}, - "meta:containerId": "tenant",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
You can use this endpoint to update one or more attributes of your custom field group.
The Schema Registry supports all standard JSON Patch operations, including add
, remove
, and replace
, to allow you to modify or update resources you have defined.
NOTE: For more information on JSON Patch, including all available operations, please refer to the the official JSON Patch specification. > >For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request body accepts a JSON Patch payload.
Success
Bad formatting
[- {
- "op": "add",
- "path": "/definitions/property/properties/_{TENANT_ID}/properties/propertyCity",
- "value": {
- "title": "Property Country",
- "description": "The country where the property is located.",
- "type": "string"
}
}
]
{- "meta:altId": "_{TENANT_ID}.mixins.8779fd45d6e4eb074300023a439862bbba359b60d451627a",
- "meta:resourceType": "mixins",
- "version": "1.3",
- "title": "Property Details",
- "type": "object",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}, - "propertyCountry": {
- "title": "Property Country",
- "description": "Country where the property is located.",
- "type": "string"
}
}
}
}
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1594941263588,
- "repo:lastModifiedDate": 1594941538433,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "5e8a5e508eb2ed344c08cb23ed27cfb60c841bec59a2f7513deda0f7af903021",
- "meta:globalLibVersion": "1.15.4"
}, - "meta:containerId": "tenant",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
You can remove an existing field group through a DELETE request. A successful deletion returns an empty response body and HTTP status 204 (No Content).
NOTE: For more information on using this operation, see the field groups endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Data types are used as reference field types in classes or schemas to define complex types. Data types may define multiple sub-fields providing a consistent multi-field structure.
NOTE: For more information on using this operation, see the data types endpoint guide on Experience League.
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
| ||||||
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_xdm.context.webinfo",
- "meta:resourceType": "datatypes",
- "version": "1.27.4",
- "title": "Web information",
- "type": "object",
- "description": "",
- "definitions": {
- "webinfo": {
- "properties": {
- "webInteraction": {
- "title": "Web interaction",
- "type": "object",
- "description": "Details about the web link or URL that corresponds to where the interaction occurred.",
- "properties": {
- "URL": {
- "title": "URL",
- "type": "string",
- "description": "The actual link or URL used for this web interaction.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:URL"
}, - "linkClicks": {
- "title": "Link Clicks",
- "description": "Click of a web link has occurred.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:linkClicks"
}, - "name": {
- "title": "Name",
- "type": "string",
- "description": "The normative name used for this web link, used for classification purposes.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:name"
}, - "region": {
- "title": "Region",
- "type": "string",
- "description": "The region name represents the region or area of a document that the web link belongs to such as header or footer.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:region"
}, - "type": {
- "title": "Type",
- "type": "string",
- "description": "The link type.",
- "enum": [
- "download",
- "exit",
- "other"
], - "meta:enum": {
- "download": "Download",
- "exit": "Exit",
- "other": "Other"
}, - "meta:xdmType": "string",
- "meta:xdmField": "xdm:type"
}
}, - "meta:xdmType": "object",
- "meta:xdmField": "xdm:webInteraction"
}, - "webPageDetails": {
- "title": "Web page details",
- "type": "object",
- "description": "Details about the web page where the web interaction occurred.",
- "properties": {
- "URL": {
- "title": "URL",
- "type": "string",
- "description": "The normative or usual URL of the web page. This may or may not be the actual URL used to reach the page, which would be recorded using `Web Link`.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:URL"
}, - "isErrorPage": {
- "title": "Is error page",
- "type": "boolean",
- "description": "Flag that indicate if the page is error page or not. Error here is defined by the application, and may nor may not correspond to a page served with an HTTP error code. This flag is used to broadly categorize web interactions.",
- "meta:xdmType": "boolean",
- "meta:xdmField": "xdm:isErrorPage"
}, - "isHomePage": {
- "title": "Is home page",
- "type": "boolean",
- "description": "Flag that indicate if the page is the site home page or not. The definition of home page is determined by the application, but is commonly used to designate a top level landing page or common site entry point. This flag is used to broadly categorize web interactions.",
- "meta:xdmType": "boolean",
- "meta:xdmField": "xdm:isHomePage"
}, - "name": {
- "title": "Name",
- "type": "string",
- "description": "The normative name of the web page. This name is not necessarily the page title or directly associate with page content, but is used to organize a site's pages for classification purposes.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:name"
}, - "pageViews": {
- "title": "Page Views",
- "description": "View(s) of a webpage has occurred.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:pageViews"
}, - "server": {
- "title": "Server",
- "type": "string",
- "description": "The normative or usual server that hosts the web page. This may or may not be the host or server that actually served the page interaction, but is used for classification purposes.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:server"
}, - "siteSection": {
- "title": "Site section",
- "type": "string",
- "description": "The normative name of the site section where this web page resides, which may be used to classify or categorize the interaction.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:siteSection"
}, - "viewName": {
- "title": "View Name",
- "type": "string",
- "description": "The name of the view, within a page. This is commonly used with Single Page Applications or pages that have tabs or controls that change a majority of the page layout.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:viewName"
}
}, - "meta:xdmType": "object",
- "meta:xdmField": "xdm:webPageDetails"
}, - "webReferrer": {
- "title": "Web referrer",
- "type": "object",
- "description": "The referrer of a web interaction, which is the URL a visitor came from immediately before the current web interaction was recorded.",
- "properties": {
- "URL": {
- "title": "URL",
- "type": "string",
- "description": "The referrer URL.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:URL"
}, - "type": {
- "title": "Type",
- "type": "string",
- "description": "The referrer type.",
- "enum": [
- "internal",
- "external",
- "search_engine",
- "typed_bookmarked",
- "email",
- "social",
- "unknown",
- "usenet"
], - "meta:enum": {
- "internal": "Internal",
- "external": "External",
- "search_engine": "Search engine",
- "typed_bookmarked": "Typed or bookmarked",
- "email": "Email",
- "social": "Social network",
- "unknown": "Unknown",
- "news": "Usenet newsgroup"
}, - "meta:xdmType": "string",
- "meta:xdmField": "xdm:type"
}
}, - "meta:xdmType": "object",
- "meta:xdmField": "xdm:webReferrer"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref ": "#/definitions/webinfo",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816390,
- "repo:lastModifiedDate": 1635361816390,
- "eTag": "9acb5ce67a37306d5b50f4d7d714ddac2bb30b4dcf8ccbef7affbb887b9f2677",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 11
}, - "meta:createdDate": "2021-02-19"
}, - {
- "meta:altId": "_xdm.content.productlistitem",
- "meta:resourceType": "datatypes",
- "version": "1.27.4",
- "title": "Product list item",
- "type": "object",
- "description": "The product list item represents a product selected by a customer with specific options, pricing, usage context for a specific point of time and may differ from the product record. For example the product record contains details from the product information system that are consistent for all customers, where the product list item has the actual price offered to the customer at that time which may vary due to sales campaigns or seasonal pricing.",
- "definitions": {
- "productlistitem": {
- "properties": {
- "_id": {
- "title": "Line item ID.",
- "type": "string",
- "format": "uri-reference",
- "description": "The line item identifier for this product entry. The product itself is identified through `xdm:product`.",
- "meta:xdmType": "string",
- "meta:xdmField": "@id"
}, - "SKU": {
- "title": "SKU",
- "type": "string",
- "description": "Stock keeping unit (SKU), the unique identifier for a product defined by the vendor.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:SKU"
}, - "currencyCode": {
- "title": "Currency code",
- "type": "string",
- "examples": [
- "USD",
- "EUR"
], - "pattern": "^[A-Z]{3}$",
- "description": "The ISO 4217 alphabetic currency code used for pricing the product.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:currencyCode"
}, - "name": {
- "title": "Name",
- "type": "string",
- "description": "The display name for the product as presented to the user for this product view.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:name"
}, - "priceTotal": {
- "title": "Price total",
- "type": "number",
- "description": "The total price for the product line item.",
- "meta:xdmType": "number",
- "meta:xdmField": "xdm:priceTotal"
}, - "product": {
- "title": "Product",
- "type": "string",
- "format": "uri",
- "description": "The XDM identifier of the product itself.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:product"
}, - "productAddMethod": {
- "title": "Product add method",
- "type": "string",
- "description": "The method that was used to add a product item to the list by the visitor. Set with product list add metrics.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:productAddMethod"
}, - "quantity": {
- "title": "Quantity",
- "type": "integer",
- "description": "The number of units the customer has indicated they require of the product.",
- "meta:xdmType": "int",
- "meta:xdmField": "xdm:quantity"
}
}, - "required": [
- "SKU"
]
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/productlistitem",
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816394,
- "repo:lastModifiedDate": 1635361816394,
- "eTag": "ba11c63e004dd1db02b7475cf2908b2611890f2e7bd139e31ff064bb424c24c7",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 33
}, - "meta:createdDate": "2021-02-19"
}
], - "_page": {
- "orderby": "updated",
- "next": null,
- "count": 2
}, - "_links": {
- "next": null
}
}
NOTE: For more information on using this operation, see the data types endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
{- "meta:altId": "_xdm.content.productlistitem",
- "meta:resourceType": "datatypes",
- "version": "1.27.4",
- "title": "Product list item",
- "type": "object",
- "description": "The product list item represents a product selected by a customer with specific options, pricing, usage context for a specific point of time and may differ from the product record. For example the product record contains details from the product information system that are consistent for all customers, where the product list item has the actual price offered to the customer at that time which may vary due to sales campaigns or seasonal pricing.",
- "definitions": {
- "productlistitem": {
- "properties": {
- "_id": {
- "title": "Line item ID.",
- "type": "string",
- "format": "uri-reference",
- "description": "The line item identifier for this product entry. The product itself is identified through `xdm:product`.",
- "meta:xdmType": "string",
- "meta:xdmField": "@id"
}, - "SKU": {
- "title": "SKU",
- "type": "string",
- "description": "Stock keeping unit (SKU), the unique identifier for a product defined by the vendor.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:SKU"
}, - "currencyCode": {
- "title": "Currency code",
- "type": "string",
- "examples": [
- "USD",
- "EUR"
], - "pattern": "^[A-Z]{3}$",
- "description": "The ISO 4217 alphabetic currency code used for pricing the product.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:currencyCode"
}, - "name": {
- "title": "Name",
- "type": "string",
- "description": "The display name for the product as presented to the user for this product view.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:name"
}, - "priceTotal": {
- "title": "Price total",
- "type": "number",
- "description": "The total price for the product line item.",
- "meta:xdmType": "number",
- "meta:xdmField": "xdm:priceTotal"
}, - "product": {
- "title": "Product",
- "type": "string",
- "format": "uri",
- "description": "The XDM identifier of the product itself.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:product"
}, - "productAddMethod": {
- "title": "Product add method",
- "type": "string",
- "description": "The method that was used to add a product item to the list by the visitor. Set with product list add metrics.",
- "meta:xdmType": "string",
- "meta:xdmField": "xdm:productAddMethod"
}, - "quantity": {
- "title": "Quantity",
- "type": "integer",
- "description": "The number of units the customer has indicated they require of the product.",
- "meta:xdmType": "int",
- "meta:xdmField": "xdm:quantity"
}
}, - "required": [
- "SKU"
]
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/productlistitem",
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816394,
- "repo:lastModifiedDate": 1635361816394,
- "eTag": "ba11c63e004dd1db02b7475cf2908b2611890f2e7bd139e31ff064bb424c24c7",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 33
}, - "meta:createdDate": "2021-02-19"
}
NOTE: For more information on using this operation, see the data types endpoint guide on Experience League.
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
| ||||||||||||
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
Unlike field groups, defining a data type does not require meta:extends
or meta:intendedToExtend
fields, nor do fields need to be nested to avoid collisions.
When it comes to defining the field structure of data type itself, you can use primitive types (like string
or object
) or you can reference other existing data types through $ref
attributes. See the guide on defining custom XDM fields in the API for detailed guidance on the expected format for different XDM field types.
type required | string The JSON Schema data type for the resource. Must be set to |
title required | string A title for the data type. |
description | string A description for the data type. |
properties | object If |
items | object If |
Success
Bad formatting
{- "title": "Property Construction",
- "description": "Information related to the property construction",
- "type": "object",
- "properties": {
- "yearBuilt": {
- "type": "integer",
- "title": "Year Built",
- "description": "The year the property was constructed."
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type of building or structure in which the property exists.",
- "enum": [
- "freeStanding",
- "mall",
- "shoppingCenter"
], - "meta:enum": {
- "freeStanding": "Free Standing Building",
- "mall": "Mall Space",
- "shoppingCenter": "Shopping Center"
}
}
}
}
{- "meta:altId": "_{TENANT_ID}.datatypes.669ffcc61cf5e94e8640dbe6a15f0f24eb3cd1ddbbfb6b36",
- "meta:resourceType": "datatypes",
- "version": "1.0",
- "title": "Property Construction",
- "type": "object",
- "description": "Information related to the property construction",
- "properties": {
- "yearBuilt": {
- "type": "integer",
- "title": "Year Built",
- "description": "The year the property was constructed.",
- "meta:xdmType": "int"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type of building or structure in which the property exists.",
- "enum": [
- "freeStanding",
- "mall",
- "shoppingCenter"
], - "meta:enum": {
- "freeStanding": "Free Standing Building",
- "mall": "Mall Space",
- "shoppingCenter": "Shopping Center"
}, - "meta:xdmType": "string"
}
}, - "refs": [ ],
- "imsOrg": "{ORG_ID}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1670885230789,
- "repo:lastModifiedDate": 1670885230789,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "d3cc803a1f8daa06b7c150d882bd337d88f4d5d5f08d36cfc4c2849dc0255f7e",
- "meta:globalLibVersion": "1.38.3.1"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "1bd86660-c5da-11e9-93d4-6d5fc3a66a8e",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
A PUT request essentially re-writes the data type, therefore the request body must include all fields required to create (POST) a data type. This is especially useful when updating a lot of information in the data type at once.
NOTE: For more information on using this operation, see the data types endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include all of the fields that were originally required for creating the data type, but with updated values.
type required | string The JSON Schema data type for the resource. Must be set to |
title required | string A title for the data type. |
description | string A description for the data type. |
properties | object If |
items | object If |
Success
Bad formatting
{- "title": "Property Construction",
- "description": "Updated description for the data type.",
- "type": "object",
- "properties": {
- "yearBuilt": {
- "type": "integer",
- "title": "Year Built",
- "description": "The year the property was constructed."
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type of building or structure in which the property exists.",
- "enum": [
- "freeStanding",
- "mall",
- "shoppingCenter"
], - "meta:enum": {
- "freeStanding": "Free Standing Building",
- "mall": "Mall Space",
- "shoppingCenter": "Shopping Center"
}
}
}
}
{- "meta:altId": "_{TENANT_ID}.datatypes.669ffcc61cf5e94e8640dbe6a15f0f24eb3cd1ddbbfb6b36",
- "meta:resourceType": "datatypes",
- "version": "1.1",
- "title": "Property Construction",
- "type": "object",
- "description": "Updated description of the data type.",
- "properties": {
- "yearBuilt": {
- "type": "integer",
- "title": "Year Built",
- "description": "The year the property was constructed.",
- "meta:xdmType": "int"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type of building or structure in which the property exists.",
- "enum": [
- "freeStanding",
- "mall",
- "shoppingCenter"
], - "meta:enum": {
- "freeStanding": "Free Standing Building",
- "mall": "Mall Space",
- "shoppingCenter": "Shopping Center"
}, - "meta:xdmType": "string"
}
}, - "refs": [ ],
- "imsOrg": "{ORG_ID}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1670885230789,
- "repo:lastModifiedDate": 1670885230789,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "d3cc803a1f8daa06b7c150d882bd337d88f4d5d5f08d36cfc4c2849dc0255f7e",
- "meta:globalLibVersion": "1.38.3.1"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "1bd86660-c5da-11e9-93d4-6d5fc3a66a8e",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
You can use this endpoint to update one or more attributes of a custom data type.
The Schema Registry supports all standard JSON Patch operations, including add
, remove
, and replace
, to allow users to modify or update data types they have defined.
NOTE: For more information on JSON Patch, including all available operations, please refer to the the official JSON Patch specification. > >For more information on using this operation, see the data types endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request body accepts a JSON Patch payload.
Success
Bad formatting
[- {
- "op": "add",
- "path": "/properties/field3",
- "value": {
- "title": "Field 3",
- "type": "string",
- "format": "date",
- "description": "Description of Field 3."
}
}
]
{- "meta:altId": "_{TENANT_ID}.datatypes.669ffcc61cf5e94e8640dbe6a15f0f24eb3cd1ddbbfb6b36",
- "meta:resourceType": "datatypes",
- "version": "1.1",
- "title": "Property Construction",
- "type": "object",
- "description": "Information related to the property construction",
- "properties": {
- "yearBuilt": {
- "type": "integer",
- "title": "Year Built",
- "description": "The year the property was constructed.",
- "meta:xdmType": "int"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type of building or structure in which the property exists.",
- "enum": [
- "freeStanding",
- "mall",
- "shoppingCenter"
], - "meta:enum": {
- "freeStanding": "Free Standing Building",
- "mall": "Mall Space",
- "shoppingCenter": "Shopping Center"
}, - "meta:xdmType": "string"
}, - "field1": {
- "title": "Field 1",
- "description": "Description of Field 1.",
- "type": "string"
}, - "field2": {
- "title": "Field 2",
- "description": "Description of Field 2.",
- "type": "integer"
}, - "field3": {
- "title": "Field 3",
- "description": "Description of Field 3.",
- "type": "string",
- "format": "date"
}
}, - "refs": [ ],
- "imsOrg": "{ORG_ID}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1670885230789,
- "repo:lastModifiedDate": 1670885230789,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "d3cc803a1f8daa06b7c150d882bd337d88f4d5d5f08d36cfc4c2849dc0255f7e",
- "meta:globalLibVersion": "1.38.3.1"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "1bd86660-c5da-11e9-93d4-6d5fc3a66a8e",
- "meta:sandboxType": "production",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
Removing a data type is done through a DELETE request to the $id
of the data type being removed.
A successful deletion returns an empty response body and HTTP status 204 (No Content).
NOTE: For more information on using this operation, see the data types endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Not found
Internal server error
Schema descriptors are tenant-level metadata used to provide interpretive details on how data based on certain schemas may relate or interact with one another.
Schemas define a static view of data entities, but do not provide specific details on how data based on these schemas (datasets) may relate to one another. Platform allows you to describe these relationships and other interpretive metadata about a schema through the use of descriptors.
Descriptors are tenant-level metadata for schemas, meaning they are unique to your IMS Organization and all descriptor operations take place in the tenant
container.
Each schema can have one or more schema descriptor entities applied to it. Each schema descriptor entity includes a descriptor @type
and the sourceSchema
to which it applies. Once applied, these descriptors apply to all datasets created using the schema.
NOTE: For more information on using this operation, see the descriptors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||
Accept required | string The desired response format. Descriptors require unique
|
Success
Bad formatting
{- "xdm:alternateDisplayInfo": [
- {
- "@id": "6acc5b7c0fc15159463ac1f1dbcb0c5950f330f2db740105",
- "@type": "xdm:alternateDisplayInfo",
- "xdm:sourceSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/4177bdbd4b2b328061bdd077dce25ea020b80d5c208553e0",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/_experience/analytics/customDimensions/eVars/eVar1",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:title": {
- "en_us": "Internal Campaign"
}, - "xdm:description": {
- "en_us": "Internal campaign eVar."
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:registryMetadata": {
- "repo:createdDate": 1611685171098,
- "repo:lastModifiedDate": 1611685171098,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
}
}
], - "xdm:descriptorIdentity": [
- {
- "@id": "8f52618ac104afa0da2b1d7c1cc8ac4a0da66a53",
- "@type": "xdm:descriptorIdentity",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/personalEmail/address",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:namespace": "Email",
- "xdm:property": "xdm:code",
- "xdm:isPrimary": true,
- "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:registryMetadata": {
- "repo:createdDate": 1556055659091,
- "repo:lastModifiedDate": 1556055659091,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
}
}
], - "xdm:descriptorReferenceIdentity": [
- {
- "@id": "bde9eb256ec3ddb51491459d00ddd4e0c3b03d16",
- "@type": "xdm:descriptorReferenceIdentity",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/_{TENANT_ID}/favoriteProduct",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:identityNamespace": "productID",
- "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:registryMetadata": {
- "repo:createdDate": 1570569826581,
- "repo:lastModifiedDate": 1570569826581,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
}
}
], - "xdm:descriptorOneToOne": [
- {
- "@id": "11b03201c4cbc99f99abe33523d49cc24a636330",
- "@type": "xdm:descriptorOneToOne",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/_{TENANT_ID}/favoriteProduct",
- "xdm:destinationSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/74ec84c38fefa486bc81c03a172933f1",
- "xdm:destinationVersion": 1,
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:registryMetadata": {
- "repo:createdDate": 1570569826248,
- "repo:lastModifiedDate": 1570569826248,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
}
}
]
}
View the details of a specific descriptor by performing a lookup (GET) request using the @id
of the descriptor. Descriptors are not versioned, therefore no Accept
header is required in the lookup request.
NOTE: For more information on using this operation, see the descriptors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Success
Bad formatting
{- "@id": "8f52618ac104afa0da2b1d7c1cc8ac4a0da66a53",
- "@type": "xdm:descriptorIdentity",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/personalEmail/address",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:namespace": "Email",
- "xdm:property": "xdm:code",
- "xdm:isPrimary": true,
- "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production",
- "meta:registryMetadata": {
- "repo:createdDate": 1556055659091,
- "repo:lastModifiedDate": 1556055659091,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b"
}
}
You can create a new descriptor by making a POST request. The required request payload fields vary based on the @type
of descriptor being defined. For details on the requirements for each descriptor type, refer to the section on defining descriptors on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The required request payload fields vary based on the @type
of descriptor being defined. For details on the requirements for each descriptor type, refer to the section on defining descriptors in the API guide.
Success
Bad formatting
{- "@type": "xdm:descriptorIdentity",
- "xdm:sourceSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/5b8d40b434bec502955d3e0144c4ce14d096897c6b0ca11f",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/homeAddress",
- "xdm:description": {
- "en_us": "The home address for the customer."
}
}
{- "@id": "557ab9db09a9451820c1dca6b8bc13473695ac63c56934eb",
- "@type": "xdm:alternateDisplayInfo",
- "xdm:sourceSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/5b8d40b434bec502955d3e0144c4ce14d096897c6b0ca11f",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/homeAddress",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:description": {
- "en_us": "The home address for the customer."
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "36ac3b60-e3df-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production"
}
You can update a descriptor by making a PUT request. This action essentially rewrites the existing descriptor, therefore the payload must include all fields that were required when the descriptor was first defined.
NOTE: For more information on using this operation, see the descriptors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The required request payload fields vary based on the @type
of descriptor being defined. For details on the requirements for each descriptor type, refer to the section on defining descriptors in the API guide.
Success
Bad formatting
{- "@type": "xdm:descriptorIdentity",
- "xdm:sourceSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/5b8d40b434bec502955d3e0144c4ce14d096897c6b0ca11f",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/homeAddress",
- "xdm:description": {
- "en_us": "The home address for the customer."
}
}
{- "@id": "557ab9db09a9451820c1dca6b8bc13473695ac63c56934eb",
- "@type": "xdm:alternateDisplayInfo",
- "xdm:sourceSchema": "https://ns.adobe.com/{TENANT_ID}/schemas/5b8d40b434bec502955d3e0144c4ce14d096897c6b0ca11f",
- "xdm:sourceVersion": 1,
- "xdm:sourceProperty": "/homeAddress",
- "imsOrg": "{IMS_ORG}",
- "version": "1",
- "xdm:description": {
- "en_us": "The home address for the customer."
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "36ac3b60-e3df-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production"
}
NOTE: For more information on using this operation, see the descriptors endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Forbidden
Not found
Union schemas aggregate the fields of all schemas that implement the same class (such as ExperienceEvent or Profile) into a single schema. They are used by Real-time Customer Profile to merge data together to form a "single source of truth" for an individual.
NOTE: For more information on using this operation, see the unions endpoint guide on Experience League.
Accept required | string The desired response format. For listing calls, the following
| ||||||
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_xdm.context.profile__union",
- "meta:resourceType": "unions",
- "version": "1.0",
- "title": "XDM Individual Profile",
- "type": "object",
- "description": "An XDM Individual Profile forms a singular representation of the attributes and interests of both identified and partially-identified individuals. Less-identified profiles may contain only anonymous behavioral signals, such as browser cookies, while highly-identified profiles may contain detailed personal information such as name, date of birth, location, and email address. As a profile grows, it becomes a robust repository of personal information, identification information, contact details, and communication preferences for an individual.",
- "allOf": [
- { },
], - "imsOrg": "{IMS_ORG}",
- "meta:extends": [
], - "meta:xdmType": "object",
- "meta:registryMetadata": {
- "eTag": "e4655a460374dec4dd7c32d3075a4ffc8249146b4d9c6ae09682da51266a78da",
- "meta:globalLibVersion": "1.28.1"
}, - "meta:containerId": "tenant"
}, - {
- "meta:altId": "_xdm.context.experienceevent__union",
- "meta:resourceType": "unions",
- "version": "1.0",
- "title": "XDM ExperienceEvent",
- "type": "object",
- "description": "An ExperienceEvent is a fact record of what occurred, including the point in time and identity of the individual involved. ExperienceEvents can be either explicit (directly observable human actions) or implicit (raised without a direct human action) and are recorded without aggregation or interpretation. They are critical for time-domain analytics as they allow for observation and analysis of changes that occur in a given window of time and the comparison between multiple windows of time to track trends.",
- "allOf": [
], - "imsOrg": "{IMS_ORG}",
- "meta:extends": [
], - "meta:xdmType": "object",
- "meta:registryMetadata": {
- "eTag": "e4655a460374dec4dd7c32d3075a4ffc8249146b4d9c6ae09682da51266a78da",
- "meta:globalLibVersion": "1.28.1"
}, - "meta:containerId": "tenant"
}, - {
- "meta:altId": "_xdm.context.segmentdefinition__union",
- "meta:resourceType": "unions",
- "version": "1.0",
- "title": "Segment definition",
- "type": "object",
- "description": "This is the base class for a segment definition which includes required fields like identity of a segment and name of segment. Segment definitions coming from various system can use this class to build Segment Definition XDM schema.",
- "allOf": [
], - "imsOrg": "{IMS_ORG}",
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "eTag": "e4655a460374dec4dd7c32d3075a4ffc8249146b4d9c6ae09682da51266a78da",
- "meta:globalLibVersion": "1.28.1"
}, - "meta:containerId": "tenant"
}
]
}
NOTE: For more information on using this operation, see the unions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Bad formatting
{- "meta:altId": "_xdm.context.profile__union",
- "meta:resourceType": "unions",
- "version": "1.0",
- "title": "XDM Individual Profile",
- "type": "object",
- "description": "An XDM Individual Profile forms a singular representation of the attributes and interests of both identified and partially-identified individuals. Less-identified profiles may contain only anonymous behavioral signals, such as browser cookies, while highly-identified profiles may contain detailed personal information such as name, date of birth, location, and email address. As a profile grows, it becomes a robust repository of personal information, identification information, contact details, and communication preferences for an individual.",
- "allOf": [
- { },
], - "imsOrg": "{IMS_ORG}",
- "meta:extends": [
], - "meta:xdmType": "object",
- "meta:registryMetadata": {
- "eTag": "e4655a460374dec4dd7c32d3075a4ffc8249146b4d9c6ae09682da51266a78da",
- "meta:globalLibVersion": "1.28.1"
}, - "meta:containerId": "tenant",
- "meta:sandboxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "meta:sandboxType": "production"
}
The Schema Registry API allows you to transfer and share XDM resources between sandboxes and IMS Organizations. For any schema, field group, or data type, you can generate an export payload containing the structure of the resource and any dependent resources. This payload can then be used to import the resource into a destination sandbox and IMS Org.
You can use this endpoint to retrieve an export payload for a specific resource in order to transfer it into a different sandbox or IMS Organization.
NOTE: For more information on using this operation, see the export and import endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Not found
[- {
- "meta:altId": "_<XDM_TENANTID_PLACEHOLDER>.mixins.443fe51457047d958f4a97853e64e0eca93ef34d7990583b",
- "meta:resourceType": "mixins",
- "version": "1.0",
- "title": "Example field group",
- "type": "object",
- "description": "",
- "definitions": {
- "customFields": {
- "type": "object",
- "properties": {
- "_<XDM_TENANTID_PLACEHOLDER>": {
- "type": "object",
- "properties": {
- "customerId": {
- "title": "Customer ID",
- "description": "",
- "type": "string",
- "isRequired": false,
- "meta:xdmType": "string"
}
}, - "meta:xdmType": "object"
}
}
}, - "meta:xdmType": "object"
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:intendedToExtend": [ ],
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}, - {
- "meta:altId": "_<XDM_TENANTID_PLACEHOLDER>.schemas.20af3f1d4b175f27ba59529d1b51a0c79fc25df454117c80",
- "meta:resourceType": "schemas",
- "version": "1.1",
- "title": "Example schema",
- "type": "object",
- "description": "",
- "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": false,
- "meta:abstract": false,
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}
]
Use an export payload to import a resource into a different sandbox or IMS Organization.
NOTE: For more information on using this operation, see the export/import endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The unique ID ({IMS_ORG}) of the IMS Organization that you want to import the resource into. |
x-sandbox-name required | string The name of the sandbox that you want to import the resource into. See the sandboxes overview documentation for more information. |
The payload returned by a GET /rpc/export/{RESOURCE_ID}
call, indicating which schemas, field groups, and/or data types should be imported into the destination IMS Organization and sandbox.
Success
Bad formatting
[- {
- "meta:altId": "_<XDM_TENANTID_PLACEHOLDER>.mixins.443fe51457047d958f4a97853e64e0eca93ef34d7990583b",
- "meta:resourceType": "mixins",
- "version": "1.0",
- "title": "Example field group",
- "type": "object",
- "description": "",
- "definitions": {
- "customFields": {
- "type": "object",
- "properties": {
- "_<XDM_TENANTID_PLACEHOLDER>": {
- "type": "object",
- "properties": {
- "customerId": {
- "title": "Customer ID",
- "description": "",
- "type": "string",
- "isRequired": false,
- "meta:xdmType": "string"
}
}, - "meta:xdmType": "object"
}
}
}, - "meta:xdmType": "object"
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:intendedToExtend": [ ],
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}, - {
- "meta:altId": "_<XDM_TENANTID_PLACEHOLDER>.schemas.20af3f1d4b175f27ba59529d1b51a0c79fc25df454117c80",
- "meta:resourceType": "schemas",
- "version": "1.1",
- "title": "Example schema",
- "type": "object",
- "description": "",
- "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": false,
- "meta:abstract": false,
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}
]
[- {
- "meta:altId": "_{TENANT_ID}.mixins.443fe51457047d958f4a97853e64e0eca93ef34d7990583b",
- "meta:resourceType": "mixins",
- "version": "1.0",
- "title": "Example field group",
- "type": "object",
- "description": "",
- "definitions": {
- "customFields": {
- "type": "object",
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "customerId": {
- "title": "Customer ID",
- "description": "",
- "type": "string",
- "isRequired": false,
- "meta:xdmType": "string"
}
}, - "meta:xdmType": "object"
}
}
}, - "meta:xdmType": "object"
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:intendedToExtend": [ ],
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}, - {
- "meta:altId": "_{TENANT_ID}.schemas.20af3f1d4b175f27ba59529d1b51a0c79fc25df454117c80",
- "meta:resourceType": "schemas",
- "version": "1.1",
- "title": "Example schema",
- "type": "object",
- "description": "",
- "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": false,
- "meta:abstract": false,
- "meta:xdmType": "object",
- "meta:sandboxId": "ff0f6870-c46d-11e9-8ca3-036939a64204",
- "meta:sandboxType": "production"
}
]
You can generate sample data for any specified schema within the Schema Library. The response object returned can then be used as the source of dataset ingestion.
Retrieve sample data for a schema.
NOTE: For more information on using this operation, see the sample data endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Not found
{- "@id": "/uri-reference",
- "xdm:name": "Example Offer Name",
- "xdm:representations": [
- {
- "xdm:components": [
- {
- "dc:format": "application/vnd.adobe.photoshop",
- "dc:language": [
- "\n"
], - "repo:id": "urn:aaid:sc:US:6dc33479-13ca-4b19-b25d-c805eff8a69e",
- "repo:name": "Example Repo Name",
}
],
}
], - "xdm:status": "draft",
}
The Schema Registry maintains a log of all the changes that have occurred to a resource (class, field group, data type, or schema) between different updates.
This endpoint retrieves a resource's audit log, which shows a list of all the changes made to the resource.
NOTE: For more information on using this operation, see the audit log endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Success
[- {
- "updatedUser": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "updatedTime": "02-19-2021 05:43:56",
- "requestId": "a14NMF0jd6BIfyXaHdTDl4bC4R0r9rht",
- "clientId": "{CLIENT_ID}",
- "sandBoxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "updates": [
- {
- "xdmType": "schemas",
- "action": "remove",
- "path": "/meta:usageCount",
- "value": 0
}
]
}, - {
- "updatedUser": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "updatedTime": "02-19-2021 05:43:56",
- "requestId": "pFQbgmWrdbJrNB9GdxTSGECpXYWspu68",
- "clientId": "{CLIENT_ID}",
- "sandBoxId": "28e74200-e3de-11e9-8f5d-7f27416c5f0d",
- "updates": [
- {
- "xdmType": "classes",
- "action": "remove",
- "path": "/definitions/customFields/properties/_{TENANT_ID}/properties/loyaltySunday_ABC",
- "value": {
- "title": "LoyaltySundayABC",
- "description": "",
- "type": "string",
- "isRequired": false,
- "required": [ ],
- "meta:xdmType": "string"
}
}, - {
- "xdmType": "classes",
- "action": "remove",
- "path": "/definitions/customFields/properties/_{TENANT_ID}/properties/loyaltyMoxee_XYZ",
- "value": {
- "title": "LoyaltyMoxeeXYZ",
- "description": "",
- "type": "string",
- "isRequired": false,
- "required": [ ],
- "meta:xdmType": "string"
}
}
]
}
]
"Mixin" is the former term for a field group. The /mixins endpoints are deprecated and only maintained as legacy endpoints. For new implementations, please use the /fieldgroups endpoint instead.
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||
Accept required | string The desired response format. For listing calls, the following
|
Success
Bad formatting
{- "results": [
- {
- "meta:altId": "_xdm.context.profile-person-details",
- "meta:resourceType": "mixins",
- "version": "1.27.4",
- "title": "Demographic Details",
- "type": "object",
- "description": "Demographic information such as name, gender, and birth date of an individual.",
- "definitions": {
- "profile-person-details": {
- "properties": {
- "person": {
- "title": "Person",
- "description": "An individual actor, contact, or owner.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:person"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref ": "#/definitions/profile-person-details",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816945,
- "repo:lastModifiedDate": 1635361816945,
- "eTag": "9f6a76cf4e115d0a3db3900fb418979ebea28bce47967484a1a0b2a2c32514cb",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 316
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}, - {
- "meta:altId": "_xdm.context.profile-personal-details",
- "meta:resourceType": "mixins",
- "version": "1.27.4",
- "title": "Personal Contact Details",
- "type": "object",
- "description": "Contact information for an individual person such as home address, phone number, fax, and email.",
- "definitions": {
- "profile-personal-details": {
- "properties": {
- "faxPhone": {
- "title": "Fax phone",
- "description": "Fax phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:faxPhone"
}, - "homeAddress": {
- "title": "Home address",
- "description": "A home postal address.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:homeAddress"
}, - "homePhone": {
- "title": "Home phone",
- "description": "Home phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:homePhone"
}, - "mobilePhone": {
- "title": "Mobile phone",
- "description": "Mobile phone number.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:mobilePhone"
}, - "personalEmail": {
- "title": "Personal email",
- "description": "A personal email address.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:personalEmail"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref ": "#/definitions/profile-personal-details",
- "type": "object",
- "meta:xdmType": "object"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1635361816961,
- "repo:lastModifiedDate": 1635361816961,
- "eTag": "750a04f69224e9fab367c6663199218dbd524852652627756284b4333fd7b27b",
- "meta:globalLibVersion": "1.27.4",
- "meta:usageCount": 300
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}
], - "_page": {
- "orderby": "updated",
- "next": null,
- "count": 2
}, - "_links": {
- "next": null
}
}
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. | ||||||||||||
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. | ||||||||||||
Accept required | string The desired response format. For lookup requests, a
|
Success
Not found
Invalid Accept format
{- "meta:altId": "_xdm.context.profile-person-details",
- "meta:resourceType": "mixins",
- "version": "1.22.3",
- "title": "Demographic Details",
- "type": "object",
- "description": "Demographic information such as name, gender, and birth date of an individual.",
- "definitions": {
- "profile-person-details": {
- "properties": {
- "person": {
- "title": "Person",
- "description": "An individual actor, contact, or owner.",
- "type": "object",
- "meta:xdmType": "object",
- "meta:xdmField": "xdm:person"
}
}
}
}, - "allOf": [
- {
- "type": "object",
- "meta:xdmType": "object"
}, - {
- "$ref": "#/components/schemas/profile-person-details"
}
], - "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:status": "stable",
- "meta:registryMetadata": {
- "repo:createdDate": 1620758109174,
- "repo:lastModifiedDate": 1620758109174,
- "eTag": "f5b20a7edefab1c4b1a86fbd4de91570b57d36b9f2c6deb3225a18d14fafce3b",
- "meta:globalLibVersion": "1.22.3",
- "meta:usageCount": 29
}, - "meta:tags": {
- "industry": [
- "all"
]
}, - "meta:createdDate": "2020-08-10"
}
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include a 'meta:intendedToExtend' field listing the '$id' of the class(es) with which the field group is compatible.
type required | string The JSON Schema data type for the field group. Must be set to |
title required | string A title for the field group. |
description | string A description for the field group. |
meta:intendedToExtend required | Array of strings Contains the |
definitions | object Describes the unique attributes provided by the field group that are not inherited from other XDM resources. Custom attributes must be nested under |
Array of objects A list of reference strings that determine the attributes that the field group provides. A string can refer to a custom field definition provided under the |
Success
Bad formatting
{- "type": "object",
- "title": "Property Details",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "meta:intendedToExtend": [
], - "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref": "#/definitions/property"
}
]
}
{- "meta:altId": "_{TENANT_ID}.mixins.8779fd45d6e4eb074300023a439862bbba359b60d451627a",
- "meta:resourceType": "mixins",
- "version": "1.2",
- "title": "Property Details",
- "type": "object",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref ": "#/definitions/customFields",
- "type": "object",
- "meta:xdmType": "object"
}
], - "imsOrg": "{IMS_ORG}",
- "meta:extensible": true,
- "meta:abstract": true,
- "meta:xdmType": "object",
- "meta:registryMetadata": {
- "repo:createdDate": 1594941263588,
- "repo:lastModifiedDate": 1594941538433,
- "xdm:createdClientId": "{CLIENT_ID}",
- "xdm:lastModifiedClientId": "{CLIENT_ID}",
- "xdm:createdUserId": "{USER_ID}",
- "xdm:lastModifiedUserId": "{USER_ID}",
- "eTag": "5e8a5e508eb2ed344c08cb23ed27cfb60c841bec59a2f7513deda0f7af903021",
- "meta:globalLibVersion": "1.15.4"
}, - "meta:containerId": "tenant",
- "meta:tenantNamespace": "_{TENANT_ID}"
}
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The JSON payload must include all of the fields that were originally required for creating the field group, but with updated values. This includes an allOf
attribute referencing the $id
of the class the schema will implement.
type required | string The JSON Schema data type for the field group. Must be set to |
title required | string A title for the field group. |
description | string A description for the field group. |
meta:intendedToExtend required | Array of strings Contains the |
definitions | object Describes the unique attributes provided by the field group that are not inherited from other XDM resources. Custom attributes must be nested under |
Array of objects A list of reference strings that determine the attributes that the field group provides. A string can refer to a custom field definition provided under the |
Success
Bad formatting
{- "type": "object",
- "title": "Property Details",
- "description": "Detailed information related to the properties owned and operated by the company.",
- "meta:intendedToExtend": [
], - "definitions": {
- "property": {
- "properties": {
- "_{TENANT_ID}": {
- "type": "object",
- "properties": {
- "propertyName": {
- "type": "string",
- "title": "Property Name",
- "description": "Name of the property"
}, - "propertyCity": {
- "title": "Property City",
- "description": "City where the property is located.",
- "type": "string"
}, - "phoneNumber": {
- "title": "Phone Number",
- "description": "Primary phone number for the property.",
- "type": "string"
}, - "propertyType": {
- "type": "string",
- "title": "Property Type",
- "description": "Type and primary use of property.",
- "enum": [
- "retail",
- "yoga",
- "fitness"
], - "meta:enum": {
- "retail": "Retail Store",
- "yoga": "Yoga Studio",
- "fitness": "Fitness Center"
}
}, - "propertyConstruction": {
}
}
}
}
}
}, - "allOf": [
- {
- "$ref": "#/definitions/property"
}
]
}
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
Content-Type required | string The type of content being sent in the body of the request. When sending requests that include payloads to the Schema Registry API, this header must be included with a value of |
The request body accepts a JSON Patch payload.
Success
Bad formatting
[- {
- "op": "add",
- "path": "/definitions/property/properties/_{TENANT_ID}/properties/propertyCity",
- "value": {
- "title": "Property Country",
- "description": "The country where the property is located.",
- "type": "string"
}
}
]
NOTE: This endpoint is deprecated. For future implementations, please use the equivalent operation for the field groups endpoint instead.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The IMS Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview for more information. |
No content
Not found
Internal server error