ListApiPlugins
Lists API plugins.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ListApiPlugins |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID |
024f8cf0-c842-4c01-b74b-c8667e4579c7 |
| UuidsJson |
string |
No |
API plugin unique identifiers |
["d17d5bfa-4972-4389-9718-f9602edabe48"] |
| PageNumber |
integer |
Yes |
Page number |
1 |
| PageSize |
integer |
Yes |
Number of entries per page |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code |
200 |
| Code |
string |
API status code |
OK |
| Message |
string |
API prompt message |
Success |
| RequestId |
string |
Request ID |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates success |
true |
| ApiPlugins |
array<object> |
API plugin list |
|
|
object |
API plugin configuration |
||
| DraftedConfigJson |
string |
Draft configuration |
{ "description": "测试-2", "functionMeta": { "failoverRegionWeight": 0.5, "functionMetaId": "a9127136087e4172b31b8f400430d63b", "functionName": "yongyu-stream-2", "regionId": "cn-hangzhou" }, "inputParams": [{ "debugValue": "1112", "description": "测试", "name": "test", "required": false, "type": "String", "valueSource": "Var" }], "name": "测试插件01", "outputParams": [{ "description": "直接返回API结果,并作为提示词输入给模型", "name": "result", "type": "String" }], "timeout": 5, "transitionContent": "稍等,和您确认下信息。", "type": "Function" } |
| Status |
string |
Status.
Valid values:
|
Drafted |
| Type |
string |
Type Valid values:
|
Function |
| PublishedConfigJson |
string |
Published configuration |
{ "description": "发布-2", "functionMeta": { "failoverRegionWeight": 0.5, "functionMetaId": "c4af5815daaa485bb8118be6b2f14058", "functionName": "yongyu-stream-2", "regionId": "cn-hangzhou" }, "inputParams": [{ "debugValue": "111", "description": "发布", "name": "test", "required": false, "type": "String", "valueSource": "Var" }], "name": "发布插件", "outputParams": [{ "description": "直接返回API结果,并作为提示词输入给模型", "name": "result", "type": "String" }], "timeout": 5, "transitionContent": "稍等,和您确认下信息。", "type": "Function" } |
| Uuid |
string |
Unique plugin identifier |
e1a3c448-20cf-4586-8aa2-4cdca75f7c20 |
| Description |
string |
Description. |
这个插件是用来xxx..... |
| GmtCreate |
integer |
Creation time. |
1666230851000 |
| InstanceId |
string |
Instance ID |
7c0e5b5e-a839-4999-8301-2c7d07a1f16f |
| GmtModified |
integer |
Update time |
1641891940000 |
| Name |
string |
Plugin name |
这是一个插件 |
| PageSize |
integer |
Number of entries displayed per page |
10 |
| PageNumber |
integer |
Page number |
1 |
| TotalCount |
integer |
Total number of entries |
100 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"ApiPlugins": [
{
"DraftedConfigJson": "{\n\t\"description\": \"测试-2\",\n\t\"functionMeta\": {\n\t\t\"failoverRegionWeight\": 0.5,\n\t\t\"functionMetaId\": \"a9127136087e4172b31b8f400430d63b\",\n\t\t\"functionName\": \"yongyu-stream-2\",\n\t\t\"regionId\": \"cn-hangzhou\"\n\t},\n\t\"inputParams\": [{\n\t\t\"debugValue\": \"1112\",\n\t\t\"description\": \"测试\",\n\t\t\"name\": \"test\",\n\t\t\"required\": false,\n\t\t\"type\": \"String\",\n\t\t\"valueSource\": \"Var\"\n\t}],\n\t\"name\": \"测试插件01\",\n\t\"outputParams\": [{\n\t\t\"description\": \"直接返回API结果,并作为提示词输入给模型\",\n\t\t\"name\": \"result\",\n\t\t\"type\": \"String\"\n\t}],\n\t\"timeout\": 5,\n\t\"transitionContent\": \"稍等,和您确认下信息。\",\n\t\"type\": \"Function\"\n}",
"Status": "Drafted",
"Type": "Function",
"PublishedConfigJson": "{\n\t\"description\": \"发布-2\",\n\t\"functionMeta\": {\n\t\t\"failoverRegionWeight\": 0.5,\n\t\t\"functionMetaId\": \"c4af5815daaa485bb8118be6b2f14058\",\n\t\t\"functionName\": \"yongyu-stream-2\",\n\t\t\"regionId\": \"cn-hangzhou\"\n\t},\n\t\"inputParams\": [{\n\t\t\"debugValue\": \"111\",\n\t\t\"description\": \"发布\",\n\t\t\"name\": \"test\",\n\t\t\"required\": false,\n\t\t\"type\": \"String\",\n\t\t\"valueSource\": \"Var\"\n\t}],\n\t\"name\": \"发布插件\",\n\t\"outputParams\": [{\n\t\t\"description\": \"直接返回API结果,并作为提示词输入给模型\",\n\t\t\"name\": \"result\",\n\t\t\"type\": \"String\"\n\t}],\n\t\"timeout\": 5,\n\t\"transitionContent\": \"稍等,和您确认下信息。\",\n\t\"type\": \"Function\"\n}",
"Uuid": "e1a3c448-20cf-4586-8aa2-4cdca75f7c20",
"Description": "这个插件是用来xxx.....",
"GmtCreate": 1666230851000,
"InstanceId": "7c0e5b5e-a839-4999-8301-2c7d07a1f16f",
"GmtModified": 1641891940000,
"Name": "这是一个插件"
}
],
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.