-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathwww.phloxcorp.io.yaml
87 lines (87 loc) · 2.43 KB
/
www.phloxcorp.io.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
openapi: 3.0.1
info:
title: Wishbucket
description: Allows user to search among all South Korean shopping platforms using ChatGPT. If you do not know the user's desired price range, or name of preferred brand or store, ask the user before making queries to the plugin.
version: '0.1'
servers:
- url: https://pickin2.phloxcorp.io
paths:
/search:
get:
description: Accepts a search query and returns a list of items.
operationId: getSearch
parameters:
- name: queryInEnglish
in: query
schema:
type: string
description: The search query in English.
required: true
- name: queryInKorean
in: query
schema:
type: string
description: The search query in Korean.
required: true
- name: maxPrice
in: query
schema:
type: string
description: The maximum price.
- name: minPrice
in: query
schema:
type: string
description: The minimum price.
- name: brandName
in: query
schema:
type: string
description: The name of brand to filter by.
- name: storeName
in: query
schema:
type: string
description: The name of store to filter by.
responses:
'200':
description: OK
content:
application/json; charset=utf-8:
schema:
$ref: '#/components/schemas/searchResponse'
components:
schemas:
searchResponse:
type: object
properties:
totalCount:
type: integer
description: The number of returned items.
items:
type: array
items:
type: object
properties:
id:
type: integer
itemName:
type: string
brandName:
type: string
storeName:
type: string
itemLink:
type: string
price:
type: integer
currency:
type: string
tags:
type: array
items:
type: string
likeCount:
type: integer
description: The number of likes each item has received.
description: The list of items.