Data Object Representation
TPM REST API mainly consumes data objects in JSON forms.
The following are two data object categories for communicating with TPM REST API:
Data Object Forms of an HTTP Request
TPM REST API consumes data objects in regular HTTP query string form that is sent by an HTTP Request:
Note:
- File Content data object, for example keys, certificates, and uploaded files, are consumed and responded in Base64 format.
- When explicitly retrieving file content data object with .content suffix, TPM REST API will respond with the file content.
- When retrieving file content data object with .reference suffix, TPM REST API will respond with the according file content reference.
- When retrieving file content data object with no suffix, TPM REST API will process the request as retrieving file content data object with .reference suffix.
Copyright © TIBCO Software Inc. All rights reserved.