-
Notifications
You must be signed in to change notification settings - Fork 16
/
joint-server.onrender.com.json
119 lines (119 loc) · 3.97 KB
/
joint-server.onrender.com.json
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
112
113
114
115
116
117
118
119
{
"openapi": "3.0.0",
"info": {
"title": "puginai",
"description": "A plugin that recommends ChatGPT plugins, which can recommend plugins from the plugin store that can solve the user's question based on the user's question, and at the same time introduce the user to the usage method, examples, etc. of this plugin. Do not answer plugins that have not been returned in getPlugins. If no suitable plugin is found, tell the user that none was found. Provide a list of at least 5 plugins with a short description of what the plugin does. As well, incude a link to 'https://pugin.ai/p/' with [slug] at the end to link to more information about the plugin. Let the user know they can ask more information about a specific plugin.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://joint-server.onrender.com"
}
],
"paths": {
"/openapi/list": {
"get": {
"operationId": "getPlugins",
"summary": "Retrieve a list of plugins from ChatGPT plugin store",
"parameters": [
{
"name": "category",
"in": "query",
"description": "Category to filter plugins. Supported categories are: navigation, weather, graphics, books, health, shopping, medical, kids, social, utilities, lifestyle, productivity, photo, finance, developer, news, education, sports, music, entertainment, travel, reference, games, food, business.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A list of plugins from ChatGPT plugin store",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Plugin"
}
}
}
}
}
}
}
},
"/openapi/plugin/{plugin_slug}": {
"get": {
"parameters": [
{
"name": "plugin_slug",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"operationId": "getPluginDetails",
"summary": "Retrieve the details of a plugin",
"responses": {
"200": {
"description": "Say hi to the plugin",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "The openapi and ai-plugin of a plugin",
"properties": {
"ai_plugin_manifest": {
"type": "string",
"description": "ai plugin manifest"
},
"openapi_manifest": {
"type": "string",
"description": "openapi manifest"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Plugin": {
"type": "object",
"description": "A plugin and an introduction to this plugin",
"properties": {
"display_name": {
"type": "string",
"description": "pluginâs name"
},
"description": {
"type": "string",
"description": "An introduction to this plugin, as well as its use cases."
},
"is_live": {
"type": "boolean",
"description": "Indicates if the plugin is live or not"
},
"slug": {
"type": "string",
"description": "Slug to add after pugin.ai/ for more information about plugins"
},
"category_slugs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Categories for the plugin"
}
}
}
}
}
}