PowerPlatformConnectors/certified-connectors/Assently E-Sign/apiProperties.json

59 строки
1.8 KiB
JSON

{
"properties": {
"connectionParameters": {
"apiUrl": {
"type": "string",
"uiDefinition": {
"constraints": {
"required": "true",
"tabIndex": 2,
"allowedValues": [
{ "text": "Assently", "value": "https://app.assently.com"},
{ "text": "Assently Test", "value": "https://test.assently.com" }
]
},
"description": "Specifies the API Server URL that this connection will be used with.",
"displayName": "Account hosted on",
"tooltip": "Specifies the API Server URL that this connection will be used with."
}
},
"api_key": {
"type": "securestring",
"uiDefinition": {
"displayName": "Personal Access Token",
"description": "The Personal Access Token of the user, available under user profile",
"tooltip": "Provide your Personal Access Token",
"constraints": {
"tabIndex": 3,
"clearText": false,
"required": "true"
}
}
}
},
"iconBrandColor": "#7eac00",
"capabilities": [],
"publisher": "Assently AB",
"stackOwner": "Assently AB",
"policyTemplateInstances": [
{
"templateId": "dynamichosturl",
"title": "API Server URL",
"parameters": {
"x-ms-apimTemplateParameter.urlTemplate": "@connectionParameters('apiUrl')/api"
}
},
{
"templateId": "setheader",
"title": "[[Dummy]]",
"parameters": {
"x-ms-apimTemplateParameter.name": "[[Dummy]]",
"x-ms-apimTemplateParameter.value": "[[Dummy]]",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
}
]
}
}