在Reactor API中,配置文件表示Adobe Experience Platform用户。 Reactor API不维护其自己的用户和权限数据库,而是依赖于由管理的AdobeID Adobe的身份管理系统(IMS).
配置文件包含有关已登录用户的所有信息,包括其所属的所有IMS组织、其所属的每个组织中的产品配置文件,以及他们从每个产品配置文件中拥有的权限。
本指南中使用的端点是 Reactor API. 在继续之前,请查看 入门指南 以了解有关如何对API进行身份验证的重要信息。
您可以通过向 /profile
端点。
API格式
GET /profile
请求
curl -X GET \
https://reactor.adobe.io/profile \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H "Content-Type: application/vnd.api+json" \
-H 'Accept: application/vnd.api+json;revision=1'
响应
成功的响应会返回用户档案的详细信息。
{
"data": {
"id": "UR0bd696624e844d6ba5bfc248ba1eca11",
"type": "users",
"attributes": {
"active_org": "{IMS_ORG_1}",
"expires_in": 0,
"display_name": "John Smith",
"job_function": null,
"email": "jsmith@example.com",
"organizations": {
"{IMS_ORG_1}": {
"name": "Example IMS Org A",
"admin": true,
"active": true,
"login_companies": [
],
"product_contexts": [
"dma_audiencemanager_int",
"dma_tartan",
"dma_dtm",
"dma_reactor",
"dma_auditor"
],
"tenant_id": "{TENANT_ID_1}"
},
"{IMS_ORG_2}": {
"name": "Example IMS Org B",
"admin": false,
"active": false,
"login_companies": [
],
"product_contexts": [
"dma_reactor",
"dma_auditor",
"dma_tartan"
],
"tenant_id": "{TENANT_ID_2}"
}
}
},
"links": {
"self": "https://reactor.adobe.io/profile"
},
"meta": {
"rights": [
"manage_companies"
]
}
}
}