Read Person Portrait
This example request illustrates how to read a description of the portrait for a Tree person.
JSON
Request
GET /platform/tree/persons/PPPP-PPP/portrait
Accept: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 307 Temporary Redirect
Content-type: application/x-fs-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/PPPP-PPP/portrait
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Location: https://domain/path/to/image
Transfer-encoding: chunked
XML
Request
GET /platform/tree/persons/PPPP-PPP/portrait
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 307 Temporary Redirect
Content-type: application/x-fs-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/persons/PPPP-PPP/portrait
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Location: https://domain/path/to/image
Transfer-encoding: chunked
Updated 5 days ago