-
Notifications
You must be signed in to change notification settings - Fork 16
/
chatgpt-plugin-dot-turing-gpt.uc.r.appspot.com.yaml
154 lines (154 loc) · 5.25 KB
/
chatgpt-plugin-dot-turing-gpt.uc.r.appspot.com.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
openapi: 3.1.0
info:
title: turing_developer
description: Search the world's most deeply vetted developers from Turing.com. You can specify criteria like skills (keywords), years of experience, budget, and location (continent). It returns an list of developers matching the search parameters.
version: 1.0.0
servers:
- url: https://chatgpt-plugin-dot-turing-gpt.uc.r.appspot.com/
paths:
/search_developers:
post:
summary: Search for developer profiles
operationId: search_developers
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SearchDevelopersRequest'
responses:
"200":
description: The search was successful and returns an array of developer profiles that match the search parameters. Each item in the array represents a developer profile, including the name and profile link of the developer.
content:
application/json:
schema:
$ref: '#/components/schemas/SearchDevelopersResponse'
"400":
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
"422":
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/.well-known/ai-plugin.json:
get:
summary: Get the AI plugin manifest file
operationId: get_manifest
responses:
"200":
description: The AI plugin manifest file
content:
application/json:
schema:
type: object
"404":
description: Not Found
/.well-known/logo.png:
get:
summary: Get the Turing logo image file
operationId: get_logo
responses:
"200":
description: The Turing logo image file
content:
image/png:
schema:
type: string
format: binary
"404":
description: Not Found
/.well-known/openapi.yaml:
get:
summary: Get the OpenAPI specification file
operationId: get_openapi
responses:
"200":
description: The OpenAPI specification file
content:
application/x-yaml:
schema:
type: string
format: binary
"404":
description: Not Found
components:
schemas:
SearchDevelopersRequest:
type: object
properties:
keywords:
type: array
items:
type: string
description: An array of technology names (e.g., "React", "Next.js") to search for in developer profiles.
example: ["React", "Next.js"]
experience:
type: integer
minimum: 0
maximum: 40
description: The desired minimum years of experience for the developer, ranging from 0 to 40 years.
example: 3
budget:
type: integer
minimum: 500
maximum: 100000
description: The budget for the developer, ranging from 500 to 100,000 USD.
example: 5000
continents:
type: array
items:
type: string
enum: ["Asia", "Europe", "Antarctica", "Africa", "Oceania", "North America", "South America"]
description: The continents where you are searching for developers. The possible values are the names of the seven continents.
example: ["North America", "Asia"]
page:
type: integer
minimum: 1
description: The page number for the search results, ranging from 1 to 3. Max 15 results. 5 results per page. If the total results span across multiple pages, you can navigate through them using this parameter.
example: 1
SearchDevelopersResponse:
type: object
properties:
developers:
type: array
items:
type: object
properties:
name:
type: string
description: The full name of the developer.
example: "John Doe"
profileLink:
type: string
description: The URL of the developer's profile on the Turing platform.
example: "https://www.turing.com/developer/johndoe"
HTTPValidationError:
type: object
properties:
detail:
type: array
items:
$ref: '#/components/schemas/ValidationError'
ValidationError:
required:
- code
properties:
loc:
type: array
items:
type: string
description: The location in the request where the validation error occurred.
example: ["body", "experience"]
msg:
type: string
description: A human-readable message providing more details about the validation error.
example: "Value is too small"
type:
type: string
description: The type of the validation error (e.g., "value_error.number.not_gt" for a value that is not greater than some other value).
example: "value_error.number.not_gt"