PowerPlatformConnectors/independent-publisher-conne.../eBay/apiProperties.json

73 строки
2.2 KiB
JSON

{
"properties": {
"connectionParameters": {
"token": {
"type": "oauthSetting",
"oAuthSettings": {
"identityProvider": "oauth2",
"clientId": "Enter your client ID",
"scopes": [
"https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.account https://api.ebay.com/oauth/api_scope/sell.inventory"
],
"redirectMode": "Global",
"redirectUrl": "https://global.consent.azure-apim.net/redirect",
"properties": {
"IsFirstParty": "False",
"IsOnbehalfofLoginSupported": false
},
"customParameters": {
"authorizationUrl": {
"value": "https://auth.ebay.com/oauth2/authorize"
},
"tokenUrl": {
"value": "https://api.ebay.com/identity/v1/oauth2/token"
},
"refreshUrl": {
"value": "https://api.ebay.com/identity/v1/oauth2/token"
}
}
}
},
"token:clientId": {
"type": "string",
"uiDefinition": {
"constraints": {
"required": "true",
"hidden": false
},
"description": "Please enter the client Id.",
"displayName": "Client Id - Your eBay clientId"
}
},
"token:clientSecret": {
"type": "securestring",
"uiDefinition": {
"constraints": {
"required": "true",
"hidden": false
},
"description": "Please enter the client secret.",
"displayName": "Client Secret"
}
}
},
"iconBrandColor": "#da3b01",
"capabilities": [
"actions"
],
"policyTemplateInstances": [
{
"templateId": "setheader",
"title": "Content-Language",
"parameters": {
"x-ms-apimTemplateParameter.name": "Content-Language",
"x-ms-apimTemplateParameter.value": "en-US",
"x-ms-apimTemplateParameter.existsAction": "override",
"x-ms-apimTemplate-policySection": "Request"
}
}
],
"publisher": "Artesian Software Technologies LLP",
"stackOwner": "eBay Inc."
}
}