Skip to content

Commit f30d99a

Browse files
committed
fix lint
1 parent 061bc43 commit f30d99a

File tree

1 file changed

+16
-22
lines changed
  • content/en-us/projects/assets

1 file changed

+16
-22
lines changed

content/en-us/projects/assets/api.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ Each API requires a URL and custom search parameters for that specific catalog.
1212
> [!NOTE]
1313
> We acknowledge that the toolbox-service API described below is not covered on the official Cloud APIs documentation. We are planning to better support Creator Store search with a cleaner API in future, stay tuned for updates.
1414
15-
1615
You can query items from the Creator Store catalog using the following URL:
1716
`https://apis.roblox.com/toolbox-service/v1/marketplace/{categoryId}[params]`
1817

1918
You can replace `[categoryId]` and `[params]` with the appropriate [query parameters](#query-parameters) to customize your search.
2019

21-
### CategoryId:
20+
### CategoryId
2221

2322
Valid categoryIds are:
2423

@@ -32,8 +31,6 @@ Video = 62
3231
FontFamily = 73
3332
Music = 300
3433

35-
36-
3734
### Query Parameters
3835

3936
You can specify search parameters by appending a series of parameters and values to the URL, each separated by a `&`.
@@ -53,18 +50,18 @@ Use the following parameters to query the Creator Store:
5350
<td>categoryId (path)</td>
5451
<td>int</td>
5552
<td>
56-
Audio = 3<br>
57-
Model = 10<br>
58-
Decal = 13<br>
59-
Animation = 24<br>
60-
Plugin = 38<br>
61-
MeshPart = 40<br>
62-
Video = 62<br>
63-
FontFamily = 73<br>
64-
Music = 300<br>
65-
SoundEffect = 301<br>
66-
UnknownAudio = 302<br>
67-
Package = 1001<br>
53+
Audio = 3 <br></br>
54+
Model = 10 <br></br>
55+
Decal = 13 <br></br>
56+
Animation = 24 <br></br>
57+
Plugin = 38 <br></br>
58+
MeshPart = 40 <br></br>
59+
Video = 62 <br></br>
60+
FontFamily = 73 <br></br>
61+
Music = 300 <br></br>
62+
SoundEffect = 301 <br></br>
63+
UnknownAudio = 302 <br></br>
64+
Package = 1001 <br></br>
6865
SharedPackage = 1002
6966
</td>
7067
</tr>
@@ -177,12 +174,11 @@ Use the following parameters to query the Creator Store:
177174
</tbody>
178175
</table>
179176

180-
181177
For more detailed documentation regarding the toolbox-service, please refer to the updated documentation at creator store API.
182178

183179
This is a sample response from the endpoint:
184180

185-
```
181+
```json
186182
{
187183
"totalResults": int,
188184
"filteredKeyword": string,
@@ -210,16 +206,15 @@ This is a sample response from the endpoint:
210206

211207
To get back the asset metadata, you would go over the data array and extract the ids, call the GetItemDetails endpoint on toolbox-service like this:
212208

213-
```
209+
```bash
214210
GET https://apis.roblox.com/toolbox-service/v1/items/details?assetIds={assetId1}%2C{assetId2}
215211
```
216212

217213
### Response Fields
218214

219-
220215
This is the response you should expect to get back from that endpoint:
221216

222-
```
217+
```json
223218
{
224219
"data": [
225220
{
@@ -312,7 +307,6 @@ This is the response you should expect to get back from that endpoint:
312307
}
313308
```
314309

315-
316310
## Marketplace API
317311

318312
You can query avatar items from the Marketplace using the following URL:

0 commit comments

Comments
 (0)