PowerPlatformConnectors/certified-connectors/InfoQuery Title Explorer/apiProperties.json

98 строки
3.1 KiB
JSON

{
"properties": {
"connectionParameters": {
"api_key": {
"type": "securestring",
"uiDefinition": {
"displayName": "API Key",
"description": "The API Key for this api",
"tooltip": "Provide your API Key",
"constraints": {
"tabIndex": 2,
"clearText": false,
"required": "true"
}
}
},
"rw_username": {
"type": "string",
"uiDefinition": {
"displayName": "ResWare Username",
"description": "The username for ResWare",
"tooltip": "Provide your ResWare username",
"constraints": {
"required": "true"
}
}
},
"rw_password": {
"type": "securestring",
"uiDefinition": {
"displayName": "ResWare Password",
"description": "The password for ResWare",
"tooltip": "Provide your ResWare password",
"constraints": {
"required": "true"
}
}
},
"rw_portalurl": {
"type": "string",
"uiDefinition": {
"displayName": "ResWare Portal URL",
"description": "The portal url for ResWare",
"tooltip": "Provide your ResWare portal url starting with https:// ",
"constraints": {
"required": "true"
}
}
}
},
"iconBrandColor": "#F2F2F2",
"capabilities": [],
"policyTemplateInstances": [
{
"templateId": "setheader",
"title": "ConnectorHeaderPolicy",
"parameters": {
"x-ms-apimTemplateParameter.name": "connector",
"x-ms-apimTemplateParameter.value": "ContentServer",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
},
{
"templateId": "setheader",
"title": "UsernameHeaderPolicy",
"parameters": {
"x-ms-apimTemplateParameter.name": "rw_username",
"x-ms-apimTemplateParameter.value": "@connectionParameters('rw_username','')",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
},
{
"templateId": "setheader",
"title": "PasswordHeaderPolicy",
"parameters": {
"x-ms-apimTemplateParameter.name": "rw_password",
"x-ms-apimTemplateParameter.value": "@connectionParameters('rw_password','')",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
},
{
"templateId": "setheader",
"title": "PortalUrlHeaderPolicy",
"parameters": {
"x-ms-apimTemplateParameter.name": "rw_portalurl",
"x-ms-apimTemplateParameter.value": "@connectionParameters('rw_portalurl','')",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
}
],
"publisher": "InfoQuery LLC",
"stackOwner": "InfoQuery LLC"
}
}