Object representation with the REST API

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

With the REST API, HCP represents each object as a URL. The root of the object path in the URL is always rest.

Here’s an example of the URL for an object named wind.jpg in the images directory in a namespace named climate in a tenant named geo in an HCP system with the domain name hcp.example.com:

http://climate.geo.hcp.example.com/rest/images/wind.jpg

Users and applications represent system metadata by using query parameters appended to the URLs. HCP returns system metadata in response headers.