-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathgpt-domain-bot.fly.dev.yaml
43 lines (42 loc) · 1.27 KB
/
gpt-domain-bot.fly.dev.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
openapi: 3.0.1
info:
title: Domain Search API
version: 1.0.0
servers:
- url: 'https://gpt-domain-bot.fly.dev'
paths:
/search:
get:
operationId: searchDomainsByName
parameters:
- name: name
in: query
required: true
description: Comma separated domain names to search
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
domains:
type: array
items:
type: object
properties:
name:
type: string
description: The domain name
available:
type: boolean
description: Whether the domain is available
register_link:
type: string
description: Registration link for the domain
error:
type: string
description: Error message if domain lookup fails