This is page 2 of 3. Use http://codebase.md/noveum/api-market-mcp-server?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .dockerignore
├── .eslintrc.json
├── .gitignore
├── bin
│ └── mcp-server.js
├── build.js
├── CONTRIBUTING.md
├── Dockerfile
├── images
│ ├── example1.png
│ ├── example2.1.png
│ ├── example2.2.png
│ └── example3.png
├── INSTALL.md
├── LICENSE
├── mcp-specs.d.ts
├── modified_files.txt
├── package-lock.json
├── package.json
├── README.md
├── scripts
│ ├── inspect-watch.js
│ └── inspect.js
├── smithery.yaml
├── src
│ ├── APIMarketMCPServer.ts
│ ├── index.ts
│ ├── lib
│ │ ├── modified_brave-brave.json
│ │ ├── modified_bridgeml-codellama.json
│ │ ├── modified_bridgeml-mistralai.json
│ │ ├── modified_bridgeml-mistralai8x22.json
│ │ ├── modified_bridgeml-nsfw-detection.json
│ │ ├── modified_bridgeml-text-to-image.json
│ │ ├── modified_capix-faceswap.json
│ │ ├── modified_capix-free.json
│ │ ├── modified_capix-homegpt.json
│ │ ├── modified_capix-inpainting.json
│ │ ├── modified_capix-shortener.json
│ │ ├── modified_capix-story.json
│ │ ├── modified_magicapi-coder.json
│ │ ├── modified_magicapi-colorizer.json
│ │ ├── modified_magicapi-deblurer.json
│ │ ├── modified_magicapi-dnschecker.json
│ │ ├── modified_magicapi-domainchecker.json
│ │ ├── modified_magicapi-hair.json
│ │ ├── modified_magicapi-pdf-extract.json
│ │ ├── modified_magicapi-period.json
│ │ ├── modified_magicapi-screenshot-api.json
│ │ ├── modified_magicapi-whisper.json
│ │ ├── modified_magicapi-whois.json
│ │ ├── modified_pipfeed-parse.json
│ │ ├── modified_trueway-geocoding.json
│ │ ├── modified_trueway-matrix.json
│ │ ├── modified_trueway-places.json
│ │ └── modified_trueway-routing.json
│ └── utils.ts
├── tsconfig.json
└── utils
├── LLM_summary_shortener.py
├── manual_summary_shortener.py
└── modify_api.py
```
# Files
--------------------------------------------------------------------------------
/src/lib/modified_capix-story.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.1.0",
3 | "info": {
4 | "title": "Content Detector API",
5 | "version": "0.1.1"
6 | },
7 | "servers": [
8 | {
9 | "url": "http://api.magicapi.dev/api/v1/capix/story"
10 | }
11 | ],
12 | "paths": {
13 | "capix/story/generate/story/v1/": {
14 | "post": {
15 | "tags": [
16 | "StoryGenerator"
17 | ],
18 | "summary": "Story Generator",
19 | "operationId": "StoryGenerator",
20 | "requestBody": {
21 | "content": {
22 | "application/x-www-form-urlencoded": {
23 | "schema": {
24 | "type": "object",
25 | "properties": {
26 | "text": {
27 | "type": "string",
28 | "title": "Text",
29 | "default": "Story Topic: A Time-Travel Adventure\n\n\nSetting: The story is set in both the present day and the Victorian era. The present-day setting is a bustling modern city known for its technological advancements. The Victorian setting is characterized by cobblestone streets, gas-lit lamps, and the early stages of industrialization.\n\n\nMain Characters:\n\n\nAlex: A curious and adventurous software engineer from the present day who inadvertently discovers a time-travel device.\nEliza: A resourceful and intelligent Victorian-era inventor who dreams of changing the future.\nPlot Details:\n\n\nDiscovery of the Time Machine: Alex discovers an old, mysterious device in their attic, left behind by a forgotten ancestor. Experimenting with it, they accidentally activate it and are transported to the Victorian era.\nMeeting Eliza: Alex meets Eliza, who is fascinated by the time machine and Alex's futuristic knowledge. Together, they explore the possibilities of time travel.\nA Threat Emerges: A sinister figure from the Victorian era learns about the time machine and wants to use it for nefarious purposes, threatening both the past and the future.\nRace Against Time: Alex and Eliza must work together to safeguard the time machine and prevent the alteration of history. They face challenges in both eras, blending elements of Victorian society with futuristic technology.\nResolution: The story concludes with a thrilling confrontation, and a decision that affects both characters' destinies.\nThemes: The story explores themes of adventure, the ethics of time travel, the impact of technology on society, and the timeless nature of human curiosity and ambition."
30 | },
31 | "word_count": {
32 | "type": "integer",
33 | "title": "Word Count",
34 | "default": 1200
35 | },
36 | "mode": {
37 | "type": "string",
38 | "title": "Mode",
39 | "description": "`Standard`, `Creative`, `Complex`, `Simple`",
40 | "default": "Creative"
41 | }
42 | },
43 | "required": [
44 | "text",
45 | "mode",
46 | "word_count"
47 | ],
48 | "title": "Body"
49 | }
50 | }
51 | }
52 | },
53 | "responses": {
54 | "200": {
55 | "description": "Successful Response",
56 | "content": {
57 | "application/json": {
58 | "schema": {}
59 | }
60 | }
61 | },
62 | "400": {
63 | "content": {
64 | "application/json": {
65 | "schema": {
66 | "properties": {
67 | "message": {
68 | "type": "string",
69 | "title": "Message"
70 | }
71 | },
72 | "type": "object",
73 | "required": [
74 | "message"
75 | ],
76 | "title": "ValueError"
77 | }
78 | }
79 | },
80 | "description": "Bad Request"
81 | },
82 | "422": {
83 | "content": {
84 | "application/json": {
85 | "schema": {
86 | "properties": {
87 | "message": {
88 | "type": "string",
89 | "title": "Message",
90 | "default": "Invalid request data"
91 | }
92 | },
93 | "type": "object",
94 | "title": "ValidationError"
95 | }
96 | }
97 | },
98 | "description": "Unprocessable Entity"
99 | },
100 | "500": {
101 | "content": {
102 | "application/json": {
103 | "schema": {
104 | "properties": {
105 | "message": {
106 | "type": "string",
107 | "title": "Message",
108 | "default": "Internal Server Error"
109 | }
110 | },
111 | "type": "object",
112 | "title": "ServerError"
113 | }
114 | }
115 | },
116 | "description": "Internal Server Error"
117 | }
118 | }
119 | },
120 | "parameters": [
121 | {
122 | "description": "API.market API Key",
123 | "in": "header",
124 | "name": "x-magicapi-key",
125 | "value": "clp7flnx6000j3pifm3pinw92",
126 | "required": true,
127 | "schema": {
128 | "type": "string"
129 | }
130 | }
131 | ]
132 | }
133 | },
134 | "components": {
135 | "schemas": {
136 | "Body_BookTitleGenerator": {
137 | "properties": {
138 | "description": {
139 | "type": "string",
140 | "title": "Description",
141 | "default": "let us dive"
142 | },
143 | "mode": {
144 | "type": "string",
145 | "title": "Mode",
146 | "description": "`Standard`, `Creative`, `Formal`, `Simple`",
147 | "default": "Formal"
148 | }
149 | },
150 | "required": [
151 | "description",
152 | "mode"
153 | ],
154 | "type": "object",
155 | "title": "Body_BookTitleGenerator"
156 | },
157 | "Body_ContentDetectorAI": {
158 | "properties": {
159 | "content": {
160 | "type": "string",
161 | "title": "Content",
162 | "default": "ContentDetector.AI is an accurate and free AI Detector and AI Content Detector that can be used to detect any AI-generated content. It provides a probability score based on the likelihood that the text content was generated by AI tools or chatbots."
163 | }
164 | },
165 | "required": [
166 | "content"
167 | ],
168 | "type": "object",
169 | "title": "Body_ContentDetectorAI"
170 | },
171 | "Body_EssayGenerator": {
172 | "properties": {
173 | "description": {
174 | "type": "string",
175 | "title": "Description",
176 | "default": "Essay Topic: The Impact of Social Media on Human Communication\n\n\nKey Details and Questions:\n\n\nIntroduction: Introduce the topic by highlighting the ubiquity of social media in modern life. Pose the central question: Has social media enhanced or hindered human communication?\n\n\nHistorical Perspective:\n\n\nHow did people communicate before the advent of social media?\nWhat were the key stages in the evolution of social media platforms?\nPositive Impacts of Social Media:\n\n\nHow has social media facilitated global connectivity and understanding?\nDiscuss the role of social media in democratizing content creation and information sharing.\nNegative Impacts of Social Media:\n\n\nAnalyze the potential for misinformation and echo chambers.\nExplore the effects of social media on mental health and interpersonal relationships.\nSocial Media and Business:\n\n\nHow has social media transformed business marketing and customer engagement?\nDiscuss the rise of influencer culture and its implications.\nThe Future of Social Media:\n\n\nSpeculate on the future trends in social media.\nWhat role might emerging technologies like AI and VR play in the evolution of social media?\nConclusion:\n\n\nSummarize the main points.\nReflect on the balance between the benefits and drawbacks of social media.\nProvide a personal perspective or a call to action on how to use social media responsibly.\nThemes to Explore:\n\n\nThe role of technology in shaping human interaction.\nThe balance between virtual and real-life communication.\nEthical considerations in the age of digital media."
177 | },
178 | "word_count": {
179 | "type": "integer",
180 | "title": "Word Count",
181 | "default": 1200
182 | },
183 | "mode": {
184 | "type": "string",
185 | "title": "Mode",
186 | "description": "`Standard`, `Academic`, `Professional`, `Creative`, `Journalistic`",
187 | "default": "Standard"
188 | }
189 | },
190 | "required": [
191 | "description",
192 | "word_count",
193 | "mode"
194 | ],
195 | "type": "object",
196 | "title": "Body_EssayGenerator"
197 | },
198 | "Body_SentenceExpander": {
199 | "properties": {
200 | "sentence": {
201 | "type": "string",
202 | "title": "Sentence",
203 | "default": "Struggling with wordy sentences? Want to make your writing crisp and clear? We've got you covered! Introducing Sentence Shortener, the perfect free tool to help you cut down on those extra words. No more headaches over long, complicated sentences. With our AI, you can make your writing easy to read and understand - in just a few clicks!\n\n\n\n"
204 | },
205 | "word_count": {
206 | "type": "integer",
207 | "title": "Word Count",
208 | "default": 80
209 | }
210 | },
211 | "required": [
212 | "sentence",
213 | "word_count"
214 | ],
215 | "type": "object",
216 | "title": "Body_SentenceExpander"
217 | },
218 | "Body_SentenceShortener": {
219 | "properties": {
220 | "sentence": {
221 | "type": "string",
222 | "title": "Sentence",
223 | "default": "Struggling with wordy sentences? Want to make your writing crisp and clear? We've got you covered! Introducing Sentence Shortener, the perfect free tool to help you cut down on those extra words. No more headaches over long, complicated sentences. With our AI, you can make your writing easy to read and understand - in just a few clicks!\n\n\n\n"
224 | },
225 | "word_count": {
226 | "type": "integer",
227 | "title": "Word Count",
228 | "default": 50
229 | }
230 | },
231 | "required": [
232 | "sentence",
233 | "word_count"
234 | ],
235 | "type": "object",
236 | "title": "Body_SentenceShortener"
237 | },
238 | "Body_StoryGenerator": {
239 | "properties": {
240 | "text": {
241 | "type": "string",
242 | "title": "Text",
243 | "default": "Story Topic: A Time-Travel Adventure\n\n\nSetting: The story is set in both the present day and the Victorian era. The present-day setting is a bustling modern city known for its technological advancements. The Victorian setting is characterized by cobblestone streets, gas-lit lamps, and the early stages of industrialization.\n\n\nMain Characters:\n\n\nAlex: A curious and adventurous software engineer from the present day who inadvertently discovers a time-travel device.\nEliza: A resourceful and intelligent Victorian-era inventor who dreams of changing the future.\nPlot Details:\n\n\nDiscovery of the Time Machine: Alex discovers an old, mysterious device in their attic, left behind by a forgotten ancestor. Experimenting with it, they accidentally activate it and are transported to the Victorian era.\nMeeting Eliza: Alex meets Eliza, who is fascinated by the time machine and Alex's futuristic knowledge. Together, they explore the possibilities of time travel.\nA Threat Emerges: A sinister figure from the Victorian era learns about the time machine and wants to use it for nefarious purposes, threatening both the past and the future.\nRace Against Time: Alex and Eliza must work together to safeguard the time machine and prevent the alteration of history. They face challenges in both eras, blending elements of Victorian society with futuristic technology.\nResolution: The story concludes with a thrilling confrontation, and a decision that affects both characters' destinies.\nThemes: The story explores themes of adventure, the ethics of time travel, the impact of technology on society, and the timeless nature of human curiosity and ambition."
244 | },
245 | "word_count": {
246 | "type": "integer",
247 | "title": "Word Count",
248 | "default": 1200
249 | },
250 | "mode": {
251 | "type": "string",
252 | "title": "Mode",
253 | "description": "`Standard`, `Creative`, `Complex`, `Simple`",
254 | "default": "Creative"
255 | }
256 | },
257 | "required": [
258 | "text",
259 | "word_count",
260 | "mode"
261 | ],
262 | "type": "object",
263 | "title": "Body_StoryGenerator"
264 | },
265 | "ServerError": {
266 | "properties": {
267 | "message": {
268 | "type": "string",
269 | "title": "Message",
270 | "default": "Internal Server Error"
271 | }
272 | },
273 | "type": "object",
274 | "title": "ServerError"
275 | },
276 | "ValidationError": {
277 | "properties": {
278 | "message": {
279 | "type": "string",
280 | "title": "Message",
281 | "default": "Invalid request data"
282 | }
283 | },
284 | "type": "object",
285 | "title": "ValidationError"
286 | },
287 | "ValueError": {
288 | "properties": {
289 | "message": {
290 | "type": "string",
291 | "title": "Message"
292 | }
293 | },
294 | "type": "object",
295 | "required": [
296 | "message"
297 | ],
298 | "title": "ValueError"
299 | }
300 | }
301 | },
302 | "security": {},
303 | "tags": []
304 | }
```
--------------------------------------------------------------------------------
/src/lib/modified_brave-brave.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.0.1",
3 | "info": {
4 | "title": "Brave Search API",
5 | "description": "API for accessing various search functionalities in Brave Search",
6 | "version": "1.0.0"
7 | },
8 | "servers": [
9 | {
10 | "url": "http://api.magicapi.dev/api/v1/brave/brave"
11 | }
12 | ],
13 | "paths": {
14 | "brave/brave/videos/search": {
15 | "get": {
16 | "summary": "Search Videos",
17 | "description": "Retrieve video search results based on query parameters",
18 | "parameters": [
19 | {
20 | "name": "q",
21 | "in": "query",
22 | "required": true,
23 | "description": "Search query",
24 | "schema": {
25 | "type": "string"
26 | }
27 | },
28 | {
29 | "name": "count",
30 | "in": "query",
31 | "required": false,
32 | "description": "Number of results to return",
33 | "schema": {
34 | "type": "integer",
35 | "default": 10
36 | }
37 | },
38 | {
39 | "name": "country",
40 | "in": "query",
41 | "required": false,
42 | "description": "Country code",
43 | "schema": {
44 | "type": "string",
45 | "default": "us"
46 | }
47 | },
48 | {
49 | "name": "search_lang",
50 | "in": "query",
51 | "required": false,
52 | "description": "Search language",
53 | "schema": {
54 | "type": "string",
55 | "default": "en"
56 | }
57 | },
58 | {
59 | "name": "spellcheck",
60 | "in": "query",
61 | "required": false,
62 | "description": "Enable spellcheck",
63 | "schema": {
64 | "type": "boolean",
65 | "default": true
66 | }
67 | }
68 | ],
69 | "responses": {
70 | "200": {
71 | "description": "Successful video search results",
72 | "content": {
73 | "application/json": {
74 | "schema": {
75 | "type": "object",
76 | "properties": {
77 | "results": {
78 | "type": "array",
79 | "items": {
80 | "type": "object"
81 | }
82 | }
83 | }
84 | }
85 | }
86 | }
87 | },
88 | "400": {
89 | "description": "Bad Request"
90 | },
91 | "401": {
92 | "description": "Unauthorized"
93 | }
94 | },
95 | "security": [
96 | {
97 | "ApiKeyAuth": []
98 | }
99 | ]
100 | },
101 | "parameters": [
102 | {
103 | "description": "API.market API Key",
104 | "in": "header",
105 | "name": "x-magicapi-key",
106 | "value": "clp7flnx6000j3pifm3pinw92",
107 | "required": true,
108 | "schema": {
109 | "type": "string"
110 | }
111 | }
112 | ]
113 | },
114 | "brave/brave/web/search": {
115 | "get": {
116 | "summary": "Search Web",
117 | "description": "Retrieve web search results based on query parameters",
118 | "parameters": [
119 | {
120 | "name": "q",
121 | "in": "query",
122 | "required": true,
123 | "description": "Search query",
124 | "schema": {
125 | "type": "string"
126 | }
127 | }
128 | ],
129 | "responses": {
130 | "200": {
131 | "description": "Successful web search results",
132 | "content": {
133 | "application/json": {
134 | "schema": {
135 | "type": "object",
136 | "properties": {
137 | "results": {
138 | "type": "array",
139 | "items": {
140 | "type": "object"
141 | }
142 | }
143 | }
144 | }
145 | }
146 | }
147 | },
148 | "400": {
149 | "description": "Bad Request"
150 | },
151 | "401": {
152 | "description": "Unauthorized"
153 | }
154 | },
155 | "security": [
156 | {
157 | "ApiKeyAuth": []
158 | }
159 | ]
160 | },
161 | "parameters": [
162 | {
163 | "description": "API.market API Key",
164 | "in": "header",
165 | "name": "x-magicapi-key",
166 | "value": "clp7flnx6000j3pifm3pinw92",
167 | "required": true,
168 | "schema": {
169 | "type": "string"
170 | }
171 | }
172 | ]
173 | },
174 | "brave/brave/images/search": {
175 | "get": {
176 | "summary": "Search Images",
177 | "description": "Retrieve image search results based on query parameters",
178 | "parameters": [
179 | {
180 | "name": "q",
181 | "in": "query",
182 | "required": true,
183 | "description": "Search query",
184 | "schema": {
185 | "type": "string"
186 | }
187 | },
188 | {
189 | "name": "safesearch",
190 | "in": "query",
191 | "required": false,
192 | "description": "Safe search filter",
193 | "schema": {
194 | "type": "string",
195 | "default": "strict"
196 | }
197 | },
198 | {
199 | "name": "count",
200 | "in": "query",
201 | "required": false,
202 | "description": "Number of results to return",
203 | "schema": {
204 | "type": "integer",
205 | "default": 20
206 | }
207 | },
208 | {
209 | "name": "search_lang",
210 | "in": "query",
211 | "required": false,
212 | "description": "Search language",
213 | "schema": {
214 | "type": "string",
215 | "default": "en"
216 | }
217 | },
218 | {
219 | "name": "country",
220 | "in": "query",
221 | "required": false,
222 | "description": "Country code",
223 | "schema": {
224 | "type": "string",
225 | "default": "us"
226 | }
227 | },
228 | {
229 | "name": "spellcheck",
230 | "in": "query",
231 | "required": false,
232 | "description": "Enable spellcheck",
233 | "schema": {
234 | "type": "boolean",
235 | "default": true
236 | }
237 | }
238 | ],
239 | "responses": {
240 | "200": {
241 | "description": "Successful image search results",
242 | "content": {
243 | "application/json": {
244 | "schema": {
245 | "type": "object",
246 | "properties": {
247 | "results": {
248 | "type": "array",
249 | "items": {
250 | "type": "object"
251 | }
252 | }
253 | }
254 | }
255 | }
256 | }
257 | },
258 | "400": {
259 | "description": "Bad Request"
260 | },
261 | "401": {
262 | "description": "Unauthorized"
263 | }
264 | },
265 | "security": [
266 | {
267 | "ApiKeyAuth": []
268 | }
269 | ]
270 | },
271 | "parameters": [
272 | {
273 | "description": "API.market API Key",
274 | "in": "header",
275 | "name": "x-magicapi-key",
276 | "value": "clp7flnx6000j3pifm3pinw92",
277 | "required": true,
278 | "schema": {
279 | "type": "string"
280 | }
281 | }
282 | ]
283 | },
284 | "brave/brave/news/search": {
285 | "get": {
286 | "summary": "Search News",
287 | "description": "Retrieve news search results based on query parameters",
288 | "parameters": [
289 | {
290 | "name": "q",
291 | "in": "query",
292 | "required": true,
293 | "description": "Search query",
294 | "schema": {
295 | "type": "string"
296 | }
297 | },
298 | {
299 | "name": "count",
300 | "in": "query",
301 | "required": false,
302 | "description": "Number of results to return",
303 | "schema": {
304 | "type": "integer",
305 | "default": 10
306 | }
307 | },
308 | {
309 | "name": "country",
310 | "in": "query",
311 | "required": false,
312 | "description": "Country code",
313 | "schema": {
314 | "type": "string",
315 | "default": "us"
316 | }
317 | },
318 | {
319 | "name": "search_lang",
320 | "in": "query",
321 | "required": false,
322 | "description": "Search language",
323 | "schema": {
324 | "type": "string",
325 | "default": "en"
326 | }
327 | },
328 | {
329 | "name": "spellcheck",
330 | "in": "query",
331 | "required": false,
332 | "description": "Enable spellcheck",
333 | "schema": {
334 | "type": "boolean",
335 | "default": true
336 | }
337 | }
338 | ],
339 | "responses": {
340 | "200": {
341 | "description": "Successful news search results",
342 | "content": {
343 | "application/json": {
344 | "schema": {
345 | "type": "object",
346 | "properties": {
347 | "results": {
348 | "type": "array",
349 | "items": {
350 | "type": "object"
351 | }
352 | }
353 | }
354 | }
355 | }
356 | }
357 | },
358 | "400": {
359 | "description": "Bad Request"
360 | },
361 | "401": {
362 | "description": "Unauthorized"
363 | }
364 | },
365 | "security": [
366 | {
367 | "ApiKeyAuth": []
368 | }
369 | ]
370 | },
371 | "parameters": [
372 | {
373 | "description": "API.market API Key",
374 | "in": "header",
375 | "name": "x-magicapi-key",
376 | "value": "clp7flnx6000j3pifm3pinw92",
377 | "required": true,
378 | "schema": {
379 | "type": "string"
380 | }
381 | }
382 | ]
383 | },
384 | "brave/brave/suggest/search": {
385 | "get": {
386 | "summary": "Search Suggestions",
387 | "description": "Retrieve search suggestions based on query parameters",
388 | "parameters": [
389 | {
390 | "name": "q",
391 | "in": "query",
392 | "required": true,
393 | "description": "Search query",
394 | "schema": {
395 | "type": "string"
396 | }
397 | },
398 | {
399 | "name": "country",
400 | "in": "query",
401 | "required": false,
402 | "description": "Country code",
403 | "schema": {
404 | "type": "string",
405 | "default": "US"
406 | }
407 | },
408 | {
409 | "name": "count",
410 | "in": "query",
411 | "required": false,
412 | "description": "Number of suggestions to return",
413 | "schema": {
414 | "type": "integer",
415 | "default": 5
416 | }
417 | }
418 | ],
419 | "responses": {
420 | "200": {
421 | "description": "Successful search suggestions",
422 | "content": {
423 | "application/json": {
424 | "schema": {
425 | "type": "object",
426 | "properties": {
427 | "suggestions": {
428 | "type": "array",
429 | "items": {
430 | "type": "object"
431 | }
432 | }
433 | }
434 | }
435 | }
436 | }
437 | },
438 | "400": {
439 | "description": "Bad Request"
440 | },
441 | "401": {
442 | "description": "Unauthorized"
443 | }
444 | },
445 | "security": [
446 | {
447 | "ApiKeyAuth": []
448 | }
449 | ]
450 | },
451 | "parameters": [
452 | {
453 | "description": "API.market API Key",
454 | "in": "header",
455 | "name": "x-magicapi-key",
456 | "value": "clp7flnx6000j3pifm3pinw92",
457 | "required": true,
458 | "schema": {
459 | "type": "string"
460 | }
461 | }
462 | ]
463 | },
464 | "brave/brave/spellcheck/search": {
465 | "get": {
466 | "summary": "Spellcheck Search",
467 | "description": "Retrieve spellcheck suggestions based on query parameters",
468 | "parameters": [
469 | {
470 | "name": "q",
471 | "in": "query",
472 | "required": true,
473 | "description": "Search query",
474 | "schema": {
475 | "type": "string"
476 | }
477 | },
478 | {
479 | "name": "country",
480 | "in": "query",
481 | "required": false,
482 | "description": "Country code",
483 | "schema": {
484 | "type": "string",
485 | "default": "US"
486 | }
487 | }
488 | ],
489 | "responses": {
490 | "200": {
491 | "description": "Successful spellcheck suggestions",
492 | "content": {
493 | "application/json": {
494 | "schema": {
495 | "type": "object",
496 | "properties": {
497 | "spellcheck": {
498 | "type": "array",
499 | "items": {
500 | "type": "object"
501 | }
502 | }
503 | }
504 | }
505 | }
506 | }
507 | },
508 | "400": {
509 | "description": "Bad Request"
510 | },
511 | "401": {
512 | "description": "Unauthorized"
513 | }
514 | },
515 | "security": [
516 | {
517 | "ApiKeyAuth": []
518 | }
519 | ]
520 | },
521 | "parameters": [
522 | {
523 | "description": "API.market API Key",
524 | "in": "header",
525 | "name": "x-magicapi-key",
526 | "value": "clp7flnx6000j3pifm3pinw92",
527 | "required": true,
528 | "schema": {
529 | "type": "string"
530 | }
531 | }
532 | ]
533 | }
534 | },
535 | "components": {
536 | "securitySchemes": {}
537 | },
538 | "security": {},
539 | "tags": []
540 | }
```
--------------------------------------------------------------------------------
/src/lib/modified_capix-faceswap.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.1.0",
3 | "info": {
4 | "title": "FaceSwap API",
5 | "version": "0.1.1"
6 | },
7 | "servers": [
8 | {
9 | "url": "http://api.magicapi.dev/api/v1/capix/faceswap"
10 | }
11 | ],
12 | "paths": {
13 | "capix/faceswap/upload/": {
14 | "post": {
15 | "tags": [
16 | "Upload"
17 | ],
18 | "summary": "Upload",
19 | "operationId": "Upload",
20 | "requestBody": {
21 | "required": true,
22 | "content": {
23 | "multipart/form-data": {
24 | "schema": {
25 | "properties": {
26 | "file1": {
27 | "type": "string",
28 | "format": "binary",
29 | "title": "File1"
30 | }
31 | },
32 | "type": "object",
33 | "required": [
34 | "file1"
35 | ],
36 | "title": "Body_Upload"
37 | }
38 | }
39 | }
40 | },
41 | "responses": {
42 | "200": {
43 | "description": "Successful Response",
44 | "content": {
45 | "application/json": {
46 | "schema": {}
47 | }
48 | }
49 | },
50 | "400": {
51 | "content": {
52 | "application/json": {
53 | "schema": {
54 | "properties": {
55 | "message": {
56 | "type": "string",
57 | "title": "Message"
58 | }
59 | },
60 | "type": "object",
61 | "required": [
62 | "message"
63 | ],
64 | "title": "ValueError"
65 | }
66 | }
67 | },
68 | "description": "Bad Request"
69 | },
70 | "422": {
71 | "content": {
72 | "application/json": {
73 | "schema": {
74 | "properties": {
75 | "message": {
76 | "type": "string",
77 | "title": "Message",
78 | "default": "Invalid request data"
79 | }
80 | },
81 | "type": "object",
82 | "title": "ValidationError"
83 | }
84 | }
85 | },
86 | "description": "Unprocessable Entity"
87 | },
88 | "500": {
89 | "content": {
90 | "application/json": {
91 | "schema": {
92 | "properties": {
93 | "message": {
94 | "type": "string",
95 | "title": "Message",
96 | "default": "Internal Server Error"
97 | }
98 | },
99 | "type": "object",
100 | "title": "ServerError"
101 | }
102 | }
103 | },
104 | "description": "Internal Server Error"
105 | }
106 | }
107 | },
108 | "parameters": [
109 | {
110 | "description": "API.market API Key",
111 | "in": "header",
112 | "name": "x-magicapi-key",
113 | "value": "clp7flnx6000j3pifm3pinw92",
114 | "required": true,
115 | "schema": {
116 | "type": "string"
117 | }
118 | }
119 | ]
120 | },
121 | "capix/faceswap/faceswap/v1/image": {
122 | "post": {
123 | "tags": [
124 | "FaceSwap"
125 | ],
126 | "summary": "Face Swap Image",
127 | "operationId": "ImageFaceSwap",
128 | "requestBody": {
129 | "content": {
130 | "application/x-www-form-urlencoded": {
131 | "schema": {
132 | "type": "object",
133 | "properties": {
134 | "target_url": {
135 | "type": "string",
136 | "title": "Target Url",
137 | "description": "Require an image with a face",
138 | "default": "https://storage.ws.pho.to/s2/7aa4876bc1f50bc92fc54cb3c326181ac5bbf5ef_m.jpeg"
139 | },
140 | "swap_url": {
141 | "type": "string",
142 | "title": "Swap Url",
143 | "description": "Require an image with a face",
144 | "default": "https://storage.ws.pho.to/s2/818f3e408ee37c090cf23a3d12e15a08ada80ad9_m.jpeg"
145 | }
146 | },
147 | "required": [
148 | "swap_url",
149 | "target_url"
150 | ],
151 | "title": "Body"
152 | }
153 | }
154 | }
155 | },
156 | "responses": {
157 | "200": {
158 | "description": "Successful Response",
159 | "content": {
160 | "application/json": {
161 | "schema": {}
162 | }
163 | }
164 | },
165 | "400": {
166 | "content": {
167 | "application/json": {
168 | "schema": {
169 | "properties": {
170 | "message": {
171 | "type": "string",
172 | "title": "Message"
173 | }
174 | },
175 | "type": "object",
176 | "required": [
177 | "message"
178 | ],
179 | "title": "ValueError"
180 | }
181 | }
182 | },
183 | "description": "Bad Request"
184 | },
185 | "422": {
186 | "content": {
187 | "application/json": {
188 | "schema": {
189 | "properties": {
190 | "message": {
191 | "type": "string",
192 | "title": "Message",
193 | "default": "Invalid request data"
194 | }
195 | },
196 | "type": "object",
197 | "title": "ValidationError"
198 | }
199 | }
200 | },
201 | "description": "Unprocessable Entity"
202 | },
203 | "500": {
204 | "content": {
205 | "application/json": {
206 | "schema": {
207 | "properties": {
208 | "message": {
209 | "type": "string",
210 | "title": "Message",
211 | "default": "Internal Server Error"
212 | }
213 | },
214 | "type": "object",
215 | "title": "ServerError"
216 | }
217 | }
218 | },
219 | "description": "Internal Server Error"
220 | }
221 | }
222 | },
223 | "parameters": [
224 | {
225 | "description": "API.market API Key",
226 | "in": "header",
227 | "name": "x-magicapi-key",
228 | "value": "clp7flnx6000j3pifm3pinw92",
229 | "required": true,
230 | "schema": {
231 | "type": "string"
232 | }
233 | }
234 | ]
235 | },
236 | "capix/faceswap/faceswap/v1/video": {
237 | "post": {
238 | "tags": [
239 | "FaceSwap"
240 | ],
241 | "summary": "Face Swap Video",
242 | "operationId": "VideoFaceSwap",
243 | "requestBody": {
244 | "content": {
245 | "application/x-www-form-urlencoded": {
246 | "schema": {
247 | "type": "object",
248 | "properties": {
249 | "target_url": {
250 | "type": "string",
251 | "pattern": "^.*\\.mp4$",
252 | "title": "Target Url",
253 | "description": "Require only .mp4 video file url",
254 | "default": "https://storage.ws.pho.to/s2/7e2131eaef5e5cbb0d2c9eef7e2f19343b5a1292.mp4"
255 | },
256 | "swap_url": {
257 | "type": "string",
258 | "title": "Swap Url",
259 | "description": "Require an image with a face",
260 | "default": "https://storage.ws.pho.to/s2/818f3e408ee37c090cf23a3d12e15a08ada80ad9_m.jpeg"
261 | }
262 | },
263 | "required": [
264 | "swap_url",
265 | "target_url"
266 | ],
267 | "title": "Body"
268 | }
269 | }
270 | }
271 | },
272 | "responses": {
273 | "200": {
274 | "description": "Successful Response",
275 | "content": {
276 | "application/json": {
277 | "schema": {}
278 | }
279 | }
280 | },
281 | "400": {
282 | "content": {
283 | "application/json": {
284 | "schema": {
285 | "properties": {
286 | "message": {
287 | "type": "string",
288 | "title": "Message"
289 | }
290 | },
291 | "type": "object",
292 | "required": [
293 | "message"
294 | ],
295 | "title": "ValueError"
296 | }
297 | }
298 | },
299 | "description": "Bad Request"
300 | },
301 | "422": {
302 | "content": {
303 | "application/json": {
304 | "schema": {
305 | "properties": {
306 | "message": {
307 | "type": "string",
308 | "title": "Message",
309 | "default": "Invalid request data"
310 | }
311 | },
312 | "type": "object",
313 | "title": "ValidationError"
314 | }
315 | }
316 | },
317 | "description": "Unprocessable Entity"
318 | },
319 | "500": {
320 | "content": {
321 | "application/json": {
322 | "schema": {
323 | "properties": {
324 | "message": {
325 | "type": "string",
326 | "title": "Message",
327 | "default": "Internal Server Error"
328 | }
329 | },
330 | "type": "object",
331 | "title": "ServerError"
332 | }
333 | }
334 | },
335 | "description": "Internal Server Error"
336 | }
337 | }
338 | },
339 | "parameters": [
340 | {
341 | "description": "API.market API Key",
342 | "in": "header",
343 | "name": "x-magicapi-key",
344 | "value": "clp7flnx6000j3pifm3pinw92",
345 | "required": true,
346 | "schema": {
347 | "type": "string"
348 | }
349 | }
350 | ]
351 | },
352 | "capix/faceswap/result/": {
353 | "post": {
354 | "tags": [
355 | "Get Result"
356 | ],
357 | "summary": "Result",
358 | "operationId": "Result",
359 | "requestBody": {
360 | "required": true,
361 | "content": {
362 | "application/x-www-form-urlencoded": {
363 | "schema": {
364 | "properties": {
365 | "request_id": {
366 | "type": "string",
367 | "title": "Request Id"
368 | }
369 | },
370 | "type": "object",
371 | "required": [
372 | "request_id"
373 | ],
374 | "title": "Body_Result"
375 | }
376 | }
377 | }
378 | },
379 | "responses": {
380 | "200": {
381 | "description": "Successful Response",
382 | "content": {
383 | "application/json": {
384 | "schema": {}
385 | }
386 | }
387 | },
388 | "400": {
389 | "content": {
390 | "application/json": {
391 | "schema": {
392 | "properties": {
393 | "message": {
394 | "type": "string",
395 | "title": "Message"
396 | }
397 | },
398 | "type": "object",
399 | "required": [
400 | "message"
401 | ],
402 | "title": "ValueError"
403 | }
404 | }
405 | },
406 | "description": "Bad Request"
407 | },
408 | "422": {
409 | "content": {
410 | "application/json": {
411 | "schema": {
412 | "properties": {
413 | "message": {
414 | "type": "string",
415 | "title": "Message",
416 | "default": "Invalid request data"
417 | }
418 | },
419 | "type": "object",
420 | "title": "ValidationError"
421 | }
422 | }
423 | },
424 | "description": "Unprocessable Entity"
425 | },
426 | "500": {
427 | "content": {
428 | "application/json": {
429 | "schema": {
430 | "properties": {
431 | "message": {
432 | "type": "string",
433 | "title": "Message",
434 | "default": "Internal Server Error"
435 | }
436 | },
437 | "type": "object",
438 | "title": "ServerError"
439 | }
440 | }
441 | },
442 | "description": "Internal Server Error"
443 | }
444 | }
445 | },
446 | "parameters": [
447 | {
448 | "description": "API.market API Key",
449 | "in": "header",
450 | "name": "x-magicapi-key",
451 | "value": "clp7flnx6000j3pifm3pinw92",
452 | "required": true,
453 | "schema": {
454 | "type": "string"
455 | }
456 | }
457 | ]
458 | }
459 | },
460 | "components": {
461 | "schemas": {
462 | "Body_ImageFaceSwap": {
463 | "properties": {
464 | "target_url": {
465 | "type": "string",
466 | "title": "Target Url",
467 | "description": "Require an image with a face",
468 | "default": "https://storage.ws.pho.to/s2/7aa4876bc1f50bc92fc54cb3c326181ac5bbf5ef_m.jpeg"
469 | },
470 | "swap_url": {
471 | "type": "string",
472 | "title": "Swap Url",
473 | "description": "Require an image with a face",
474 | "default": "https://storage.ws.pho.to/s2/818f3e408ee37c090cf23a3d12e15a08ada80ad9_m.jpeg"
475 | }
476 | },
477 | "required": [
478 | "target_url",
479 | "swap_url"
480 | ],
481 | "type": "object",
482 | "title": "Body_ImageFaceSwap"
483 | },
484 | "Body_Result": {
485 | "properties": {
486 | "request_id": {
487 | "type": "string",
488 | "title": "Request Id"
489 | }
490 | },
491 | "type": "object",
492 | "required": [
493 | "request_id"
494 | ],
495 | "title": "Body_Result"
496 | },
497 | "Body_Upload": {
498 | "properties": {
499 | "file1": {
500 | "type": "string",
501 | "format": "binary",
502 | "title": "File1"
503 | }
504 | },
505 | "type": "object",
506 | "required": [
507 | "file1"
508 | ],
509 | "title": "Body_Upload"
510 | },
511 | "Body_VideoFaceSwap": {
512 | "properties": {
513 | "target_url": {
514 | "type": "string",
515 | "pattern": "^.*\\.mp4$",
516 | "title": "Target Url",
517 | "description": "Require only .mp4 video file url",
518 | "default": "https://storage.ws.pho.to/s2/7e2131eaef5e5cbb0d2c9eef7e2f19343b5a1292.mp4"
519 | },
520 | "swap_url": {
521 | "type": "string",
522 | "title": "Swap Url",
523 | "description": "Require an image with a face",
524 | "default": "https://storage.ws.pho.to/s2/818f3e408ee37c090cf23a3d12e15a08ada80ad9_m.jpeg"
525 | }
526 | },
527 | "required": [
528 | "target_url",
529 | "swap_url"
530 | ],
531 | "type": "object",
532 | "title": "Body_VideoFaceSwap"
533 | },
534 | "ServerError": {
535 | "properties": {
536 | "message": {
537 | "type": "string",
538 | "title": "Message",
539 | "default": "Internal Server Error"
540 | }
541 | },
542 | "type": "object",
543 | "title": "ServerError"
544 | },
545 | "ValidationError": {
546 | "properties": {
547 | "message": {
548 | "type": "string",
549 | "title": "Message",
550 | "default": "Invalid request data"
551 | }
552 | },
553 | "type": "object",
554 | "title": "ValidationError"
555 | },
556 | "ValueError": {
557 | "properties": {
558 | "message": {
559 | "type": "string",
560 | "title": "Message"
561 | }
562 | },
563 | "type": "object",
564 | "required": [
565 | "message"
566 | ],
567 | "title": "ValueError"
568 | }
569 | }
570 | },
571 | "security": {},
572 | "tags": []
573 | }
```
--------------------------------------------------------------------------------
/src/lib/modified_capix-homegpt.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.1.0",
3 | "info": {
4 | "title": "RoomGPT API",
5 | "version": "0.1.1"
6 | },
7 | "servers": [
8 | {
9 | "url": "http://api.magicapi.dev/api/v1/capix/homegpt"
10 | }
11 | ],
12 | "paths": {
13 | "capix/homegpt/home/v1/": {
14 | "post": {
15 | "tags": [
16 | "GPT Generative"
17 | ],
18 | "summary": "Homegpt",
19 | "operationId": "HomeGPT",
20 | "requestBody": {
21 | "content": {
22 | "application/x-www-form-urlencoded": {
23 | "schema": {
24 | "type": "object",
25 | "properties": {
26 | "image_url": {
27 | "type": "string",
28 | "title": "Image Url",
29 | "default": "https://telegra.ph/file/c6c8be08bfb1e27e558a1.png"
30 | },
31 | "theme": {
32 | "type": "string",
33 | "title": "Theme",
34 | "description": "Themes could be one of these: `Modern`, `Neutral`, `Monochromatic`, `Complementary`, `Cyberpunk`, `Analogous`, `Warm`, `Cool`, `Pastel`, `Black and white`, `Earthy`, `Vintage`, `Minimalist`, `Scandinavian`, `Bohemian`, `High-Contrast`, `Bright`, `Ocean-inspired`, `Rustic`, `Tropical`, `Bold`, `Jewel-toned`, `Art Deco`, `Mediterranean`, `Traditional`, `Beachy`, `Moody`, `Urban`, `Contemporary`, `Retro`, `Whimsical`, `Zen`, `Industrial`, `Biophilic`, `Farmhouse`, `Japanese Design`, `Coastal`, `Cottagecore`, `French Country`, `Maximalist`, `Art Nouveau`, `Baroque`, `Vaporwave`, `Ski Chalet`, `Sketch`, `Christmas`, `Tribal`, `Medieval`, `Chinese New Year`, `Halloween`, `Kelly Wearstler`, `Nate Berkus`, `Joanna Gaines`, `Martyn Lawrence Bullard`, `Philippe Starck`, `Emily Henderson`, `Miles Redd`, `Victoria Hagan`, `Tom Dixon`, `Timothy Corrigan`, `Axel Vervoordt`, `Kelly Hoppen`, `Ilse Crawford`, `India Mahdavi`, `David Collins`, `Thomas O'Brien`, `Jacques Garcia`, `Bunny Williams`, `Kelly Behun`, `Robert Couturier`",
35 | "default": "Modern"
36 | }
37 | },
38 | "required": [],
39 | "title": "Body"
40 | }
41 | }
42 | }
43 | },
44 | "responses": {
45 | "200": {
46 | "description": "Successful Response",
47 | "content": {
48 | "application/json": {
49 | "schema": {}
50 | }
51 | }
52 | },
53 | "400": {
54 | "content": {
55 | "application/json": {
56 | "schema": {
57 | "properties": {
58 | "message": {
59 | "type": "string",
60 | "title": "Message"
61 | }
62 | },
63 | "type": "object",
64 | "required": [
65 | "message"
66 | ],
67 | "title": "ValueError"
68 | }
69 | }
70 | },
71 | "description": "Bad Request"
72 | },
73 | "422": {
74 | "content": {
75 | "application/json": {
76 | "schema": {
77 | "properties": {
78 | "message": {
79 | "type": "string",
80 | "title": "Message",
81 | "default": "Invalid request data"
82 | }
83 | },
84 | "type": "object",
85 | "title": "ValidationError"
86 | }
87 | }
88 | },
89 | "description": "Unprocessable Entity"
90 | },
91 | "500": {
92 | "content": {
93 | "application/json": {
94 | "schema": {
95 | "properties": {
96 | "message": {
97 | "type": "string",
98 | "title": "Message",
99 | "default": "Internal Server Error"
100 | }
101 | },
102 | "type": "object",
103 | "title": "ServerError"
104 | }
105 | }
106 | },
107 | "description": "Internal Server Error"
108 | }
109 | }
110 | },
111 | "parameters": [
112 | {
113 | "description": "API.market API Key",
114 | "in": "header",
115 | "name": "x-magicapi-key",
116 | "value": "clp7flnx6000j3pifm3pinw92",
117 | "required": true,
118 | "schema": {
119 | "type": "string"
120 | }
121 | }
122 | ]
123 | },
124 | "capix/homegpt/room/v1/": {
125 | "post": {
126 | "tags": [
127 | "GPT Generative"
128 | ],
129 | "summary": "Roomgpt",
130 | "operationId": "RoomGPT",
131 | "requestBody": {
132 | "content": {
133 | "application/x-www-form-urlencoded": {
134 | "schema": {
135 | "type": "object",
136 | "properties": {
137 | "image_url": {
138 | "type": "string",
139 | "title": "Image Url",
140 | "default": "https://telegra.ph/file/c6c8be08bfb1e27e558a1.png"
141 | },
142 | "room": {
143 | "type": "string",
144 | "title": "Room",
145 | "description": "Room names could be one of these: `Living Room`, `Dining Room`, `Gaming Room`, `Bedroom`, `Bathroom`, `Office`, `Kitchen`, `Guest Room`, `Laundry Room`, `Home Theater`, `Playroom`, `Music Room`, `Exercise Room`, `Library`, `Sunroom`, `Mudroom`, `Attic`, `Basement`, `Pantry`, `Wine Cellar`, `Garage`, `Outdoor Living Space`, `Pool Room`, `Study Room`, `Home Office`, `House Exterior`, `Outdoor Pool Area`, `Outdoor Patio`, `Outdoor Garden`, `Meeting Room`, `Workshop`, `Fitness Gym`, `Coffee Shop`, `Clothing Store`, `Walk-in Closet`, `Toilet`, `Restaurant`, `Coworking Space`, `Hotel Lobby`, `Hotel Room`, `Hotel Bathroom`, `Exhibition Space`, `Onsen`, `Drop Zone`",
146 | "default": "Living room"
147 | },
148 | "theme": {
149 | "type": "string",
150 | "title": "Theme",
151 | "description": "Themes could be one of these: `Modern`, `Neutral`, `Monochromatic`, `Complementary`, `Cyberpunk`, `Analogous`, `Warm`, `Cool`, `Pastel`, `Black and white`, `Earthy`, `Vintage`, `Minimalist`, `Scandinavian`, `Bohemian`, `High-Contrast`, `Bright`, `Ocean-inspired`, `Rustic`, `Tropical`, `Bold`, `Jewel-toned`, `Art Deco`, `Mediterranean`, `Traditional`, `Beachy`, `Moody`, `Urban`, `Contemporary`, `Retro`, `Whimsical`, `Zen`, `Industrial`, `Biophilic`, `Farmhouse`, `Japanese Design`, `Coastal`, `Cottagecore`, `French Country`, `Maximalist`, `Art Nouveau`, `Baroque`, `Vaporwave`, `Ski Chalet`, `Sketch`, `Christmas`, `Tribal`, `Medieval`, `Chinese New Year`, `Halloween`, `Kelly Wearstler`, `Nate Berkus`, `Joanna Gaines`, `Martyn Lawrence Bullard`, `Philippe Starck`, `Emily Henderson`, `Miles Redd`, `Victoria Hagan`, `Tom Dixon`, `Timothy Corrigan`, `Axel Vervoordt`, `Kelly Hoppen`, `Ilse Crawford`, `India Mahdavi`, `David Collins`, `Thomas O'Brien`, `Jacques Garcia`, `Bunny Williams`, `Kelly Behun`, `Robert Couturier`",
152 | "default": "Modern"
153 | }
154 | },
155 | "required": [],
156 | "title": "Body"
157 | }
158 | }
159 | }
160 | },
161 | "responses": {
162 | "202": {
163 | "description": "Successful Response",
164 | "content": {
165 | "application/json": {
166 | "schema": {}
167 | }
168 | }
169 | },
170 | "400": {
171 | "content": {
172 | "application/json": {
173 | "schema": {
174 | "properties": {
175 | "message": {
176 | "type": "string",
177 | "title": "Message"
178 | }
179 | },
180 | "type": "object",
181 | "required": [
182 | "message"
183 | ],
184 | "title": "ValueError"
185 | }
186 | }
187 | },
188 | "description": "Bad Request"
189 | },
190 | "422": {
191 | "content": {
192 | "application/json": {
193 | "schema": {
194 | "properties": {
195 | "message": {
196 | "type": "string",
197 | "title": "Message",
198 | "default": "Invalid request data"
199 | }
200 | },
201 | "type": "object",
202 | "title": "ValidationError"
203 | }
204 | }
205 | },
206 | "description": "Unprocessable Entity"
207 | },
208 | "500": {
209 | "content": {
210 | "application/json": {
211 | "schema": {
212 | "properties": {
213 | "message": {
214 | "type": "string",
215 | "title": "Message",
216 | "default": "Internal Server Error"
217 | }
218 | },
219 | "type": "object",
220 | "title": "ServerError"
221 | }
222 | }
223 | },
224 | "description": "Internal Server Error"
225 | }
226 | }
227 | },
228 | "parameters": [
229 | {
230 | "description": "API.market API Key",
231 | "in": "header",
232 | "name": "x-magicapi-key",
233 | "value": "clp7flnx6000j3pifm3pinw92",
234 | "required": true,
235 | "schema": {
236 | "type": "string"
237 | }
238 | }
239 | ]
240 | },
241 | "capix/homegpt/result/": {
242 | "post": {
243 | "tags": [
244 | "Get Result"
245 | ],
246 | "summary": "Homegpt",
247 | "operationId": "Result",
248 | "requestBody": {
249 | "required": true,
250 | "content": {
251 | "application/x-www-form-urlencoded": {
252 | "schema": {
253 | "properties": {
254 | "request_id": {
255 | "type": "string",
256 | "title": "Request Id"
257 | }
258 | },
259 | "type": "object",
260 | "required": [
261 | "request_id"
262 | ],
263 | "title": "Body_Result"
264 | }
265 | }
266 | }
267 | },
268 | "responses": {
269 | "200": {
270 | "description": "Successful Response",
271 | "content": {
272 | "application/json": {
273 | "schema": {}
274 | }
275 | }
276 | },
277 | "400": {
278 | "content": {
279 | "application/json": {
280 | "schema": {
281 | "properties": {
282 | "message": {
283 | "type": "string",
284 | "title": "Message"
285 | }
286 | },
287 | "type": "object",
288 | "required": [
289 | "message"
290 | ],
291 | "title": "ValueError"
292 | }
293 | }
294 | },
295 | "description": "Bad Request"
296 | },
297 | "422": {
298 | "content": {
299 | "application/json": {
300 | "schema": {
301 | "properties": {
302 | "message": {
303 | "type": "string",
304 | "title": "Message",
305 | "default": "Invalid request data"
306 | }
307 | },
308 | "type": "object",
309 | "title": "ValidationError"
310 | }
311 | }
312 | },
313 | "description": "Unprocessable Entity"
314 | },
315 | "500": {
316 | "content": {
317 | "application/json": {
318 | "schema": {
319 | "properties": {
320 | "message": {
321 | "type": "string",
322 | "title": "Message",
323 | "default": "Internal Server Error"
324 | }
325 | },
326 | "type": "object",
327 | "title": "ServerError"
328 | }
329 | }
330 | },
331 | "description": "Internal Server Error"
332 | }
333 | }
334 | },
335 | "parameters": [
336 | {
337 | "description": "API.market API Key",
338 | "in": "header",
339 | "name": "x-magicapi-key",
340 | "value": "clp7flnx6000j3pifm3pinw92",
341 | "required": true,
342 | "schema": {
343 | "type": "string"
344 | }
345 | }
346 | ]
347 | }
348 | },
349 | "components": {
350 | "schemas": {
351 | "Body_HomeGPT": {
352 | "properties": {
353 | "image_url": {
354 | "type": "string",
355 | "title": "Image Url",
356 | "default": "https://telegra.ph/file/c6c8be08bfb1e27e558a1.png"
357 | },
358 | "theme": {
359 | "type": "string",
360 | "title": "Theme",
361 | "description": "Themes could be one of these: `Modern`, `Neutral`, `Monochromatic`, `Complementary`, `Cyberpunk`, `Analogous`, `Warm`, `Cool`, `Pastel`, `Black and white`, `Earthy`, `Vintage`, `Minimalist`, `Scandinavian`, `Bohemian`, `High-Contrast`, `Bright`, `Ocean-inspired`, `Rustic`, `Tropical`, `Bold`, `Jewel-toned`, `Art Deco`, `Mediterranean`, `Traditional`, `Beachy`, `Moody`, `Urban`, `Contemporary`, `Retro`, `Whimsical`, `Zen`, `Industrial`, `Biophilic`, `Farmhouse`, `Japanese Design`, `Coastal`, `Cottagecore`, `French Country`, `Maximalist`, `Art Nouveau`, `Baroque`, `Vaporwave`, `Ski Chalet`, `Sketch`, `Christmas`, `Tribal`, `Medieval`, `Chinese New Year`, `Halloween`, `Kelly Wearstler`, `Nate Berkus`, `Joanna Gaines`, `Martyn Lawrence Bullard`, `Philippe Starck`, `Emily Henderson`, `Miles Redd`, `Victoria Hagan`, `Tom Dixon`, `Timothy Corrigan`, `Axel Vervoordt`, `Kelly Hoppen`, `Ilse Crawford`, `India Mahdavi`, `David Collins`, `Thomas O'Brien`, `Jacques Garcia`, `Bunny Williams`, `Kelly Behun`, `Robert Couturier`",
362 | "default": "Modern"
363 | }
364 | },
365 | "type": "object",
366 | "title": "Body_HomeGPT"
367 | },
368 | "Body_Result": {
369 | "properties": {
370 | "request_id": {
371 | "type": "string",
372 | "title": "Request Id"
373 | }
374 | },
375 | "type": "object",
376 | "required": [
377 | "request_id"
378 | ],
379 | "title": "Body_Result"
380 | },
381 | "Body_RoomGPT": {
382 | "properties": {
383 | "image_url": {
384 | "type": "string",
385 | "title": "Image Url",
386 | "default": "https://telegra.ph/file/c6c8be08bfb1e27e558a1.png"
387 | },
388 | "room": {
389 | "type": "string",
390 | "title": "Room",
391 | "description": "Room names could be one of these: `Living Room`, `Dining Room`, `Gaming Room`, `Bedroom`, `Bathroom`, `Office`, `Kitchen`, `Guest Room`, `Laundry Room`, `Home Theater`, `Playroom`, `Music Room`, `Exercise Room`, `Library`, `Sunroom`, `Mudroom`, `Attic`, `Basement`, `Pantry`, `Wine Cellar`, `Garage`, `Outdoor Living Space`, `Pool Room`, `Study Room`, `Home Office`, `House Exterior`, `Outdoor Pool Area`, `Outdoor Patio`, `Outdoor Garden`, `Meeting Room`, `Workshop`, `Fitness Gym`, `Coffee Shop`, `Clothing Store`, `Walk-in Closet`, `Toilet`, `Restaurant`, `Coworking Space`, `Hotel Lobby`, `Hotel Room`, `Hotel Bathroom`, `Exhibition Space`, `Onsen`, `Drop Zone`",
392 | "default": "Living room"
393 | },
394 | "theme": {
395 | "type": "string",
396 | "title": "Theme",
397 | "description": "Themes could be one of these: `Modern`, `Neutral`, `Monochromatic`, `Complementary`, `Cyberpunk`, `Analogous`, `Warm`, `Cool`, `Pastel`, `Black and white`, `Earthy`, `Vintage`, `Minimalist`, `Scandinavian`, `Bohemian`, `High-Contrast`, `Bright`, `Ocean-inspired`, `Rustic`, `Tropical`, `Bold`, `Jewel-toned`, `Art Deco`, `Mediterranean`, `Traditional`, `Beachy`, `Moody`, `Urban`, `Contemporary`, `Retro`, `Whimsical`, `Zen`, `Industrial`, `Biophilic`, `Farmhouse`, `Japanese Design`, `Coastal`, `Cottagecore`, `French Country`, `Maximalist`, `Art Nouveau`, `Baroque`, `Vaporwave`, `Ski Chalet`, `Sketch`, `Christmas`, `Tribal`, `Medieval`, `Chinese New Year`, `Halloween`, `Kelly Wearstler`, `Nate Berkus`, `Joanna Gaines`, `Martyn Lawrence Bullard`, `Philippe Starck`, `Emily Henderson`, `Miles Redd`, `Victoria Hagan`, `Tom Dixon`, `Timothy Corrigan`, `Axel Vervoordt`, `Kelly Hoppen`, `Ilse Crawford`, `India Mahdavi`, `David Collins`, `Thomas O'Brien`, `Jacques Garcia`, `Bunny Williams`, `Kelly Behun`, `Robert Couturier`",
398 | "default": "Modern"
399 | }
400 | },
401 | "type": "object",
402 | "title": "Body_RoomGPT"
403 | },
404 | "ServerError": {
405 | "properties": {
406 | "message": {
407 | "type": "string",
408 | "title": "Message",
409 | "default": "Internal Server Error"
410 | }
411 | },
412 | "type": "object",
413 | "title": "ServerError"
414 | },
415 | "ValidationError": {
416 | "properties": {
417 | "message": {
418 | "type": "string",
419 | "title": "Message",
420 | "default": "Invalid request data"
421 | }
422 | },
423 | "type": "object",
424 | "title": "ValidationError"
425 | },
426 | "ValueError": {
427 | "properties": {
428 | "message": {
429 | "type": "string",
430 | "title": "Message"
431 | }
432 | },
433 | "type": "object",
434 | "required": [
435 | "message"
436 | ],
437 | "title": "ValueError"
438 | }
439 | }
440 | },
441 | "security": {},
442 | "tags": []
443 | }
```
--------------------------------------------------------------------------------
/src/lib/modified_trueway-places.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.0.1",
3 | "info": {
4 | "title": "TrueWay Places API V1",
5 | "description": "Search for places with details information",
6 | "contact": {
7 | "name": "TrueWay Team",
8 | "url": "https://truewayapi.com/",
9 | "email": "[email protected]"
10 | },
11 | "version": "v1"
12 | },
13 | "servers": [
14 | {
15 | "url": "http://api.magicapi.dev/api/v1/trueway/places"
16 | }
17 | ],
18 | "paths": {
19 | "trueway/places/PlacesService/FindPlaceByText": {
20 | "get": {
21 | "tags": [
22 | "PlacesService"
23 | ],
24 | "summary": "Search for places by text",
25 | "description": "Search for places by text string",
26 | "parameters": [
27 | {
28 | "name": "text",
29 | "in": "query",
30 | "description": "A text string on which to search",
31 | "required": true,
32 | "schema": {
33 | "type": "string"
34 | },
35 | "example": "Children's Creativity Museum"
36 | },
37 | {
38 | "name": "language",
39 | "in": "query",
40 | "description": "The two-letter language code in which to return results (ISO 639-1)",
41 | "schema": {
42 | "type": "string"
43 | },
44 | "example": "en"
45 | },
46 | {
47 | "name": "bounds",
48 | "in": "query",
49 | "description": "The bounding box for results preference. Format: south,west,north,east. Coordinates: decimal degrees.",
50 | "schema": {
51 | "type": "string"
52 | },
53 | "example": "-90.0,-180.0,90.0,180.0"
54 | }
55 | ],
56 | "responses": {
57 | "200": {
58 | "description": "Success",
59 | "content": {
60 | "application/json": {
61 | "schema": {
62 | "required": [
63 | "results"
64 | ],
65 | "type": "object",
66 | "properties": {
67 | "results": {
68 | "type": "array",
69 | "items": {
70 | "required": [
71 | "id",
72 | "location"
73 | ],
74 | "type": "object",
75 | "properties": {
76 | "id": {
77 | "maxLength": 32,
78 | "minLength": 32,
79 | "type": "string",
80 | "description": "Unique place identifier"
81 | },
82 | "name": {
83 | "type": "string",
84 | "description": "Name of place",
85 | "nullable": true
86 | },
87 | "address": {
88 | "type": "string",
89 | "description": "Street address",
90 | "nullable": true
91 | },
92 | "phone_number": {
93 | "type": "string",
94 | "description": "Phone number",
95 | "nullable": true
96 | },
97 | "website": {
98 | "type": "string",
99 | "description": "Place website",
100 | "nullable": true
101 | },
102 | "location": {
103 | "type": "object",
104 | "properties": {
105 | "lat": {
106 | "type": "number",
107 | "format": "double"
108 | },
109 | "lng": {
110 | "type": "number",
111 | "format": "double"
112 | }
113 | },
114 | "additionalProperties": false
115 | },
116 | "types": {
117 | "type": "array",
118 | "items": {
119 | "type": "string"
120 | },
121 | "description": "Place types",
122 | "nullable": true
123 | },
124 | "distance": {
125 | "type": "integer",
126 | "description": "Distance to the place (meters). For nearby search only.",
127 | "format": "int32",
128 | "nullable": true
129 | }
130 | },
131 | "additionalProperties": false
132 | },
133 | "description": "Searching results array"
134 | }
135 | },
136 | "additionalProperties": false
137 | }
138 | }
139 | }
140 | },
141 | "400": {
142 | "description": "Bad Request",
143 | "content": {
144 | "application/json": {
145 | "schema": {
146 | "required": [
147 | "error"
148 | ],
149 | "type": "object",
150 | "properties": {
151 | "error": {
152 | "type": "string"
153 | },
154 | "message": {
155 | "type": "string",
156 | "nullable": true
157 | }
158 | },
159 | "additionalProperties": false
160 | }
161 | }
162 | }
163 | },
164 | "500": {
165 | "description": "Server Error",
166 | "content": {
167 | "application/json": {
168 | "schema": {
169 | "required": [
170 | "error"
171 | ],
172 | "type": "object",
173 | "properties": {
174 | "error": {
175 | "type": "string"
176 | },
177 | "message": {
178 | "type": "string",
179 | "nullable": true
180 | }
181 | },
182 | "additionalProperties": false
183 | }
184 | }
185 | }
186 | }
187 | }
188 | },
189 | "parameters": [
190 | {
191 | "description": "API.market API Key",
192 | "in": "header",
193 | "name": "x-magicapi-key",
194 | "value": "clp7flnx6000j3pifm3pinw92",
195 | "required": true,
196 | "schema": {
197 | "type": "string"
198 | }
199 | }
200 | ]
201 | },
202 | "trueway/places/PlacesService/FindPlacesNearby": {
203 | "get": {
204 | "tags": [
205 | "PlacesService"
206 | ],
207 | "summary": "Search for nearby places",
208 | "description": "Search for places around location within a specified radius.",
209 | "parameters": [
210 | {
211 | "name": "location",
212 | "in": "query",
213 | "description": "The latitude/longitude around which to retrieve places",
214 | "required": true,
215 | "schema": {
216 | "type": "string"
217 | },
218 | "example": "37.783366,-122.402325"
219 | },
220 | {
221 | "name": "radius",
222 | "in": "query",
223 | "description": "The distance (in meters) within which to return results. Max = 10000 m.",
224 | "schema": {
225 | "type": "integer",
226 | "format": "int32",
227 | "default": 10000
228 | },
229 | "example": 180
230 | },
231 | {
232 | "name": "type",
233 | "in": "query",
234 | "description": "The type of places that are returned",
235 | "schema": {
236 | "type": "string"
237 | },
238 | "example": "cafe"
239 | },
240 | {
241 | "name": "language",
242 | "in": "query",
243 | "description": "The two-letter language code in which to return results (ISO 639-1)",
244 | "schema": {
245 | "type": "string"
246 | },
247 | "example": "en"
248 | }
249 | ],
250 | "responses": {
251 | "200": {
252 | "description": "Success",
253 | "content": {
254 | "application/json": {
255 | "schema": {
256 | "required": [
257 | "results"
258 | ],
259 | "type": "object",
260 | "properties": {
261 | "results": {
262 | "type": "array",
263 | "items": {
264 | "required": [
265 | "id",
266 | "location"
267 | ],
268 | "type": "object",
269 | "properties": {
270 | "id": {
271 | "maxLength": 32,
272 | "minLength": 32,
273 | "type": "string",
274 | "description": "Unique place identifier"
275 | },
276 | "name": {
277 | "type": "string",
278 | "description": "Name of place",
279 | "nullable": true
280 | },
281 | "address": {
282 | "type": "string",
283 | "description": "Street address",
284 | "nullable": true
285 | },
286 | "phone_number": {
287 | "type": "string",
288 | "description": "Phone number",
289 | "nullable": true
290 | },
291 | "website": {
292 | "type": "string",
293 | "description": "Place website",
294 | "nullable": true
295 | },
296 | "location": {
297 | "type": "object",
298 | "properties": {
299 | "lat": {
300 | "type": "number",
301 | "format": "double"
302 | },
303 | "lng": {
304 | "type": "number",
305 | "format": "double"
306 | }
307 | },
308 | "additionalProperties": false
309 | },
310 | "types": {
311 | "type": "array",
312 | "items": {
313 | "type": "string"
314 | },
315 | "description": "Place types",
316 | "nullable": true
317 | },
318 | "distance": {
319 | "type": "integer",
320 | "description": "Distance to the place (meters). For nearby search only.",
321 | "format": "int32",
322 | "nullable": true
323 | }
324 | },
325 | "additionalProperties": false
326 | },
327 | "description": "Searching results array"
328 | }
329 | },
330 | "additionalProperties": false
331 | }
332 | }
333 | }
334 | },
335 | "400": {
336 | "description": "Bad Request",
337 | "content": {
338 | "application/json": {
339 | "schema": {
340 | "required": [
341 | "error"
342 | ],
343 | "type": "object",
344 | "properties": {
345 | "error": {
346 | "type": "string"
347 | },
348 | "message": {
349 | "type": "string",
350 | "nullable": true
351 | }
352 | },
353 | "additionalProperties": false
354 | }
355 | }
356 | }
357 | },
358 | "500": {
359 | "description": "Server Error",
360 | "content": {
361 | "application/json": {
362 | "schema": {
363 | "required": [
364 | "error"
365 | ],
366 | "type": "object",
367 | "properties": {
368 | "error": {
369 | "type": "string"
370 | },
371 | "message": {
372 | "type": "string",
373 | "nullable": true
374 | }
375 | },
376 | "additionalProperties": false
377 | }
378 | }
379 | }
380 | }
381 | }
382 | },
383 | "parameters": [
384 | {
385 | "description": "API.market API Key",
386 | "in": "header",
387 | "name": "x-magicapi-key",
388 | "value": "clp7flnx6000j3pifm3pinw92",
389 | "required": true,
390 | "schema": {
391 | "type": "string"
392 | }
393 | }
394 | ]
395 | }
396 | },
397 | "components": {
398 | "schemas": {
399 | "FaultResponse": {
400 | "required": [
401 | "error"
402 | ],
403 | "type": "object",
404 | "properties": {
405 | "error": {
406 | "type": "string"
407 | },
408 | "message": {
409 | "type": "string",
410 | "nullable": true
411 | }
412 | },
413 | "additionalProperties": false
414 | },
415 | "Location": {
416 | "type": "object",
417 | "properties": {
418 | "lat": {
419 | "type": "number",
420 | "format": "double"
421 | },
422 | "lng": {
423 | "type": "number",
424 | "format": "double"
425 | }
426 | },
427 | "additionalProperties": false
428 | },
429 | "Place": {
430 | "required": [
431 | "id",
432 | "location"
433 | ],
434 | "type": "object",
435 | "properties": {
436 | "id": {
437 | "maxLength": 32,
438 | "minLength": 32,
439 | "type": "string",
440 | "description": "Unique place identifier"
441 | },
442 | "name": {
443 | "type": "string",
444 | "description": "Name of place",
445 | "nullable": true
446 | },
447 | "address": {
448 | "type": "string",
449 | "description": "Street address",
450 | "nullable": true
451 | },
452 | "phone_number": {
453 | "type": "string",
454 | "description": "Phone number",
455 | "nullable": true
456 | },
457 | "website": {
458 | "type": "string",
459 | "description": "Place website",
460 | "nullable": true
461 | },
462 | "location": {
463 | "type": "object",
464 | "properties": {
465 | "lat": {
466 | "type": "number",
467 | "format": "double"
468 | },
469 | "lng": {
470 | "type": "number",
471 | "format": "double"
472 | }
473 | },
474 | "additionalProperties": false
475 | },
476 | "types": {
477 | "type": "array",
478 | "items": {
479 | "type": "string"
480 | },
481 | "description": "Place types",
482 | "nullable": true
483 | },
484 | "distance": {
485 | "type": "integer",
486 | "description": "Distance to the place (meters). For nearby search only.",
487 | "format": "int32",
488 | "nullable": true
489 | }
490 | },
491 | "additionalProperties": false
492 | },
493 | "PlacesResponse": {
494 | "required": [
495 | "results"
496 | ],
497 | "type": "object",
498 | "properties": {
499 | "results": {
500 | "type": "array",
501 | "items": {
502 | "required": [
503 | "id",
504 | "location"
505 | ],
506 | "type": "object",
507 | "properties": {
508 | "id": {
509 | "maxLength": 32,
510 | "minLength": 32,
511 | "type": "string",
512 | "description": "Unique place identifier"
513 | },
514 | "name": {
515 | "type": "string",
516 | "description": "Name of place",
517 | "nullable": true
518 | },
519 | "address": {
520 | "type": "string",
521 | "description": "Street address",
522 | "nullable": true
523 | },
524 | "phone_number": {
525 | "type": "string",
526 | "description": "Phone number",
527 | "nullable": true
528 | },
529 | "website": {
530 | "type": "string",
531 | "description": "Place website",
532 | "nullable": true
533 | },
534 | "location": {
535 | "type": "object",
536 | "properties": {
537 | "lat": {
538 | "type": "number",
539 | "format": "double"
540 | },
541 | "lng": {
542 | "type": "number",
543 | "format": "double"
544 | }
545 | },
546 | "additionalProperties": false
547 | },
548 | "types": {
549 | "type": "array",
550 | "items": {
551 | "type": "string"
552 | },
553 | "description": "Place types",
554 | "nullable": true
555 | },
556 | "distance": {
557 | "type": "integer",
558 | "description": "Distance to the place (meters). For nearby search only.",
559 | "format": "int32",
560 | "nullable": true
561 | }
562 | },
563 | "additionalProperties": false
564 | },
565 | "description": "Searching results array"
566 | }
567 | },
568 | "additionalProperties": false
569 | }
570 | }
571 | },
572 | "security": {},
573 | "tags": []
574 | }
```
--------------------------------------------------------------------------------
/src/lib/modified_trueway-geocoding.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.0.1",
3 | "info": {
4 | "title": "TrueWay Geocoding API V1",
5 | "description": "Forward and Reverse Geocoding",
6 | "contact": {
7 | "name": "TrueWay Team",
8 | "url": "https://truewayapi.com/",
9 | "email": "[email protected]"
10 | },
11 | "version": "v1"
12 | },
13 | "servers": [
14 | {
15 | "url": "http://api.magicapi.dev/api/v1/trueway/geocoding"
16 | }
17 | ],
18 | "paths": {
19 | "trueway/geocoding/GeocodingService/Geocode": {
20 | "get": {
21 | "tags": [
22 | "GeocodingService"
23 | ],
24 | "summary": "Forward Geocoding",
25 | "description": "Obtain location(geographic coordinates) for address.",
26 | "parameters": [
27 | {
28 | "name": "address",
29 | "in": "query",
30 | "description": "The address that you want to geocode",
31 | "required": true,
32 | "schema": {
33 | "type": "string"
34 | },
35 | "example": "505 Howard St, San Francisco"
36 | },
37 | {
38 | "name": "postal_code",
39 | "in": "query",
40 | "description": "",
41 | "schema": {
42 | "type": "string"
43 | }
44 | },
45 | {
46 | "name": "country",
47 | "in": "query",
48 | "description": "The two-letter bias country code (ccTLD or ISO 3166-1) in which to return results",
49 | "schema": {
50 | "type": "string"
51 | },
52 | "example": "US"
53 | },
54 | {
55 | "name": "area",
56 | "in": "query",
57 | "description": "",
58 | "schema": {
59 | "type": "string"
60 | }
61 | },
62 | {
63 | "name": "locality",
64 | "in": "query",
65 | "description": "",
66 | "schema": {
67 | "type": "string"
68 | }
69 | },
70 | {
71 | "name": "street",
72 | "in": "query",
73 | "description": "",
74 | "schema": {
75 | "type": "string"
76 | }
77 | },
78 | {
79 | "name": "language",
80 | "in": "query",
81 | "description": "The two-letter language code in which to return results (ISO 639-1)",
82 | "schema": {
83 | "type": "string"
84 | },
85 | "example": "en"
86 | },
87 | {
88 | "name": "region",
89 | "in": "query",
90 | "description": "",
91 | "schema": {
92 | "type": "string"
93 | }
94 | },
95 | {
96 | "name": "bounds",
97 | "in": "query",
98 | "description": "The bounding box for results preference",
99 | "schema": {
100 | "type": "string"
101 | },
102 | "example": "-90.0,-180.0,90.0,180.0"
103 | }
104 | ],
105 | "responses": {
106 | "200": {
107 | "description": "Success",
108 | "content": {
109 | "application/json": {
110 | "schema": {
111 | "required": [
112 | "results"
113 | ],
114 | "type": "object",
115 | "properties": {
116 | "results": {
117 | "type": "array",
118 | "items": {
119 | "required": [
120 | "location"
121 | ],
122 | "type": "object",
123 | "properties": {
124 | "address": {
125 | "type": "string",
126 | "description": "Street address",
127 | "nullable": true
128 | },
129 | "postal_code": {
130 | "type": "string",
131 | "description": "Postal code",
132 | "nullable": true
133 | },
134 | "country": {
135 | "type": "string",
136 | "description": "Country",
137 | "nullable": true
138 | },
139 | "region": {
140 | "type": "string",
141 | "description": "First-order administrative entity below the country level",
142 | "nullable": true
143 | },
144 | "area": {
145 | "type": "string",
146 | "description": "Second-order administrative entity below the country level",
147 | "nullable": true
148 | },
149 | "locality": {
150 | "type": "string",
151 | "description": "Locality (city or town)",
152 | "nullable": true
153 | },
154 | "sublocality": {
155 | "type": "string",
156 | "description": "Locality (First-order entity below a locality)",
157 | "nullable": true
158 | },
159 | "neighborhood": {
160 | "type": "string",
161 | "description": "Named neighborhood",
162 | "nullable": true
163 | },
164 | "street": {
165 | "type": "string",
166 | "description": "Street name",
167 | "nullable": true
168 | },
169 | "house": {
170 | "type": "string",
171 | "description": "House number",
172 | "nullable": true
173 | },
174 | "location": {
175 | "type": "object",
176 | "properties": {
177 | "lat": {
178 | "type": "number",
179 | "format": "double"
180 | },
181 | "lng": {
182 | "type": "number",
183 | "format": "double"
184 | }
185 | },
186 | "additionalProperties": false
187 | },
188 | "location_type": {
189 | "type": "string",
190 | "description": "Location precision: exact/approximate/centroid",
191 | "nullable": true
192 | },
193 | "type": {
194 | "type": "string",
195 | "description": "Type of result: street_address/route/admin_area/country/region/area/locality/sublocality/neighborhood/building/postal_code",
196 | "nullable": true
197 | }
198 | },
199 | "additionalProperties": false
200 | },
201 | "description": "Geocoding results array"
202 | }
203 | },
204 | "additionalProperties": false
205 | }
206 | }
207 | }
208 | },
209 | "400": {
210 | "description": "Invalid Request",
211 | "content": {
212 | "application/json": {
213 | "schema": {
214 | "required": [
215 | "error"
216 | ],
217 | "type": "object",
218 | "properties": {
219 | "error": {
220 | "type": "string"
221 | },
222 | "message": {
223 | "type": "string",
224 | "nullable": true
225 | }
226 | },
227 | "additionalProperties": false
228 | }
229 | }
230 | }
231 | },
232 | "500": {
233 | "description": "Unknown Error",
234 | "content": {
235 | "application/json": {
236 | "schema": {
237 | "required": [
238 | "error"
239 | ],
240 | "type": "object",
241 | "properties": {
242 | "error": {
243 | "type": "string"
244 | },
245 | "message": {
246 | "type": "string",
247 | "nullable": true
248 | }
249 | },
250 | "additionalProperties": false
251 | }
252 | }
253 | }
254 | }
255 | }
256 | },
257 | "parameters": [
258 | {
259 | "description": "API.market API Key",
260 | "in": "header",
261 | "name": "x-magicapi-key",
262 | "value": "clp7flnx6000j3pifm3pinw92",
263 | "required": true,
264 | "schema": {
265 | "type": "string"
266 | }
267 | }
268 | ]
269 | },
270 | "trueway/geocoding/GeocodingService/ReverseGeocode": {
271 | "get": {
272 | "tags": [
273 | "GeocodingService"
274 | ],
275 | "summary": "Reverse Geocoding",
276 | "description": "Obtain address for location.",
277 | "parameters": [
278 | {
279 | "name": "location",
280 | "in": "query",
281 | "description": "The location for which you wish to obtain the human-readable address",
282 | "required": true,
283 | "schema": {
284 | "type": "string"
285 | },
286 | "example": "37.7879493,-122.3961974"
287 | },
288 | {
289 | "name": "language",
290 | "in": "query",
291 | "description": "The two-letter language code in which to return results (ISO 639-1)",
292 | "schema": {
293 | "type": "string"
294 | },
295 | "example": "en"
296 | }
297 | ],
298 | "responses": {
299 | "200": {
300 | "description": "Success",
301 | "content": {
302 | "application/json": {
303 | "schema": {
304 | "required": [
305 | "results"
306 | ],
307 | "type": "object",
308 | "properties": {
309 | "results": {
310 | "type": "array",
311 | "items": {
312 | "required": [
313 | "location"
314 | ],
315 | "type": "object",
316 | "properties": {
317 | "address": {
318 | "type": "string",
319 | "description": "Street address",
320 | "nullable": true
321 | },
322 | "postal_code": {
323 | "type": "string",
324 | "description": "Postal code",
325 | "nullable": true
326 | },
327 | "country": {
328 | "type": "string",
329 | "description": "Country",
330 | "nullable": true
331 | },
332 | "region": {
333 | "type": "string",
334 | "description": "First-order administrative entity below the country level",
335 | "nullable": true
336 | },
337 | "area": {
338 | "type": "string",
339 | "description": "Second-order administrative entity below the country level",
340 | "nullable": true
341 | },
342 | "locality": {
343 | "type": "string",
344 | "description": "Locality (city or town)",
345 | "nullable": true
346 | },
347 | "sublocality": {
348 | "type": "string",
349 | "description": "Locality (First-order entity below a locality)",
350 | "nullable": true
351 | },
352 | "neighborhood": {
353 | "type": "string",
354 | "description": "Named neighborhood",
355 | "nullable": true
356 | },
357 | "street": {
358 | "type": "string",
359 | "description": "Street name",
360 | "nullable": true
361 | },
362 | "house": {
363 | "type": "string",
364 | "description": "House number",
365 | "nullable": true
366 | },
367 | "location": {
368 | "type": "object",
369 | "properties": {
370 | "lat": {
371 | "type": "number",
372 | "format": "double"
373 | },
374 | "lng": {
375 | "type": "number",
376 | "format": "double"
377 | }
378 | },
379 | "additionalProperties": false
380 | },
381 | "location_type": {
382 | "type": "string",
383 | "description": "Location precision: exact/approximate/centroid",
384 | "nullable": true
385 | },
386 | "type": {
387 | "type": "string",
388 | "description": "Type of result: street_address/route/admin_area/country/region/area/locality/sublocality/neighborhood/building/postal_code",
389 | "nullable": true
390 | }
391 | },
392 | "additionalProperties": false
393 | },
394 | "description": "Geocoding results array"
395 | }
396 | },
397 | "additionalProperties": false
398 | }
399 | }
400 | }
401 | },
402 | "400": {
403 | "description": "Bad Request",
404 | "content": {
405 | "application/json": {
406 | "schema": {
407 | "required": [
408 | "error"
409 | ],
410 | "type": "object",
411 | "properties": {
412 | "error": {
413 | "type": "string"
414 | },
415 | "message": {
416 | "type": "string",
417 | "nullable": true
418 | }
419 | },
420 | "additionalProperties": false
421 | }
422 | }
423 | }
424 | },
425 | "500": {
426 | "description": "Server Error",
427 | "content": {
428 | "application/json": {
429 | "schema": {
430 | "required": [
431 | "error"
432 | ],
433 | "type": "object",
434 | "properties": {
435 | "error": {
436 | "type": "string"
437 | },
438 | "message": {
439 | "type": "string",
440 | "nullable": true
441 | }
442 | },
443 | "additionalProperties": false
444 | }
445 | }
446 | }
447 | }
448 | }
449 | },
450 | "parameters": [
451 | {
452 | "description": "API.market API Key",
453 | "in": "header",
454 | "name": "x-magicapi-key",
455 | "value": "clp7flnx6000j3pifm3pinw92",
456 | "required": true,
457 | "schema": {
458 | "type": "string"
459 | }
460 | }
461 | ]
462 | }
463 | },
464 | "components": {
465 | "schemas": {
466 | "FaultResponse": {
467 | "required": [
468 | "error"
469 | ],
470 | "type": "object",
471 | "properties": {
472 | "error": {
473 | "type": "string"
474 | },
475 | "message": {
476 | "type": "string",
477 | "nullable": true
478 | }
479 | },
480 | "additionalProperties": false
481 | },
482 | "GeocodeResponse": {
483 | "required": [
484 | "results"
485 | ],
486 | "type": "object",
487 | "properties": {
488 | "results": {
489 | "type": "array",
490 | "items": {
491 | "required": [
492 | "location"
493 | ],
494 | "type": "object",
495 | "properties": {
496 | "address": {
497 | "type": "string",
498 | "description": "Street address",
499 | "nullable": true
500 | },
501 | "postal_code": {
502 | "type": "string",
503 | "description": "Postal code",
504 | "nullable": true
505 | },
506 | "country": {
507 | "type": "string",
508 | "description": "Country",
509 | "nullable": true
510 | },
511 | "region": {
512 | "type": "string",
513 | "description": "First-order administrative entity below the country level",
514 | "nullable": true
515 | },
516 | "area": {
517 | "type": "string",
518 | "description": "Second-order administrative entity below the country level",
519 | "nullable": true
520 | },
521 | "locality": {
522 | "type": "string",
523 | "description": "Locality (city or town)",
524 | "nullable": true
525 | },
526 | "sublocality": {
527 | "type": "string",
528 | "description": "Locality (First-order entity below a locality)",
529 | "nullable": true
530 | },
531 | "neighborhood": {
532 | "type": "string",
533 | "description": "Named neighborhood",
534 | "nullable": true
535 | },
536 | "street": {
537 | "type": "string",
538 | "description": "Street name",
539 | "nullable": true
540 | },
541 | "house": {
542 | "type": "string",
543 | "description": "House number",
544 | "nullable": true
545 | },
546 | "location": {
547 | "type": "object",
548 | "properties": {
549 | "lat": {
550 | "type": "number",
551 | "format": "double"
552 | },
553 | "lng": {
554 | "type": "number",
555 | "format": "double"
556 | }
557 | },
558 | "additionalProperties": false
559 | },
560 | "location_type": {
561 | "type": "string",
562 | "description": "Location precision: exact/approximate/centroid",
563 | "nullable": true
564 | },
565 | "type": {
566 | "type": "string",
567 | "description": "Type of result: street_address/route/admin_area/country/region/area/locality/sublocality/neighborhood/building/postal_code",
568 | "nullable": true
569 | }
570 | },
571 | "additionalProperties": false
572 | },
573 | "description": "Geocoding results array"
574 | }
575 | },
576 | "additionalProperties": false
577 | },
578 | "GeocodeResult": {
579 | "required": [
580 | "location"
581 | ],
582 | "type": "object",
583 | "properties": {
584 | "address": {
585 | "type": "string",
586 | "description": "Street address",
587 | "nullable": true
588 | },
589 | "postal_code": {
590 | "type": "string",
591 | "description": "Postal code",
592 | "nullable": true
593 | },
594 | "country": {
595 | "type": "string",
596 | "description": "Country",
597 | "nullable": true
598 | },
599 | "region": {
600 | "type": "string",
601 | "description": "First-order administrative entity below the country level",
602 | "nullable": true
603 | },
604 | "area": {
605 | "type": "string",
606 | "description": "Second-order administrative entity below the country level",
607 | "nullable": true
608 | },
609 | "locality": {
610 | "type": "string",
611 | "description": "Locality (city or town)",
612 | "nullable": true
613 | },
614 | "sublocality": {
615 | "type": "string",
616 | "description": "Locality (First-order entity below a locality)",
617 | "nullable": true
618 | },
619 | "neighborhood": {
620 | "type": "string",
621 | "description": "Named neighborhood",
622 | "nullable": true
623 | },
624 | "street": {
625 | "type": "string",
626 | "description": "Street name",
627 | "nullable": true
628 | },
629 | "house": {
630 | "type": "string",
631 | "description": "House number",
632 | "nullable": true
633 | },
634 | "location": {
635 | "type": "object",
636 | "properties": {
637 | "lat": {
638 | "type": "number",
639 | "format": "double"
640 | },
641 | "lng": {
642 | "type": "number",
643 | "format": "double"
644 | }
645 | },
646 | "additionalProperties": false
647 | },
648 | "location_type": {
649 | "type": "string",
650 | "description": "Location precision: exact/approximate/centroid",
651 | "nullable": true
652 | },
653 | "type": {
654 | "type": "string",
655 | "description": "Type of result: street_address/route/admin_area/country/region/area/locality/sublocality/neighborhood/building/postal_code",
656 | "nullable": true
657 | }
658 | },
659 | "additionalProperties": false
660 | },
661 | "Location": {
662 | "type": "object",
663 | "properties": {
664 | "lat": {
665 | "type": "number",
666 | "format": "double"
667 | },
668 | "lng": {
669 | "type": "number",
670 | "format": "double"
671 | }
672 | },
673 | "additionalProperties": false
674 | }
675 | }
676 | },
677 | "security": {},
678 | "tags": []
679 | }
```
--------------------------------------------------------------------------------
/mcp-specs.d.ts:
--------------------------------------------------------------------------------
```typescript
1 | export type JSONRPCMessage = JSONRPCRequest | JSONRPCNotification | JSONRPCResponse | JSONRPCError;
2 | export declare const LATEST_PROTOCOL_VERSION = "2024-11-05";
3 | export declare const JSONRPC_VERSION = "2.0";
4 | /**
5 | * A progress token, used to associate progress notifications with the original request.
6 | */
7 | export type ProgressToken = string | number;
8 | /**
9 | * An opaque token used to represent a cursor for pagination.
10 | */
11 | export type Cursor = string;
12 | export interface Request {
13 | method: string;
14 | params?: {
15 | _meta?: {
16 | /**
17 | * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
18 | */
19 | progressToken?: ProgressToken;
20 | };
21 | [key: string]: unknown;
22 | };
23 | }
24 | export interface Notification {
25 | method: string;
26 | params?: {
27 | /**
28 | * This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
29 | */
30 | _meta?: {
31 | [key: string]: unknown;
32 | };
33 | [key: string]: unknown;
34 | };
35 | }
36 | export interface Result {
37 | /**
38 | * This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
39 | */
40 | _meta?: {
41 | [key: string]: unknown;
42 | };
43 | [key: string]: unknown;
44 | }
45 | /**
46 | * A uniquely identifying ID for a request in JSON-RPC.
47 | */
48 | export type RequestId = string | number;
49 | /**
50 | * A request that expects a response.
51 | */
52 | export interface JSONRPCRequest extends Request {
53 | jsonrpc: typeof JSONRPC_VERSION;
54 | id: RequestId;
55 | }
56 | /**
57 | * A notification which does not expect a response.
58 | */
59 | export interface JSONRPCNotification extends Notification {
60 | jsonrpc: typeof JSONRPC_VERSION;
61 | }
62 | /**
63 | * A successful (non-error) response to a request.
64 | */
65 | export interface JSONRPCResponse {
66 | jsonrpc: typeof JSONRPC_VERSION;
67 | id: RequestId;
68 | result: Result;
69 | }
70 | export declare const PARSE_ERROR = -32700;
71 | export declare const INVALID_REQUEST = -32600;
72 | export declare const METHOD_NOT_FOUND = -32601;
73 | export declare const INVALID_PARAMS = -32602;
74 | export declare const INTERNAL_ERROR = -32603;
75 | /**
76 | * A response to a request that indicates an error occurred.
77 | */
78 | export interface JSONRPCError {
79 | jsonrpc: typeof JSONRPC_VERSION;
80 | id: RequestId;
81 | error: {
82 | /**
83 | * The error type that occurred.
84 | */
85 | code: number;
86 | /**
87 | * A short description of the error. The message SHOULD be limited to a concise single sentence.
88 | */
89 | message: string;
90 | /**
91 | * Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).
92 | */
93 | data?: unknown;
94 | };
95 | }
96 | /**
97 | * A response that indicates success but carries no data.
98 | */
99 | export type EmptyResult = Result;
100 | /**
101 | * This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
102 | *
103 | * The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
104 | *
105 | * This notification indicates that the result will be unused, so any associated processing SHOULD cease.
106 | *
107 | * A client MUST NOT attempt to cancel its `initialize` request.
108 | */
109 | export interface CancelledNotification extends Notification {
110 | method: "notifications/cancelled";
111 | params: {
112 | /**
113 | * The ID of the request to cancel.
114 | *
115 | * This MUST correspond to the ID of a request previously issued in the same direction.
116 | */
117 | requestId: RequestId;
118 | /**
119 | * An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
120 | */
121 | reason?: string;
122 | };
123 | }
124 | /**
125 | * This request is sent from the client to the server when it first connects, asking it to begin initialization.
126 | */
127 | export interface InitializeRequest extends Request {
128 | method: "initialize";
129 | params: {
130 | /**
131 | * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
132 | */
133 | protocolVersion: string;
134 | capabilities: ClientCapabilities;
135 | clientInfo: Implementation;
136 | };
137 | }
138 | /**
139 | * After receiving an initialize request from the client, the server sends this response.
140 | */
141 | export interface InitializeResult extends Result {
142 | /**
143 | * The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.
144 | */
145 | protocolVersion: string;
146 | capabilities: ServerCapabilities;
147 | serverInfo: Implementation;
148 | /**
149 | * Instructions describing how to use the server and its features.
150 | *
151 | * This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a "hint" to the model. For example, this information MAY be added to the system prompt.
152 | */
153 | instructions?: string;
154 | }
155 | /**
156 | * This notification is sent from the client to the server after initialization has finished.
157 | */
158 | export interface InitializedNotification extends Notification {
159 | method: "notifications/initialized";
160 | }
161 | /**
162 | * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.
163 | */
164 | export interface ClientCapabilities {
165 | /**
166 | * Experimental, non-standard capabilities that the client supports.
167 | */
168 | experimental?: {
169 | [key: string]: object;
170 | };
171 | /**
172 | * Present if the client supports listing roots.
173 | */
174 | roots?: {
175 | /**
176 | * Whether the client supports notifications for changes to the roots list.
177 | */
178 | listChanged?: boolean;
179 | };
180 | /**
181 | * Present if the client supports sampling from an LLM.
182 | */
183 | sampling?: object;
184 | }
185 | /**
186 | * Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
187 | */
188 | export interface ServerCapabilities {
189 | /**
190 | * Experimental, non-standard capabilities that the server supports.
191 | */
192 | experimental?: {
193 | [key: string]: object;
194 | };
195 | /**
196 | * Present if the server supports sending log messages to the client.
197 | */
198 | logging?: object;
199 | /**
200 | * Present if the server offers any prompt templates.
201 | */
202 | prompts?: {
203 | /**
204 | * Whether this server supports notifications for changes to the prompt list.
205 | */
206 | listChanged?: boolean;
207 | };
208 | /**
209 | * Present if the server offers any resources to read.
210 | */
211 | resources?: {
212 | /**
213 | * Whether this server supports subscribing to resource updates.
214 | */
215 | subscribe?: boolean;
216 | /**
217 | * Whether this server supports notifications for changes to the resource list.
218 | */
219 | listChanged?: boolean;
220 | };
221 | /**
222 | * Present if the server offers any tools to call.
223 | */
224 | tools?: {
225 | /**
226 | * Whether this server supports notifications for changes to the tool list.
227 | */
228 | listChanged?: boolean;
229 | };
230 | }
231 | /**
232 | * Describes the name and version of an MCP implementation.
233 | */
234 | export interface Implementation {
235 | name: string;
236 | version: string;
237 | }
238 | /**
239 | * A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
240 | */
241 | export interface PingRequest extends Request {
242 | method: "ping";
243 | }
244 | /**
245 | * An out-of-band notification used to inform the receiver of a progress update for a long-running request.
246 | */
247 | export interface ProgressNotification extends Notification {
248 | method: "notifications/progress";
249 | params: {
250 | /**
251 | * The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
252 | */
253 | progressToken: ProgressToken;
254 | /**
255 | * The progress thus far. This should increase every time progress is made, even if the total is unknown.
256 | *
257 | * @TJS-type number
258 | */
259 | progress: number;
260 | /**
261 | * Total number of items to process (or total progress required), if known.
262 | *
263 | * @TJS-type number
264 | */
265 | total?: number;
266 | };
267 | }
268 | export interface PaginatedRequest extends Request {
269 | params?: {
270 | /**
271 | * An opaque token representing the current pagination position.
272 | * If provided, the server should return results starting after this cursor.
273 | */
274 | cursor?: Cursor;
275 | };
276 | }
277 | export interface PaginatedResult extends Result {
278 | /**
279 | * An opaque token representing the pagination position after the last returned result.
280 | * If present, there may be more results available.
281 | */
282 | nextCursor?: Cursor;
283 | }
284 | /**
285 | * Sent from the client to request a list of resources the server has.
286 | */
287 | export interface ListResourcesRequest extends PaginatedRequest {
288 | method: "resources/list";
289 | }
290 | /**
291 | * The server's response to a resources/list request from the client.
292 | */
293 | export interface ListResourcesResult extends PaginatedResult {
294 | resources: Resource[];
295 | }
296 | /**
297 | * Sent from the client to request a list of resource templates the server has.
298 | */
299 | export interface ListResourceTemplatesRequest extends PaginatedRequest {
300 | method: "resources/templates/list";
301 | }
302 | /**
303 | * The server's response to a resources/templates/list request from the client.
304 | */
305 | export interface ListResourceTemplatesResult extends PaginatedResult {
306 | resourceTemplates: ResourceTemplate[];
307 | }
308 | /**
309 | * Sent from the client to the server, to read a specific resource URI.
310 | */
311 | export interface ReadResourceRequest extends Request {
312 | method: "resources/read";
313 | params: {
314 | /**
315 | * The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.
316 | *
317 | * @format uri
318 | */
319 | uri: string;
320 | };
321 | }
322 | /**
323 | * The server's response to a resources/read request from the client.
324 | */
325 | export interface ReadResourceResult extends Result {
326 | contents: (TextResourceContents | BlobResourceContents)[];
327 | }
328 | /**
329 | * An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.
330 | */
331 | export interface ResourceListChangedNotification extends Notification {
332 | method: "notifications/resources/list_changed";
333 | }
334 | /**
335 | * Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
336 | */
337 | export interface SubscribeRequest extends Request {
338 | method: "resources/subscribe";
339 | params: {
340 | /**
341 | * The URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
342 | *
343 | * @format uri
344 | */
345 | uri: string;
346 | };
347 | }
348 | /**
349 | * Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.
350 | */
351 | export interface UnsubscribeRequest extends Request {
352 | method: "resources/unsubscribe";
353 | params: {
354 | /**
355 | * The URI of the resource to unsubscribe from.
356 | *
357 | * @format uri
358 | */
359 | uri: string;
360 | };
361 | }
362 | /**
363 | * A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.
364 | */
365 | export interface ResourceUpdatedNotification extends Notification {
366 | method: "notifications/resources/updated";
367 | params: {
368 | /**
369 | * The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
370 | *
371 | * @format uri
372 | */
373 | uri: string;
374 | };
375 | }
376 | /**
377 | * A known resource that the server is capable of reading.
378 | */
379 | export interface Resource extends Annotated {
380 | /**
381 | * The URI of this resource.
382 | *
383 | * @format uri
384 | */
385 | uri: string;
386 | /**
387 | * A human-readable name for this resource.
388 | *
389 | * This can be used by clients to populate UI elements.
390 | */
391 | name: string;
392 | /**
393 | * A description of what this resource represents.
394 | *
395 | * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
396 | */
397 | description?: string;
398 | /**
399 | * The MIME type of this resource, if known.
400 | */
401 | mimeType?: string;
402 | }
403 | /**
404 | * A template description for resources available on the server.
405 | */
406 | export interface ResourceTemplate extends Annotated {
407 | /**
408 | * A URI template (according to RFC 6570) that can be used to construct resource URIs.
409 | *
410 | * @format uri-template
411 | */
412 | uriTemplate: string;
413 | /**
414 | * A human-readable name for the type of resource this template refers to.
415 | *
416 | * This can be used by clients to populate UI elements.
417 | */
418 | name: string;
419 | /**
420 | * A description of what this template is for.
421 | *
422 | * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
423 | */
424 | description?: string;
425 | /**
426 | * The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.
427 | */
428 | mimeType?: string;
429 | }
430 | /**
431 | * The contents of a specific resource or sub-resource.
432 | */
433 | export interface ResourceContents {
434 | /**
435 | * The URI of this resource.
436 | *
437 | * @format uri
438 | */
439 | uri: string;
440 | /**
441 | * The MIME type of this resource, if known.
442 | */
443 | mimeType?: string;
444 | }
445 | export interface TextResourceContents extends ResourceContents {
446 | /**
447 | * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
448 | */
449 | text: string;
450 | }
451 | export interface BlobResourceContents extends ResourceContents {
452 | /**
453 | * A base64-encoded string representing the binary data of the item.
454 | *
455 | * @format byte
456 | */
457 | blob: string;
458 | }
459 | /**
460 | * Sent from the client to request a list of prompts and prompt templates the server has.
461 | */
462 | export interface ListPromptsRequest extends PaginatedRequest {
463 | method: "prompts/list";
464 | }
465 | /**
466 | * The server's response to a prompts/list request from the client.
467 | */
468 | export interface ListPromptsResult extends PaginatedResult {
469 | prompts: Prompt[];
470 | }
471 | /**
472 | * Used by the client to get a prompt provided by the server.
473 | */
474 | export interface GetPromptRequest extends Request {
475 | method: "prompts/get";
476 | params: {
477 | /**
478 | * The name of the prompt or prompt template.
479 | */
480 | name: string;
481 | /**
482 | * Arguments to use for templating the prompt.
483 | */
484 | arguments?: {
485 | [key: string]: string;
486 | };
487 | };
488 | }
489 | /**
490 | * The server's response to a prompts/get request from the client.
491 | */
492 | export interface GetPromptResult extends Result {
493 | /**
494 | * An optional description for the prompt.
495 | */
496 | description?: string;
497 | messages: PromptMessage[];
498 | }
499 | /**
500 | * A prompt or prompt template that the server offers.
501 | */
502 | export interface Prompt {
503 | /**
504 | * The name of the prompt or prompt template.
505 | */
506 | name: string;
507 | /**
508 | * An optional description of what this prompt provides
509 | */
510 | description?: string;
511 | /**
512 | * A list of arguments to use for templating the prompt.
513 | */
514 | arguments?: PromptArgument[];
515 | }
516 | /**
517 | * Describes an argument that a prompt can accept.
518 | */
519 | export interface PromptArgument {
520 | /**
521 | * The name of the argument.
522 | */
523 | name: string;
524 | /**
525 | * A human-readable description of the argument.
526 | */
527 | description?: string;
528 | /**
529 | * Whether this argument must be provided.
530 | */
531 | required?: boolean;
532 | }
533 | /**
534 | * The sender or recipient of messages and data in a conversation.
535 | */
536 | export type Role = "user" | "assistant";
537 | /**
538 | * Describes a message returned as part of a prompt.
539 | *
540 | * This is similar to `SamplingMessage`, but also supports the embedding of
541 | * resources from the MCP server.
542 | */
543 | export interface PromptMessage {
544 | role: Role;
545 | content: TextContent | ImageContent | EmbeddedResource;
546 | }
547 | /**
548 | * The contents of a resource, embedded into a prompt or tool call result.
549 | *
550 | * It is up to the client how best to render embedded resources for the benefit
551 | * of the LLM and/or the user.
552 | */
553 | export interface EmbeddedResource extends Annotated {
554 | type: "resource";
555 | resource: TextResourceContents | BlobResourceContents;
556 | }
557 | /**
558 | * An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.
559 | */
560 | export interface PromptListChangedNotification extends Notification {
561 | method: "notifications/prompts/list_changed";
562 | }
563 | /**
564 | * Sent from the client to request a list of tools the server has.
565 | */
566 | export interface ListToolsRequest extends PaginatedRequest {
567 | method: "tools/list";
568 | }
569 | /**
570 | * The server's response to a tools/list request from the client.
571 | */
572 | export interface ListToolsResult extends PaginatedResult {
573 | tools: Tool[];
574 | }
575 | /**
576 | * The server's response to a tool call.
577 | *
578 | * Any errors that originate from the tool SHOULD be reported inside the result
579 | * object, with `isError` set to true, _not_ as an MCP protocol-level error
580 | * response. Otherwise, the LLM would not be able to see that an error occurred
581 | * and self-correct.
582 | *
583 | * However, any errors in _finding_ the tool, an error indicating that the
584 | * server does not support tool calls, or any other exceptional conditions,
585 | * should be reported as an MCP error response.
586 | */
587 | export interface CallToolResult extends Result {
588 | content: (TextContent | ImageContent | EmbeddedResource)[];
589 | /**
590 | * Whether the tool call ended in an error.
591 | *
592 | * If not set, this is assumed to be false (the call was successful).
593 | */
594 | isError?: boolean;
595 | }
596 | /**
597 | * Used by the client to invoke a tool provided by the server.
598 | */
599 | export interface CallToolRequest extends Request {
600 | method: "tools/call";
601 | params: {
602 | name: string;
603 | arguments?: {
604 | [key: string]: unknown;
605 | };
606 | };
607 | }
608 | /**
609 | * An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
610 | */
611 | export interface ToolListChangedNotification extends Notification {
612 | method: "notifications/tools/list_changed";
613 | }
614 | /**
615 | * Definition for a tool the client can call.
616 | */
617 | export interface Tool {
618 | /**
619 | * The name of the tool.
620 | */
621 | name: string;
622 | /**
623 | * A human-readable description of the tool.
624 | */
625 | description?: string;
626 | /**
627 | * A JSON Schema object defining the expected parameters for the tool.
628 | */
629 | inputSchema: {
630 | type: "object";
631 | properties?: {
632 | [key: string]: object;
633 | };
634 | required?: string[];
635 | };
636 | }
637 | /**
638 | * A request from the client to the server, to enable or adjust logging.
639 | */
640 | export interface SetLevelRequest extends Request {
641 | method: "logging/setLevel";
642 | params: {
643 | /**
644 | * The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
645 | */
646 | level: LoggingLevel;
647 | };
648 | }
649 | /**
650 | * Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
651 | */
652 | export interface LoggingMessageNotification extends Notification {
653 | method: "notifications/message";
654 | params: {
655 | /**
656 | * The severity of this log message.
657 | */
658 | level: LoggingLevel;
659 | /**
660 | * An optional name of the logger issuing this message.
661 | */
662 | logger?: string;
663 | /**
664 | * The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
665 | */
666 | data: unknown;
667 | };
668 | }
669 | /**
670 | * The severity of a log message.
671 | *
672 | * These map to syslog message severities, as specified in RFC-5424:
673 | * https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.1
674 | */
675 | export type LoggingLevel = "debug" | "info" | "notice" | "warning" | "error" | "critical" | "alert" | "emergency";
676 | /**
677 | * A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
678 | */
679 | export interface CreateMessageRequest extends Request {
680 | method: "sampling/createMessage";
681 | params: {
682 | messages: SamplingMessage[];
683 | /**
684 | * The server's preferences for which model to select. The client MAY ignore these preferences.
685 | */
686 | modelPreferences?: ModelPreferences;
687 | /**
688 | * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.
689 | */
690 | systemPrompt?: string;
691 | /**
692 | * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
693 | */
694 | includeContext?: "none" | "thisServer" | "allServers";
695 | /**
696 | * @TJS-type number
697 | */
698 | temperature?: number;
699 | /**
700 | * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested.
701 | */
702 | maxTokens: number;
703 | stopSequences?: string[];
704 | /**
705 | * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.
706 | */
707 | metadata?: object;
708 | };
709 | }
710 | /**
711 | * The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
712 | */
713 | export interface CreateMessageResult extends Result, SamplingMessage {
714 | /**
715 | * The name of the model that generated the message.
716 | */
717 | model: string;
718 | /**
719 | * The reason why sampling stopped, if known.
720 | */
721 | stopReason?: "endTurn" | "stopSequence" | "maxTokens" | string;
722 | }
723 | /**
724 | * Describes a message issued to or received from an LLM API.
725 | */
726 | export interface SamplingMessage {
727 | role: Role;
728 | content: TextContent | ImageContent;
729 | }
730 | /**
731 | * Base for objects that include optional annotations for the client. The client can use annotations to inform how objects are used or displayed
732 | */
733 | export interface Annotated {
734 | annotations?: {
735 | /**
736 | * Describes who the intended customer of this object or data is.
737 | *
738 | * It can include multiple entries to indicate content useful for multiple audiences (e.g., `["user", "assistant"]`).
739 | */
740 | audience?: Role[];
741 | /**
742 | * Describes how important this data is for operating the server.
743 | *
744 | * A value of 1 means "most important," and indicates that the data is
745 | * effectively required, while 0 means "least important," and indicates that
746 | * the data is entirely optional.
747 | *
748 | * @TJS-type number
749 | * @minimum 0
750 | * @maximum 1
751 | */
752 | priority?: number;
753 | };
754 | }
755 | /**
756 | * Text provided to or from an LLM.
757 | */
758 | export interface TextContent extends Annotated {
759 | type: "text";
760 | /**
761 | * The text content of the message.
762 | */
763 | text: string;
764 | }
765 | /**
766 | * An image provided to or from an LLM.
767 | */
768 | export interface ImageContent extends Annotated {
769 | type: "image";
770 | /**
771 | * The base64-encoded image data.
772 | *
773 | * @format byte
774 | */
775 | data: string;
776 | /**
777 | * The MIME type of the image. Different providers may support different image types.
778 | */
779 | mimeType: string;
780 | }
781 | /**
782 | * The server's preferences for model selection, requested of the client during sampling.
783 | *
784 | * Because LLMs can vary along multiple dimensions, choosing the "best" model is
785 | * rarely straightforward. Different models excel in different areas—some are
786 | * faster but less capable, others are more capable but more expensive, and so
787 | * on. This interface allows servers to express their priorities across multiple
788 | * dimensions to help clients make an appropriate selection for their use case.
789 | *
790 | * These preferences are always advisory. The client MAY ignore them. It is also
791 | * up to the client to decide how to interpret these preferences and how to
792 | * balance them against other considerations.
793 | */
794 | export interface ModelPreferences {
795 | /**
796 | * Optional hints to use for model selection.
797 | *
798 | * If multiple hints are specified, the client MUST evaluate them in order
799 | * (such that the first match is taken).
800 | *
801 | * The client SHOULD prioritize these hints over the numeric priorities, but
802 | * MAY still use the priorities to select from ambiguous matches.
803 | */
804 | hints?: ModelHint[];
805 | /**
806 | * How much to prioritize cost when selecting a model. A value of 0 means cost
807 | * is not important, while a value of 1 means cost is the most important
808 | * factor.
809 | *
810 | * @TJS-type number
811 | * @minimum 0
812 | * @maximum 1
813 | */
814 | costPriority?: number;
815 | /**
816 | * How much to prioritize sampling speed (latency) when selecting a model. A
817 | * value of 0 means speed is not important, while a value of 1 means speed is
818 | * the most important factor.
819 | *
820 | * @TJS-type number
821 | * @minimum 0
822 | * @maximum 1
823 | */
824 | speedPriority?: number;
825 | /**
826 | * How much to prioritize intelligence and capabilities when selecting a
827 | * model. A value of 0 means intelligence is not important, while a value of 1
828 | * means intelligence is the most important factor.
829 | *
830 | * @TJS-type number
831 | * @minimum 0
832 | * @maximum 1
833 | */
834 | intelligencePriority?: number;
835 | }
836 | /**
837 | * Hints to use for model selection.
838 | *
839 | * Keys not declared here are currently left unspecified by the spec and are up
840 | * to the client to interpret.
841 | */
842 | export interface ModelHint {
843 | /**
844 | * A hint for a model name.
845 | *
846 | * The client SHOULD treat this as a substring of a model name; for example:
847 | * - `claude-3-5-sonnet` should match `claude-3-5-sonnet-20241022`
848 | * - `sonnet` should match `claude-3-5-sonnet-20241022`, `claude-3-sonnet-20240229`, etc.
849 | * - `claude` should match any Claude model
850 | *
851 | * The client MAY also map the string to a different provider's model name or a different model family, as long as it fills a similar niche; for example:
852 | * - `gemini-1.5-flash` could match `claude-3-haiku-20240307`
853 | */
854 | name?: string;
855 | }
856 | /**
857 | * A request from the client to the server, to ask for completion options.
858 | */
859 | export interface CompleteRequest extends Request {
860 | method: "completion/complete";
861 | params: {
862 | ref: PromptReference | ResourceReference;
863 | /**
864 | * The argument's information
865 | */
866 | argument: {
867 | /**
868 | * The name of the argument
869 | */
870 | name: string;
871 | /**
872 | * The value of the argument to use for completion matching.
873 | */
874 | value: string;
875 | };
876 | };
877 | }
878 | /**
879 | * The server's response to a completion/complete request
880 | */
881 | export interface CompleteResult extends Result {
882 | completion: {
883 | /**
884 | * An array of completion values. Must not exceed 100 items.
885 | */
886 | values: string[];
887 | /**
888 | * The total number of completion options available. This can exceed the number of values actually sent in the response.
889 | */
890 | total?: number;
891 | /**
892 | * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
893 | */
894 | hasMore?: boolean;
895 | };
896 | }
897 | /**
898 | * A reference to a resource or resource template definition.
899 | */
900 | export interface ResourceReference {
901 | type: "ref/resource";
902 | /**
903 | * The URI or URI template of the resource.
904 | *
905 | * @format uri-template
906 | */
907 | uri: string;
908 | }
909 | /**
910 | * Identifies a prompt.
911 | */
912 | export interface PromptReference {
913 | type: "ref/prompt";
914 | /**
915 | * The name of the prompt or prompt template
916 | */
917 | name: string;
918 | }
919 | /**
920 | * Sent from the server to request a list of root URIs from the client. Roots allow
921 | * servers to ask for specific directories or files to operate on. A common example
922 | * for roots is providing a set of repositories or directories a server should operate
923 | * on.
924 | *
925 | * This request is typically used when the server needs to understand the file system
926 | * structure or access specific locations that the client has permission to read from.
927 | */
928 | export interface ListRootsRequest extends Request {
929 | method: "roots/list";
930 | }
931 | /**
932 | * The client's response to a roots/list request from the server.
933 | * This result contains an array of Root objects, each representing a root directory
934 | * or file that the server can operate on.
935 | */
936 | export interface ListRootsResult extends Result {
937 | roots: Root[];
938 | }
939 | /**
940 | * Represents a root directory or file that the server can operate on.
941 | */
942 | export interface Root {
943 | /**
944 | * The URI identifying the root. This *must* start with file:// for now.
945 | * This restriction may be relaxed in future versions of the protocol to allow
946 | * other URI schemes.
947 | *
948 | * @format uri
949 | */
950 | uri: string;
951 | /**
952 | * An optional name for the root. This can be used to provide a human-readable
953 | * identifier for the root, which may be useful for display purposes or for
954 | * referencing the root in other parts of the application.
955 | */
956 | name?: string;
957 | }
958 | /**
959 | * A notification from the client to the server, informing it that the list of roots has changed.
960 | * This notification should be sent whenever the client adds, removes, or modifies any root.
961 | * The server should then request an updated list of roots using the ListRootsRequest.
962 | */
963 | export interface RootsListChangedNotification extends Notification {
964 | method: "notifications/roots/list_changed";
965 | }
966 | export type ClientRequest = PingRequest | InitializeRequest | CompleteRequest | SetLevelRequest | GetPromptRequest | ListPromptsRequest | ListResourcesRequest | ReadResourceRequest | SubscribeRequest | UnsubscribeRequest | CallToolRequest | ListToolsRequest;
967 | export type ClientNotification = CancelledNotification | ProgressNotification | InitializedNotification | RootsListChangedNotification;
968 | export type ClientResult = EmptyResult | CreateMessageResult | ListRootsResult;
969 | export type ServerRequest = PingRequest | CreateMessageRequest | ListRootsRequest;
970 | export type ServerNotification = CancelledNotification | ProgressNotification | LoggingMessageNotification | ResourceUpdatedNotification | ResourceListChangedNotification | ToolListChangedNotification | PromptListChangedNotification;
971 | export type ServerResult = EmptyResult | InitializeResult | CompleteResult | GetPromptResult | ListPromptsResult | ListResourcesResult | ReadResourceResult | CallToolResult | ListToolsResult;
972 |
```
--------------------------------------------------------------------------------
/src/lib/modified_magicapi-domainchecker.json:
--------------------------------------------------------------------------------
```json
1 | {
2 | "openapi": "3.0.0",
3 | "info": {
4 | "title": "Domain Availability API",
5 | "description": "Check domain availability for 500 extensions.",
6 | "version": "1.0.3"
7 | },
8 | "paths": {
9 | "magicapi/domainchecker/check_domains/": {
10 | "post": {
11 | "summary": "Check domain availability",
12 | "description": "Submit a domain name to check its availability.\n",
13 | "requestBody": {
14 | "required": true,
15 | "content": {
16 | "application/json": {
17 | "schema": {
18 | "type": "object",
19 | "properties": {
20 | "domain_name": {
21 | "type": "string"
22 | }
23 | },
24 | "example": {
25 | "domain_name": "google"
26 | }
27 | }
28 | }
29 | }
30 | },
31 | "responses": {
32 | "200": {
33 | "description": "Successful response",
34 | "content": {
35 | "application/json": {
36 | "schema": {
37 | "type": "object",
38 | "properties": {
39 | "available": {
40 | "type": "array",
41 | "items": {
42 | "type": "string"
43 | }
44 | },
45 | "taken": {
46 | "type": "array",
47 | "items": {
48 | "type": "string"
49 | }
50 | }
51 | },
52 | "example": {
53 | "available": [
54 | "google.design",
55 | "google.bz",
56 | "google.city",
57 | "google.studio",
58 | "google.style",
59 | "google.cn.com",
60 | "google.br.com",
61 | "google.jpn.com",
62 | "google.eu.com",
63 | "google.sa.com",
64 | "google.us.com",
65 | "google.ru.com",
66 | "google.za.com",
67 | "google.uk.com"
68 | ],
69 | "taken": [
70 | "google.shop",
71 | "google.jp",
72 | "google.de",
73 | "google.li",
74 | "google.lt",
75 | "google.hn",
76 | "google.fashion",
77 | "google.direct",
78 | "google.ai",
79 | "google.chat",
80 | "google.games",
81 | "google.cm",
82 | "google.immo",
83 | "google.life",
84 | "google.market",
85 | "google.money",
86 | "google.gr",
87 | "google.dev",
88 | "google.mx",
89 | "google.lc",
90 | "google.app",
91 | "google.health",
92 | "google.ae",
93 | "google.net.au",
94 | "google.vip",
95 | "google.au",
96 | "google.org.au",
97 | "google.com.ar",
98 | "google.ph",
99 | "google.id.au",
100 | "google.in",
101 | "google.cl",
102 | "google.es",
103 | "google.com.au",
104 | "google.pe",
105 | "google.page",
106 | "google.at",
107 | "google.as",
108 | "google.ch",
109 | "google.berlin",
110 | "google.accountant",
111 | "google.co.uk",
112 | "google.career",
113 | "google.be",
114 | "google.brussels",
115 | "google.ca",
116 | "google.co",
117 | "google.beer",
118 | "google.nl",
119 | "google.eu",
120 | "google.gg",
121 | "google.biz",
122 | "google.apartments",
123 | "google.club",
124 | "google.name",
125 | "google.sg",
126 | "google.actor",
127 | "google.cx",
128 | "google.accountants",
129 | "google.gay",
130 | "google.org",
131 | "google.mu",
132 | "google.codes",
133 | "google.builders",
134 | "google.boutique",
135 | "google.lat",
136 | "google.cards",
137 | "google.cheap",
138 | "google.gmail",
139 | "google.com.sg",
140 | "google.online",
141 | "google.center",
142 | "google.net",
143 | "google.bingo",
144 | "google.adult",
145 | "google.charity",
146 | "google.band",
147 | "google.coffee",
148 | "google.contact",
149 | "google.cab",
150 | "google.company",
151 | "google.associates",
152 | "google.attorney",
153 | "google.construction",
154 | "google.condos",
155 | "google.diamonds",
156 | "google.exchange",
157 | "google.computer",
158 | "google.democrat",
159 | "google.store",
160 | "google.careers",
161 | "google.academy",
162 | "google.contractors",
163 | "google.capital",
164 | "google.futbol",
165 | "google.engineer",
166 | "google.fan",
167 | "google.fish",
168 | "google.coach",
169 | "google.fail",
170 | "google.consulting",
171 | "google.flights",
172 | "google.energy",
173 | "google.cool",
174 | "google.community",
175 | "google.exposed",
176 | "google.dating",
177 | "google.fund",
178 | "google.haus",
179 | "google.gifts",
180 | "google.je",
181 | "google.is",
182 | "google.dog",
183 | "google.email",
184 | "google.discount",
185 | "google.koeln",
186 | "google.kaufen",
187 | "google.qa",
188 | "google.ryukyu",
189 | "google.claims",
190 | "google.fitness",
191 | "google.healthcare",
192 | "google.casino",
193 | "google.international",
194 | "google.it",
195 | "google.church",
196 | "google.to",
197 | "google.cafe",
198 | "google.boston",
199 | "google.dance",
200 | "google.okinawa",
201 | "google.bargains",
202 | "google.org.uk",
203 | "google.care",
204 | "google.gives",
205 | "google.lawyer",
206 | "google.marketing",
207 | "google.com",
208 | "google.wf",
209 | "google.engineering",
210 | "google.am",
211 | "google.se",
212 | "google.pm",
213 | "google.tech",
214 | "google.ltd",
215 | "google.hamburg",
216 | "google.clinic",
217 | "google.cc",
218 | "google.expert",
219 | "google.casa",
220 | "google.jetzt",
221 | "google.foundation",
222 | "google.guru",
223 | "google.catering",
224 | "google.holiday",
225 | "google.gen.nz",
226 | "google.site",
227 | "google.im",
228 | "google.clothing",
229 | "google.house",
230 | "google.website",
231 | "google.football",
232 | "google.co.nz",
233 | "google.space",
234 | "google.kiwi.nz",
235 | "google.school.nz",
236 | "google.forsale",
237 | "google.realestate",
238 | "google.cologne",
239 | "google.save",
240 | "google.events",
241 | "google.live",
242 | "google.agency",
243 | "google.jewelry",
244 | "google.blog",
245 | "google.ac.nz",
246 | "google.geek.nz",
247 | "google.farm",
248 | "google.cam",
249 | "google.cleaning",
250 | "google.gallery",
251 | "google.furniture",
252 | "google.com.sb",
253 | "google.fi",
254 | "google.lease",
255 | "google.lv",
256 | "google.ws",
257 | "google.ngo",
258 | "google.institute",
259 | "google.uk",
260 | "google.maison",
261 | "google.mba",
262 | "google.loans",
263 | "google.delivery",
264 | "google.re",
265 | "google.graphics",
266 | "google.estate",
267 | "google.guide",
268 | "google.financial",
269 | "google.me.uk",
270 | "google.fans",
271 | "google.vlaanderen",
272 | "google.fm",
273 | "google.florist",
274 | "google.cash",
275 | "google.credit",
276 | "google.cricket",
277 | "google.hospital",
278 | "google.digital",
279 | "google.directory",
280 | "google.nu",
281 | "google.land",
282 | "google.deals",
283 | "google.paris",
284 | "google.gold",
285 | "google.giving",
286 | "google.io",
287 | "google.ae.org",
288 | "google.pl",
289 | "google.dentist",
290 | "google.fyi",
291 | "google.cz",
292 | "google.degree",
293 | "google.net.nz",
294 | "google.ong",
295 | "google.wien",
296 | "google.build",
297 | "google.org.nz",
298 | "google.us",
299 | "google.mortgage",
300 | "google.bet",
301 | "google.tw",
302 | "google.pink",
303 | "google.enterprises",
304 | "google.business",
305 | "google.london",
306 | "google.best",
307 | "google.media",
308 | "google.fr",
309 | "google.date",
310 | "google.blue",
311 | "google.compare",
312 | "google.ag",
313 | "google.auction",
314 | "google.la",
315 | "google.bond",
316 | "google.garden",
317 | "google.host",
318 | "google.properties",
319 | "google.fit",
320 | "google.download",
321 | "google.earth",
322 | "google.fishing",
323 | "google.ac",
324 | "google.hair",
325 | "google.osaka",
326 | "google.miami",
327 | "google.melbourne",
328 | "google.moe",
329 | "google.photo",
330 | "google.menu",
331 | "google.nyc",
332 | "google.me",
333 | "google.faith",
334 | "google.archi",
335 | "google.homes",
336 | "google.review",
337 | "google.bayern",
338 | "google.tattoo",
339 | "google.racing",
340 | "google.select",
341 | "google.ink",
342 | "google.luxe",
343 | "google.wedding",
344 | "google.cooking",
345 | "google.one",
346 | "google.men",
347 | "google.win",
348 | "google.sydney",
349 | "google.surf",
350 | "google.vodka",
351 | "google.buzz",
352 | "google.science",
353 | "google.stream",
354 | "google.study",
355 | "google.rodeo",
356 | "google.work",
357 | "google.tv",
358 | "google.yoga",
359 | "google.wiki",
360 | "google.party",
361 | "google.porn",
362 | "google.horse",
363 | "google.courses",
364 | "google.trade",
365 | "google.tube",
366 | "google.taipei",
367 | "google.maori.nz",
368 | "google.soy",
369 | "google.qpon",
370 | "google.wales",
371 | "google.lu",
372 | "google.press",
373 | "google.mom",
374 | "google.camp",
375 | "google.how",
376 | "google.express",
377 | "google.bar",
378 | "google.mn",
379 | "google.eco",
380 | "google.lol",
381 | "google.dk",
382 | "google.tf",
383 | "google.gl",
384 | "google.capetown",
385 | "google.xyz",
386 | "google.education",
387 | "google.college",
388 | "google.nz",
389 | "google.global",
390 | "google.top",
391 | "google.click",
392 | "google.kim",
393 | "google.pw",
394 | "google.durban",
395 | "google.africa",
396 | "google.rest",
397 | "google.wang",
398 | "google.day",
399 | "google.finance",
400 | "google.scot",
401 | "google.joburg",
402 | "google.love",
403 | "google.legal",
404 | "google.domains",
405 | "google.pics",
406 | "google.asia",
407 | "google.immobilien",
408 | "google.kiwi",
409 | "google.yt",
410 | "google.mobi",
411 | "google.link",
412 | "google.art",
413 | "google.sx",
414 | "google.vg",
415 | "google.skin",
416 | "google.gift",
417 | "google.fun",
418 | "google.black",
419 | "google.beauty",
420 | "google.quest",
421 | "google.tokyo",
422 | "google.help",
423 | "google.gd",
424 | "google.onl",
425 | "google.co.za",
426 | "google.group",
427 | "google.quebec",
428 | "google.rent",
429 | "google.uno",
430 | "google.bio",
431 | "google.tc",
432 | "google.boats",
433 | "google.cloud",
434 | "google.tel",
435 | "google.parts",
436 | "google.news",
437 | "google.bid",
438 | "google.id",
439 | "google.glass",
440 | "google.red",
441 | "google.doctor",
442 | "google.watch",
443 | "google.video",
444 | "google.gs",
445 | "google.ec",
446 | "google.ms",
447 | "google.ht",
448 | "google.gy",
449 | "google.investments",
450 | "google.kitchen",
451 | "google.plus",
452 | "google.industries",
453 | "google.management",
454 | "google.moda",
455 | "google.repair",
456 | "google.memorial",
457 | "google.plumbing",
458 | "google.rehab",
459 | "google.pro",
460 | "google.lighting",
461 | "google.promo",
462 | "google.info",
463 | "google.photos",
464 | "google.place",
465 | "google.pictures",
466 | "google.pub",
467 | "google.partners",
468 | "google.ninja",
469 | "google.reisen",
470 | "google.recipes",
471 | "google.organic",
472 | "google.photography",
473 | "google.salon",
474 | "google.bike",
475 | "google.sc",
476 | "google.reviews",
477 | "google.family",
478 | "google.rip",
479 | "google.shopping",
480 | "google.green",
481 | "google.schule",
482 | "google.sarl",
483 | "google.school",
484 | "google.tours",
485 | "google.camera",
486 | "google.solutions",
487 | "google.productions",
488 | "google.software",
489 | "google.singles",
490 | "google.pet",
491 | "google.sh",
492 | "google.social",
493 | "google.rocks",
494 | "google.report",
495 | "google.shiksha",
496 | "google.hockey",
497 | "google.team",
498 | "google.poker",
499 | "google.lgbt",
500 | "google.vc",
501 | "google.insure",
502 | "google.tennis",
503 | "google.training",
504 | "google.vacations",
505 | "google.vin",
506 | "google.pt",
507 | "google.limited",
508 | "google.supply",
509 | "google.services",
510 | "google.toys",
511 | "google.tips",
512 | "google.technology",
513 | "google.support",
514 | "google.solar",
515 | "google.restaurant",
516 | "google.dental",
517 | "google.villas",
518 | "google.equipment",
519 | "google.surgery",
520 | "google.supplies",
521 | "google.town",
522 | "google.sale",
523 | "google.rentals",
524 | "google.coupons",
525 | "google.limo",
526 | "google.tax",
527 | "google.tools",
528 | "google.tienda",
529 | "google.zone",
530 | "google.wtf",
531 | "google.soccer",
532 | "google.vet",
533 | "google.pizza",
534 | "google.holdings",
535 | "google.works",
536 | "google.vision",
537 | "google.systems",
538 | "google.gripe",
539 | "google.today",
540 | "google.network",
541 | "google.golf",
542 | "google.vegas",
543 | "google.ventures",
544 | "google.voyage",
545 | "google.ski",
546 | "google.trading",
547 | "google.shoes",
548 | "google.show",
549 | "google.university",
550 | "google.wine",
551 | "google.theater",
552 | "google.world",
553 | "google.tl",
554 | "google.run",
555 | "google.vote"
556 | ]
557 | }
558 | }
559 | }
560 | }
561 | }
562 | }
563 | },
564 | "parameters": [
565 | {
566 | "description": "API.market API Key",
567 | "in": "header",
568 | "name": "x-magicapi-key",
569 | "value": "clp7flnx6000j3pifm3pinw92",
570 | "required": true,
571 | "schema": {
572 | "type": "string"
573 | }
574 | }
575 | ]
576 | }
577 | },
578 | "components": {
579 | "schemas": {
580 | "DomainRequest": {
581 | "type": "object",
582 | "properties": {
583 | "domain_name": {
584 | "type": "string"
585 | }
586 | },
587 | "example": {
588 | "domain_name": "google"
589 | }
590 | },
591 | "DomainAvailability": {
592 | "type": "object",
593 | "properties": {
594 | "available": {
595 | "type": "array",
596 | "items": {
597 | "type": "string"
598 | }
599 | },
600 | "taken": {
601 | "type": "array",
602 | "items": {
603 | "type": "string"
604 | }
605 | }
606 | },
607 | "example": {
608 | "available": [
609 | "google.design",
610 | "google.bz",
611 | "google.city",
612 | "google.studio",
613 | "google.style",
614 | "google.cn.com",
615 | "google.br.com",
616 | "google.jpn.com",
617 | "google.eu.com",
618 | "google.sa.com",
619 | "google.us.com",
620 | "google.ru.com",
621 | "google.za.com",
622 | "google.uk.com"
623 | ],
624 | "taken": [
625 | "google.shop",
626 | "google.jp",
627 | "google.de",
628 | "google.li",
629 | "google.lt",
630 | "google.hn",
631 | "google.fashion",
632 | "google.direct",
633 | "google.ai",
634 | "google.chat",
635 | "google.games",
636 | "google.cm",
637 | "google.immo",
638 | "google.life",
639 | "google.market",
640 | "google.money",
641 | "google.gr",
642 | "google.dev",
643 | "google.mx",
644 | "google.lc",
645 | "google.app",
646 | "google.health",
647 | "google.ae",
648 | "google.net.au",
649 | "google.vip",
650 | "google.au",
651 | "google.org.au",
652 | "google.com.ar",
653 | "google.ph",
654 | "google.id.au",
655 | "google.in",
656 | "google.cl",
657 | "google.es",
658 | "google.com.au",
659 | "google.pe",
660 | "google.page",
661 | "google.at",
662 | "google.as",
663 | "google.ch",
664 | "google.berlin",
665 | "google.accountant",
666 | "google.co.uk",
667 | "google.career",
668 | "google.be",
669 | "google.brussels",
670 | "google.ca",
671 | "google.co",
672 | "google.beer",
673 | "google.nl",
674 | "google.eu",
675 | "google.gg",
676 | "google.biz",
677 | "google.apartments",
678 | "google.club",
679 | "google.name",
680 | "google.sg",
681 | "google.actor",
682 | "google.cx",
683 | "google.accountants",
684 | "google.gay",
685 | "google.org",
686 | "google.mu",
687 | "google.codes",
688 | "google.builders",
689 | "google.boutique",
690 | "google.lat",
691 | "google.cards",
692 | "google.cheap",
693 | "google.gmail",
694 | "google.com.sg",
695 | "google.online",
696 | "google.center",
697 | "google.net",
698 | "google.bingo",
699 | "google.adult",
700 | "google.charity",
701 | "google.band",
702 | "google.coffee",
703 | "google.contact",
704 | "google.cab",
705 | "google.company",
706 | "google.associates",
707 | "google.attorney",
708 | "google.construction",
709 | "google.condos",
710 | "google.diamonds",
711 | "google.exchange",
712 | "google.computer",
713 | "google.democrat",
714 | "google.store",
715 | "google.careers",
716 | "google.academy",
717 | "google.contractors",
718 | "google.capital",
719 | "google.futbol",
720 | "google.engineer",
721 | "google.fan",
722 | "google.fish",
723 | "google.coach",
724 | "google.fail",
725 | "google.consulting",
726 | "google.flights",
727 | "google.energy",
728 | "google.cool",
729 | "google.community",
730 | "google.exposed",
731 | "google.dating",
732 | "google.fund",
733 | "google.haus",
734 | "google.gifts",
735 | "google.je",
736 | "google.is",
737 | "google.dog",
738 | "google.email",
739 | "google.discount",
740 | "google.koeln",
741 | "google.kaufen",
742 | "google.qa",
743 | "google.ryukyu",
744 | "google.claims",
745 | "google.fitness",
746 | "google.healthcare",
747 | "google.casino",
748 | "google.international",
749 | "google.it",
750 | "google.church",
751 | "google.to",
752 | "google.cafe",
753 | "google.boston",
754 | "google.dance",
755 | "google.okinawa",
756 | "google.bargains",
757 | "google.org.uk",
758 | "google.care",
759 | "google.gives",
760 | "google.lawyer",
761 | "google.marketing",
762 | "google.com",
763 | "google.wf",
764 | "google.engineering",
765 | "google.am",
766 | "google.se",
767 | "google.pm",
768 | "google.tech",
769 | "google.ltd",
770 | "google.hamburg",
771 | "google.clinic",
772 | "google.cc",
773 | "google.expert",
774 | "google.casa",
775 | "google.jetzt",
776 | "google.foundation",
777 | "google.guru",
778 | "google.catering",
779 | "google.holiday",
780 | "google.gen.nz",
781 | "google.site",
782 | "google.im",
783 | "google.clothing",
784 | "google.house",
785 | "google.website",
786 | "google.football",
787 | "google.co.nz",
788 | "google.space",
789 | "google.kiwi.nz",
790 | "google.school.nz",
791 | "google.forsale",
792 | "google.realestate",
793 | "google.cologne",
794 | "google.save",
795 | "google.events",
796 | "google.live",
797 | "google.agency",
798 | "google.jewelry",
799 | "google.blog",
800 | "google.ac.nz",
801 | "google.geek.nz",
802 | "google.farm",
803 | "google.cam",
804 | "google.cleaning",
805 | "google.gallery",
806 | "google.furniture",
807 | "google.com.sb",
808 | "google.fi",
809 | "google.lease",
810 | "google.lv",
811 | "google.ws",
812 | "google.ngo",
813 | "google.institute",
814 | "google.uk",
815 | "google.maison",
816 | "google.mba",
817 | "google.loans",
818 | "google.delivery",
819 | "google.re",
820 | "google.graphics",
821 | "google.estate",
822 | "google.guide",
823 | "google.financial",
824 | "google.me.uk",
825 | "google.fans",
826 | "google.vlaanderen",
827 | "google.fm",
828 | "google.florist",
829 | "google.cash",
830 | "google.credit",
831 | "google.cricket",
832 | "google.hospital",
833 | "google.digital",
834 | "google.directory",
835 | "google.nu",
836 | "google.land",
837 | "google.deals",
838 | "google.paris",
839 | "google.gold",
840 | "google.giving",
841 | "google.io",
842 | "google.ae.org",
843 | "google.pl",
844 | "google.dentist",
845 | "google.fyi",
846 | "google.cz",
847 | "google.degree",
848 | "google.net.nz",
849 | "google.ong",
850 | "google.wien",
851 | "google.build",
852 | "google.org.nz",
853 | "google.us",
854 | "google.mortgage",
855 | "google.bet",
856 | "google.tw",
857 | "google.pink",
858 | "google.enterprises",
859 | "google.business",
860 | "google.london",
861 | "google.best",
862 | "google.media",
863 | "google.fr",
864 | "google.date",
865 | "google.blue",
866 | "google.compare",
867 | "google.ag",
868 | "google.auction",
869 | "google.la",
870 | "google.bond",
871 | "google.garden",
872 | "google.host",
873 | "google.properties",
874 | "google.fit",
875 | "google.download",
876 | "google.earth",
877 | "google.fishing",
878 | "google.ac",
879 | "google.hair",
880 | "google.osaka",
881 | "google.miami",
882 | "google.melbourne",
883 | "google.moe",
884 | "google.photo",
885 | "google.menu",
886 | "google.nyc",
887 | "google.me",
888 | "google.faith",
889 | "google.archi",
890 | "google.homes",
891 | "google.review",
892 | "google.bayern",
893 | "google.tattoo",
894 | "google.racing",
895 | "google.select",
896 | "google.ink",
897 | "google.luxe",
898 | "google.wedding",
899 | "google.cooking",
900 | "google.one",
901 | "google.men",
902 | "google.win",
903 | "google.sydney",
904 | "google.surf",
905 | "google.vodka",
906 | "google.buzz",
907 | "google.science",
908 | "google.stream",
909 | "google.study",
910 | "google.rodeo",
911 | "google.work",
912 | "google.tv",
913 | "google.yoga",
914 | "google.wiki",
915 | "google.party",
916 | "google.porn",
917 | "google.horse",
918 | "google.courses",
919 | "google.trade",
920 | "google.tube",
921 | "google.taipei",
922 | "google.maori.nz",
923 | "google.soy",
924 | "google.qpon",
925 | "google.wales",
926 | "google.lu",
927 | "google.press",
928 | "google.mom",
929 | "google.camp",
930 | "google.how",
931 | "google.express",
932 | "google.bar",
933 | "google.mn",
934 | "google.eco",
935 | "google.lol",
936 | "google.dk",
937 | "google.tf",
938 | "google.gl",
939 | "google.capetown",
940 | "google.xyz",
941 | "google.education",
942 | "google.college",
943 | "google.nz",
944 | "google.global",
945 | "google.top",
946 | "google.click",
947 | "google.kim",
948 | "google.pw",
949 | "google.durban",
950 | "google.africa",
951 | "google.rest",
952 | "google.wang",
953 | "google.day",
954 | "google.finance",
955 | "google.scot",
956 | "google.joburg",
957 | "google.love",
958 | "google.legal",
959 | "google.domains",
960 | "google.pics",
961 | "google.asia",
962 | "google.immobilien",
963 | "google.kiwi",
964 | "google.yt",
965 | "google.mobi",
966 | "google.link",
967 | "google.art",
968 | "google.sx",
969 | "google.vg",
970 | "google.skin",
971 | "google.gift",
972 | "google.fun",
973 | "google.black",
974 | "google.beauty",
975 | "google.quest",
976 | "google.tokyo",
977 | "google.help",
978 | "google.gd",
979 | "google.onl",
980 | "google.co.za",
981 | "google.group",
982 | "google.quebec",
983 | "google.rent",
984 | "google.uno",
985 | "google.bio",
986 | "google.tc",
987 | "google.boats",
988 | "google.cloud",
989 | "google.tel",
990 | "google.parts",
991 | "google.news",
992 | "google.bid",
993 | "google.id",
994 | "google.glass",
995 | "google.red",
996 | "google.doctor",
997 | "google.watch",
998 | "google.video",
999 | "google.gs",
1000 | "google.ec",
1001 | "google.ms",
1002 | "google.ht",
1003 | "google.gy",
1004 | "google.investments",
1005 | "google.kitchen",
1006 | "google.plus",
1007 | "google.industries",
1008 | "google.management",
1009 | "google.moda",
1010 | "google.repair",
1011 | "google.memorial",
1012 | "google.plumbing",
1013 | "google.rehab",
1014 | "google.pro",
1015 | "google.lighting",
1016 | "google.promo",
1017 | "google.info",
1018 | "google.photos",
1019 | "google.place",
1020 | "google.pictures",
1021 | "google.pub",
1022 | "google.partners",
1023 | "google.ninja",
1024 | "google.reisen",
1025 | "google.recipes",
1026 | "google.organic",
1027 | "google.photography",
1028 | "google.salon",
1029 | "google.bike",
1030 | "google.sc",
1031 | "google.reviews",
1032 | "google.family",
1033 | "google.rip",
1034 | "google.shopping",
1035 | "google.green",
1036 | "google.schule",
1037 | "google.sarl",
1038 | "google.school",
1039 | "google.tours",
1040 | "google.camera",
1041 | "google.solutions",
1042 | "google.productions",
1043 | "google.software",
1044 | "google.singles",
1045 | "google.pet",
1046 | "google.sh",
1047 | "google.social",
1048 | "google.rocks",
1049 | "google.report",
1050 | "google.shiksha",
1051 | "google.hockey",
1052 | "google.team",
1053 | "google.poker",
1054 | "google.lgbt",
1055 | "google.vc",
1056 | "google.insure",
1057 | "google.tennis",
1058 | "google.training",
1059 | "google.vacations",
1060 | "google.vin",
1061 | "google.pt",
1062 | "google.limited",
1063 | "google.supply",
1064 | "google.services",
1065 | "google.toys",
1066 | "google.tips",
1067 | "google.technology",
1068 | "google.support",
1069 | "google.solar",
1070 | "google.restaurant",
1071 | "google.dental",
1072 | "google.villas",
1073 | "google.equipment",
1074 | "google.surgery",
1075 | "google.supplies",
1076 | "google.town",
1077 | "google.sale",
1078 | "google.rentals",
1079 | "google.coupons",
1080 | "google.limo",
1081 | "google.tax",
1082 | "google.tools",
1083 | "google.tienda",
1084 | "google.zone",
1085 | "google.wtf",
1086 | "google.soccer",
1087 | "google.vet",
1088 | "google.pizza",
1089 | "google.holdings",
1090 | "google.works",
1091 | "google.vision",
1092 | "google.systems",
1093 | "google.gripe",
1094 | "google.today",
1095 | "google.network",
1096 | "google.golf",
1097 | "google.vegas",
1098 | "google.ventures",
1099 | "google.voyage",
1100 | "google.ski",
1101 | "google.trading",
1102 | "google.shoes",
1103 | "google.show",
1104 | "google.university",
1105 | "google.wine",
1106 | "google.theater",
1107 | "google.world",
1108 | "google.tl",
1109 | "google.run",
1110 | "google.vote"
1111 | ]
1112 | }
1113 | }
1114 | }
1115 | },
1116 | "servers": [
1117 | {
1118 | "url": "http://api.magicapi.dev/api/v1/magicapi/domainchecker"
1119 | }
1120 | ],
1121 | "security": {},
1122 | "tags": []
1123 | }
```