You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/projects/assets/api.md
+1-271Lines changed: 1 addition & 271 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,277 +9,7 @@ Each API requires a URL and custom search parameters for that specific catalog.
9
9
10
10
## Creator Store API
11
11
12
-
<Alertseverity="info">
13
-
The `toolbox-service` API described below is not currently covered on the official [Cloud API](../../cloud/index.md) documentation. Better support for Creator Store search with a cleaner API is underway.
14
-
</Alert>
15
-
16
-
You can query items from the Creator Store catalog using the following URL:
<td>A flag to include only results from verified creators. Verified creators are those that are ID or phone verified.</td>
137
-
</tr>
138
-
<tr>
139
-
<td>minPriceInCents</td>
140
-
<td>int64</td>
141
-
<td>Minimum cost in cents (only applicable to plugins)</td>
142
-
</tr>
143
-
<tr>
144
-
<td>maxPriceInCents</td>
145
-
<td>int64</td>
146
-
<td>Maximum cost in cents (only applicable to plugins)</td>
147
-
</tr>
148
-
</tbody>
149
-
</table>
150
-
151
-
For more details regarding `toolbox-service`, please refer to the updated documentation below.
152
-
153
-
This is a sample response from the endpoint:
154
-
155
-
```json
156
-
{
157
-
"totalResults": int,
158
-
"filteredKeyword": string,
159
-
"spellCheckerResult": {
160
-
"correctionState": int,
161
-
"correctedQuery": string,
162
-
"userQuery": string
163
-
},
164
-
"queryFacets": {
165
-
"appliedFacets": Array[string],
166
-
"availableFacets": Array[string]
167
-
},
168
-
"imageSearchStatus": int,
169
-
"previousPageCursor": string,
170
-
"nextPageCursor": string,
171
-
"data": [
172
-
{
173
-
"id": int,
174
-
"name": string,
175
-
"searchResultSource": string
176
-
}
177
-
]
178
-
}
179
-
```
180
-
181
-
To get back the asset metadata, you can go over the data array and extract the IDs with the `GetItemDetails` endpoint on `toolbox-service` like this:
182
-
183
-
```bash
184
-
GET https://apis.roblox.com/toolbox-service/v1/items/details?assetIds={assetId1}%2C{assetId2}
185
-
```
186
-
187
-
### Response fields
188
-
189
-
This is the response you should expect to get back from that endpoint:
190
-
191
-
```json
192
-
{
193
-
"data": [
194
-
{
195
-
"asset": {
196
-
"audioDetails": {
197
-
"audioType": Array[int],
198
-
"artist": string,
199
-
"title": string,
200
-
"musicAlbum": string,
201
-
"musicGenre": string,
202
-
"soundEffectCategory": string,
203
-
"soundEffectSubcategory": string,
204
-
"tags": Array[string]
205
-
},
206
-
"id": int64,
207
-
"name": string,
208
-
"typeId": int,
209
-
"assetSubTypes": Array[string],
210
-
"assetGenres": Array[string],
211
-
"ageGuidelines":{
212
-
"ageGuideline: int,
213
-
"blood": {
214
-
"realism": int,
215
-
"level": int
216
-
},
217
-
"violence": {
218
-
"intensity": int
219
-
},
220
-
"profanity": {
221
-
"presence": int
222
-
},
223
-
"alcohol": {
224
-
"presence": int
225
-
},
226
-
"romance": {
227
-
"type": int
228
-
}
229
-
},
230
-
"isEndorsed": bool,
231
-
"description": string,
232
-
"duration": int,
233
-
"hasScripts": bool?,
234
-
"createdUtc": string($date-time),
235
-
"updatedUtc": string($date-time),
236
-
"creatingUniverseId": int64?,
237
-
"isAssetHashApproved": bool,
238
-
"visibilityStatus": int?,
239
-
"socialLinks": [{
240
-
"linkType": int,
241
-
"url": string,
242
-
"title": string
243
-
}]
244
-
},
245
-
"creator": {
246
-
"id": int64,
247
-
"name": string,
248
-
"type": int,
249
-
"isVerifiedCreator": bool,
250
-
"latestGroupUpdaterUserId": int64?,
251
-
"latestGroupUpdaterUserName": string
252
-
},
253
-
"voting": {
254
-
"showVotes": bool,
255
-
"upVotes": int64,
256
-
"downVotes": int64,
257
-
"canVote": bool,
258
-
"userVote": bool?,
259
-
"hasVoted": bool,
260
-
"voteCount": int64,
261
-
"upVotePercent": int
262
-
},
263
-
"product": {
264
-
"productId": int64,
265
-
"price": int64?,
266
-
"isForSaleOrIsPublicDomain": bool
267
-
},
268
-
"fiatProduct": {
269
-
"purchasePrice": {
270
-
"currencyCode": string,
271
-
"quantity": {
272
-
"significand": int64,
273
-
"exponent": int
274
-
}
275
-
},
276
-
"published": bool,
277
-
"purchasable": bool
278
-
}
279
-
}
280
-
]
281
-
}
282
-
```
12
+
For information on making calls to the Creator Store API for search, see Toolbox Service in the [Open Cloud reference](../../cloud/features/creator-store.md#toolbox-service).
Copy file name to clipboardExpand all lines: content/en-us/reference/cloud/assets/v1.json
+8-28Lines changed: 8 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,7 @@
37
37
"description": "The binary asset file path and the content type. See [Asset types and limits](../../../cloud/guides/usage-assets.md#supported-asset-types-and-limits)."
38
38
}
39
39
},
40
-
"required": [
41
-
"request",
42
-
"fileContent"
43
-
]
40
+
"required": ["request", "fileContent"]
44
41
}
45
42
}
46
43
}
@@ -176,9 +173,7 @@
176
173
"roblox-oauth2": ["asset:read"]
177
174
}
178
175
],
179
-
"x-roblox-scopes": [
180
-
{ "name": "asset:read" }
181
-
],
176
+
"x-roblox-scopes": [{ "name": "asset:read" }],
182
177
"x-roblox-cloud-api-operation-code-samples": [
183
178
{
184
179
"language": "Get Asset without readMask",
@@ -254,10 +249,7 @@
254
249
"description": "The binary asset file path and the content type. See [Asset types and limits](../../../cloud/guides/usage-assets.md#supported-asset-types-and-limits)."
255
250
}
256
251
},
257
-
"required": [
258
-
"request",
259
-
"fileContent"
260
-
]
252
+
"required": ["request", "fileContent"]
261
253
}
262
254
}
263
255
}
@@ -542,9 +534,7 @@
542
534
"roblox-oauth2": ["asset:read"]
543
535
}
544
536
],
545
-
"x-roblox-scopes": [
546
-
{ "name": "asset:read" }
547
-
],
537
+
"x-roblox-scopes": [{ "name": "asset:read" }],
548
538
"x-roblox-cloud-api-operation-code-samples": [
549
539
{
550
540
"language": "Get Asset Version",
@@ -631,9 +621,7 @@
631
621
"roblox-oauth2": ["asset:read"]
632
622
}
633
623
],
634
-
"x-roblox-scopes": [
635
-
{ "name": "asset:read" }
636
-
],
624
+
"x-roblox-scopes": [{ "name": "asset:read" }],
637
625
"x-roblox-cloud-api-operation-code-samples": [
638
626
{
639
627
"language": "List Asset Versions",
@@ -691,9 +679,7 @@
691
679
"description": "The asset version path in the format of `assets/{assetId}/versions/{versionNumber}`."
692
680
}
693
681
},
694
-
"required": [
695
-
"assetVersion"
696
-
]
682
+
"required": ["assetVersion"]
697
683
}
698
684
}
699
685
}
@@ -809,9 +795,7 @@
809
795
"roblox-oauth2": ["asset:read"]
810
796
}
811
797
],
812
-
"x-roblox-scopes": [
813
-
{ "name": "asset:read" }
814
-
],
798
+
"x-roblox-scopes": [{ "name": "asset:read" }],
815
799
"x-roblox-cloud-api-operation-code-samples": [
816
800
{
817
801
"language": "Get Operation",
@@ -1028,11 +1012,7 @@
1028
1012
"State": {
1029
1013
"type": "string",
1030
1014
"description": "Whether the asset is active or archived. Unspecified isn't used.",
0 commit comments