-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
111 lines (111 loc) · 3.61 KB
/
config.json
File metadata and controls
111 lines (111 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "api-fetch",
"version": "1.0.0",
"display_name": "API Fetch Tester",
"description": "A sample integration demonstrating API calls with different authentication methods.",
"entry_point": "api_fetch.py",
"supports_billing": true,
"auth": {
"type": "custom",
"title": "API Authentication",
"fields": {
"type": "object",
"properties": {
"user_name": {
"type": "string",
"format": "text",
"label": "User name",
"help_text": "You'll get this from the API provider."
},
"password": {
"type": "string",
"format": "password",
"label": "Password",
"help_text": "You'll get this from the API provider."
},
"api_key": {
"type": "string",
"format": "password",
"label": "API Key",
"help_text": "You'll get this from the API provider."
}
},
"required": [
"user_name",
"password",
"api_key"
]
}
},
"actions": {
"call_api": {
"display_name": "Call API",
"description": "Call an API without authentication.",
"input_schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the API to call."
}
},
"required": ["url"]
},
"output_schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The data returned from the API call."
}
}
}
},
"call_api_un_pw": {
"display_name": "Call API (Basic Auth)",
"description": "Call an API with username/password authentication.",
"input_schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the API to call."
}
},
"required": ["url"]
},
"output_schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The data returned from the API call."
}
}
}
},
"call_api_header": {
"display_name": "Call API (Header Auth)",
"description": "Call an API with header-based authentication.",
"input_schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the API to call."
}
},
"required": ["url"]
},
"output_schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "The data returned from the API call."
}
}
}
}
}
}