PowerPlatformConnectors/independent-publisher-conne.../IBM Watson Assistant/apiProperties.json

77 строки
2.0 KiB
JSON

{
"properties": {
"connectionParameters": {
"url": {
"type": "string",
"uiDefinition": {
"displayName": "Service URL",
"description": "The service URL",
"tooltip": "Provide your service URL",
"constraints": {
"tabIndex": 1,
"clearText": false,
"required": "true"
}
}
},
"environment": {
"type": "string",
"uiDefinition": {
"displayName": "Environment ID",
"description": "The Environment ID",
"tooltip": "Provide the environment",
"constraints": {
"tabIndex": 2,
"clearText": false,
"required": "true"
}
}
},
"username": {
"type": "string",
"uiDefinition": {
"displayName": "API Key Name",
"description": "The API key name",
"tooltip": "Provide the username",
"constraints": {
"tabIndex": 3,
"clearText": false,
"required": "true",
"allowedValues": [
{
"text": "Default",
"value": "apikey"
}
]
}
}
},
"password": {
"type": "securestring",
"uiDefinition": {
"displayName": "API Key",
"description": "The service API key",
"tooltip": "Provide the API Key",
"constraints": {
"tabIndex": 4,
"clearText": false,
"required": "true"
}
}
}
},
"iconBrandColor": "#da3b01",
"capabilities": [],
"policyTemplateInstances": [
{
"templateId": "dynamichosturl",
"title": "SetHost",
"parameters": {
"x-ms-apimTemplateParameter.urlTemplate": "@connectionParameters('url')/v2/assistants/@connectionParameters('environment')"
}
}
],
"publisher": "Lucas Titus",
"stackOwner": "IBM"
}
}