-
Notifications
You must be signed in to change notification settings - Fork 16
/
assetovi.com.yaml
183 lines (183 loc) · 5.9 KB
/
assetovi.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
openapi: 3.0.1
info:
title: Asset Ovi
description: Search 3D assets for games, AIGC, AR/VR and others.
version: "v1"
servers:
- url: https://assetovi.com
paths:
/v1/ovisearch/categories:
get:
operationId: categories
summary: Retrieves all categories. Display results using markdown.
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/getCategoriesResponse"
"400":
description: Error occurred when process the request.
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: The internal error code for this error.
message:
type: string
description: The error message of this error.
/v1/ovisearch/assets:
get:
operationId: assets
summary: Retrieves all assets that match the filters specified by the args. Please specify the search target and fuzzy search is not supported now.
parameters:
- in: query
name: count
schema:
type: integer
description: The count of results to return. The max value of count is 50.
- in: query
name: offset
schema:
type: integer
description: The start offset of results to return.
- in: query
name: keywords
schema:
type: string
description: Used to filter assets based on their name.
- in: query
name: categoryIds
schema:
type: array
items:
type: string
description: Filter by category ids. Category ids can be determined using the getCategories function.
- in: query
name: colors
schema:
type: array
items:
type: string
description: Used to filter assets based on their color.
- in: query
name: tags
schema:
type: array
items:
type: string
description: Used to filter assets based on their tags.
- in: query
name: min_polygon
schema:
type: integer
description: The minimal count of polygons in the asset.
- in: query
name: max_polygon
schema:
type: integer
description: The max count of polygons in the asset.
- in: query
name: animated
schema:
type: string
description: true or false. This is used to select assets that has animation or not.
- in: query
name: free
schema:
type: string
description: true or false. This is used to select assets is free or not.
- in: query
name: rigged
schema:
type: string
description: true or false. This is used to select assets that has rigged or not.
responses:
"200":
description: OK
content:
application/json:
schema:
$ref: "#/components/schemas/getAssetsResponse"
"400":
description: Error occurred when process the request.
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: The internal error code for this error.
message:
type: string
description: The error message of this error.
components:
schemas:
getCategoriesResponse:
type: object
properties:
results:
type: array
items:
type: object
properties:
id:
type: integer
description: The id of category.
name:
type: string
description: The name of category.
getAssetsResponse:
type: object
properties:
results:
type: array
items:
type: object
properties:
name:
type: string
description: The name of the asset.
description:
type: string
description: The description of the asset.
category:
type: string
description: The category name of the asset.
sourceUrl:
type: string
description: The source url of the asset.
tags:
type: array
items:
type: string
description: The tag list of the asset.
image:
type: string
description: The image of the asset.
polygons:
type: int
description: The polygon count of the asset.
free:
type: bool
description: Whether the asset is free or not.
rigged:
type: bool
description: Whether the asset has rig or not.
animated:
type: string
description: The animated count of the asset.
colors:
type: array
items:
type: string
description: The color list of the asset.
description: The list of assets.
total:
type: integer
description: The count of assets in response.