Reactor API에서 프로필은 Adobe Experience Platform 사용자를 나타냅니다. Reactor API는 자체 사용자 및 권한 데이터베이스를 유지 관리하지 않고 대신 에서 관리하는 Adobe ID를 사용합니다 Adobe의 ID 관리 시스템(IMS).
프로필에는 로그인한 사용자가 속한 모든 조직, 각 조직 내에 속한 제품 프로필 및 각 제품 프로필에서 부여한 권한을 비롯하여 로그인한 사용자에 대한 모든 정보가 포함되어 있습니다.
이 안내서에 사용된 끝점은 반응기 API. 계속하기 전에 다음을 검토하십시오. 시작 안내서 API 인증 방법에 대한 중요한 정보를 제공합니다.
에 GET 요청을 하여 현재 로그인한 프로필의 세부 정보를 검색할 수 있습니다. /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": "{ORG_1}",
"expires_in": 0,
"display_name": "John Smith",
"job_function": null,
"email": "jsmith@example.com",
"organizations": {
"{ORG_1}": {
"name": "Example organization 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}"
},
"{ORG_2}": {
"name": "Example organization 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"
]
}
}
}