|
@@ -188,24 +188,10 @@
|
|
}
|
|
}
|
|
}, {
|
|
}, {
|
|
"name": "headers",
|
|
"name": "headers",
|
|
- "default": [{
|
|
|
|
- "name": "Accept",
|
|
|
|
- "default": "application/json",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "text",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "HTTP headers",
|
|
|
|
- "zh_CN": "HTTP标头"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "HTTP headers",
|
|
|
|
- "zh_CN": "HTTP标头"
|
|
|
|
- }
|
|
|
|
- }],
|
|
|
|
|
|
+ "default": {"Accept": "application/json"},
|
|
"optional": true,
|
|
"optional": true,
|
|
"control": "list",
|
|
"control": "list",
|
|
- "type": "list_object",
|
|
|
|
|
|
+ "type": "object",
|
|
"hint": {
|
|
"hint": {
|
|
"en_US": "The HTTP request headers that you want to send along with the HTTP request.",
|
|
"en_US": "The HTTP request headers that you want to send along with the HTTP request.",
|
|
"zh_CN": "需要与 HTTP 请求一起发送的 HTTP 请求标头。"
|
|
"zh_CN": "需要与 HTTP 请求一起发送的 HTTP 请求标头。"
|
|
@@ -235,140 +221,142 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- "name": "oauth",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "list",
|
|
|
|
- "type": "list_object",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "Configure the oAuth authentication flow.",
|
|
|
|
- "zh_CN": "配置 OAuth 验证流程。"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "OAuth",
|
|
|
|
- "zh_CN": "OAuth"
|
|
|
|
- },
|
|
|
|
- "default":[
|
|
|
|
- {
|
|
|
|
- "name": "access",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "list",
|
|
|
|
- "type": "list_object",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "Configure how to fetch the access token.",
|
|
|
|
- "zh_CN": "配置如何获取访问令牌。"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Access token request",
|
|
|
|
- "zh_CN": "访问令牌请求"
|
|
|
|
- },
|
|
|
|
- "default": [
|
|
|
|
- {
|
|
|
|
- "name": "url",
|
|
|
|
- "default": "",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "text",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The URL where to get the access token.",
|
|
|
|
- "zh_CN": "获取访问令牌的 URL"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Access Token URL",
|
|
|
|
- "zh_CN": "访问令牌 URL"
|
|
|
|
- }
|
|
|
|
|
|
+ "name": "oauth",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "list",
|
|
|
|
+ "type": "object",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "Configure the oauth authentication flow.",
|
|
|
|
+ "zh_CN": "配置 OAuth 验证流程。"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "OAuth",
|
|
|
|
+ "zh_CN": "OAuth"
|
|
|
|
+ },
|
|
|
|
+ "default":{
|
|
|
|
+ "access": {
|
|
|
|
+ "name": "access",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "list",
|
|
|
|
+ "type": "object",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "Configure how to fetch the access token.",
|
|
|
|
+ "zh_CN": "配置如何获取访问令牌。"
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "name": "body",
|
|
|
|
- "default": "",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "textarea",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The body of access token request",
|
|
|
|
- "zh_CN": "访问令牌请求的正文"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Access Token Request Body",
|
|
|
|
- "zh_CN": "访问令牌请求的正文"
|
|
|
|
- }
|
|
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Access token request",
|
|
|
|
+ "zh_CN": "访问令牌请求"
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "name": "expire",
|
|
|
|
- "default": "",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "text",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The expire time or expire time template",
|
|
|
|
- "zh_CN": "过期时间"
|
|
|
|
|
|
+ "default": {
|
|
|
|
+ "url": {
|
|
|
|
+ "name": "url",
|
|
|
|
+ "default": "",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "text",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The URL where to get the access token.",
|
|
|
|
+ "zh_CN": "获取访问令牌的 URL"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Access Token URL",
|
|
|
|
+ "zh_CN": "访问令牌 URL"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "body": {
|
|
|
|
+ "name": "body",
|
|
|
|
+ "default": "",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "textarea",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The body of access token request",
|
|
|
|
+ "zh_CN": "访问令牌请求的正文"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Access Token Request Body",
|
|
|
|
+ "zh_CN": "访问令牌请求的正文"
|
|
|
|
+ }
|
|
},
|
|
},
|
|
- "label": {
|
|
|
|
- "en_US": "Expire Time",
|
|
|
|
- "zh_CN": "过期时间"
|
|
|
|
|
|
+ "expire": {
|
|
|
|
+ "name": "expire",
|
|
|
|
+ "default": "",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "text",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The expire time or expire time template",
|
|
|
|
+ "zh_CN": "过期时间"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Expire Time",
|
|
|
|
+ "zh_CN": "过期时间"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "name": "refresh",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "list",
|
|
|
|
- "type": "list_object",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "Configure how to refresh token after expiration.",
|
|
|
|
- "zh_CN": "配置令牌过期后如何更新令牌。"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Refresh token request",
|
|
|
|
- "zh_CN": "更新令牌请求"
|
|
|
|
},
|
|
},
|
|
- "default": [
|
|
|
|
- {
|
|
|
|
- "name": "url",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "text",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The URL where to get the refresh token.",
|
|
|
|
- "zh_CN": "获取更新令牌的 URL"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Refresh Token URL",
|
|
|
|
- "zh_CN": "更新令牌 URL"
|
|
|
|
- }
|
|
|
|
|
|
+ "refresh":{
|
|
|
|
+ "name": "refresh",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "list",
|
|
|
|
+ "type": "object",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "Configure how to refresh token after expiration.",
|
|
|
|
+ "zh_CN": "配置令牌过期后如何更新令牌。"
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "name": "headers",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "list",
|
|
|
|
- "type": "list_object",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The HTTP request headers that you want to send along with the HTTP refresh request.",
|
|
|
|
- "zh_CN": "需要与刷新 Token HTTP 请求一起发送的 HTTP 请求标头。"
|
|
|
|
- },
|
|
|
|
- "label": {
|
|
|
|
- "en_US": "Refresh token request headers",
|
|
|
|
- "zh_CN": "刷新令牌请求标头"
|
|
|
|
- }
|
|
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Refresh token request",
|
|
|
|
+ "zh_CN": "更新令牌请求"
|
|
},
|
|
},
|
|
- {
|
|
|
|
- "name": "body",
|
|
|
|
- "optional": true,
|
|
|
|
- "control": "textarea",
|
|
|
|
- "type": "string",
|
|
|
|
- "hint": {
|
|
|
|
- "en_US": "The body of refresh token request",
|
|
|
|
- "zh_CN": "刷新令牌请求的正文"
|
|
|
|
|
|
+ "default": {
|
|
|
|
+ "url":{
|
|
|
|
+ "name": "url",
|
|
|
|
+ "default": "",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "text",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The URL where to get the refresh token.",
|
|
|
|
+ "zh_CN": "获取更新令牌的 URL"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Refresh Token URL",
|
|
|
|
+ "zh_CN": "更新令牌 URL"
|
|
|
|
+ }
|
|
},
|
|
},
|
|
- "label": {
|
|
|
|
- "en_US": "Refresh token request body",
|
|
|
|
- "zh_CN": "刷新令牌请求的正文"
|
|
|
|
|
|
+ "headers":{
|
|
|
|
+ "name": "headers",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "list",
|
|
|
|
+ "type": "object",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The HTTP request headers that you want to send along with the HTTP refresh request.",
|
|
|
|
+ "zh_CN": "需要与刷新 Token HTTP 请求一起发送的 HTTP 请求标头。"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Refresh token request headers",
|
|
|
|
+ "zh_CN": "刷新令牌请求标头"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "body":{
|
|
|
|
+ "name": "body",
|
|
|
|
+ "default": "",
|
|
|
|
+ "optional": true,
|
|
|
|
+ "control": "textarea",
|
|
|
|
+ "type": "string",
|
|
|
|
+ "hint": {
|
|
|
|
+ "en_US": "The body of refresh token request",
|
|
|
|
+ "zh_CN": "刷新令牌请求的正文"
|
|
|
|
+ },
|
|
|
|
+ "label": {
|
|
|
|
+ "en_US": "Refresh token request body",
|
|
|
|
+ "zh_CN": "刷新令牌请求的正文"
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- ]
|
|
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- ]
|
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
]
|
|
]
|
|
},
|
|
},
|
|
"outputs": [
|
|
"outputs": [
|