Listing Application Templates
Function
This API is used to list application templates. It can be called only from the organization's management account or from a delegated administrator account of a cloud service.
URI
GET /v1/application-templates
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
application_id |
Yes |
String |
Application ID. Its prefix is app-. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Security-Token |
No |
String |
Security token (session token) of your temporary security credentials. If a temporary security credential is used, this header is required. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
application_templates |
Array of ApplicationTemplateDto objects |
List of application templates. |
Parameter |
Type |
Description |
---|---|---|
application |
Display information of an application template. |
|
response_config |
ResponseConfigDto object |
Application attribute configuration. |
response_schema_config |
ResponseSchemaConfigDto object |
Mapping configuration of application attributes. |
sso_protocol |
String |
Supported protocols. |
security_config |
SecurityConfigDto object |
Certificate configuration. |
service_provider_config |
ServiceProviderConfigDto object |
Service provider configuration. |
template_id |
String |
Unique ID of an application template. |
template_version |
String |
Application template version. |
Parameter |
Type |
Description |
---|---|---|
application_id |
String |
Application ID. Its prefix is app-. |
display |
DisplayDto object |
Display information of an application. |
application_type |
String |
Application type. |
Parameter |
Type |
Description |
---|---|---|
description |
String |
Application description. |
display_name |
String |
Application display name. |
icon |
String |
Application icon. |
Parameter |
Type |
Description |
---|---|---|
properties |
Map<String,ResponseSourceDetailsDto> |
Additional configuration for attribute mapping. |
subject |
ResponseSourceDetailsDto object |
Subject attribute mapping configuration. |
relay_state |
String |
Relay state. |
ttl |
String |
Session expiration time. |
Parameter |
Type |
Description |
---|---|---|
source |
Array of strings |
Attribute mapping value. |
Parameter |
Type |
Description |
---|---|---|
properties |
Map<String,ResponseSchemaPropertiesDetailsDto> |
Additional schema configuration for attribute mapping. |
subject |
Schema configuration for subject attribute mapping. |
|
supported_name_id_formats |
Array of strings |
Subject NameID format supported by an application. |
Parameter |
Type |
Description |
---|---|---|
attr_name_format |
String |
Additional attribute format. |
include |
String |
Whether additional attributes are included. |
Parameter |
Type |
Description |
---|---|---|
name_id_format |
String |
NameID format. |
include |
String |
Whether NameID is included. |
Parameter |
Type |
Description |
---|---|---|
audience |
String |
SAML audience. |
require_request_signature |
Boolean |
Whether a signature is required. |
consumers |
Array of ConsumersDto objects |
SAML response recipient. |
start_url |
String |
Application startup URL. |
Parameter |
Type |
Description |
---|---|---|
binding |
String |
SAML transmission protocol. |
default_value |
Boolean |
Whether it is the default recipient. |
location |
String |
SAML ACS URL. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
request_id |
String |
Unique ID of a request. |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
request_id |
String |
Unique ID of a request. |
encoded_authorization_message |
String |
Encrypted error message. |
Example Request
Listing application templates
GET https://{hostname}/v1/application-templates
Example Response
Status code: 200
Successful
{ "application_templates" : [ { "application" : { "application_id" : "app-ff1258a63a4a263f", "display" : { "description" : "Custom SAML 2.0 application", "display_name" : "Custom SAML 2.0 application", "icon" : "" }, "application_type" : "" }, "response_config" : { "properties" : { }, "subject" : null, "relay_state" : null, "ttl" : "PT1H" }, "response_schema_config" : { "properties" : { }, "subject" : null, "supported_name_id_formats" : null }, "sso_protocol" : "SAML", "security_config" : { "ttl" : null }, "service_provider_config" : { "audience" : null, "require_request_signature" : false, "consumers" : null, "start_url" : null }, "template_id" : "tpl-88f215b39bfc7575", "template_version" : "1" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful. |
400 |
Bad request. |
403 |
Forbidden. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot