This page is a translation of the Japanese version. The Japanese version is authoritative; if they differ, follow the Japanese version.
公開モデルを検索する
GET
/api/v1/models
const url = 'https://spritestack.dev/api/v1/models?license=CC0-1.0&limit=20&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://spritestack.dev/api/v1/models?license=CC0-1.0&limit=20&offset=0'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
string
名前(title・日本語名・英語名)・説明文・タグを検索。最大 5 語。
license
string
hasSource
boolean
limit
integer
offset
integer
Responses
Section titled “Responses”モデルの一覧と次の開始位置
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string
title
required
ファイルの name。識別のための名前。
string
titleJa
required
日本語名。titleJa と titleEn の少なくとも一方は null でない。
string | null
titleEn
required
英語名。画面の言語に合う名前が無いときは他方を、それも無いときは title を出す。
string | null
author
required
string
license
required
string
licenseLabel
required
string
tags
required
Array<string>
hasSource
required
boolean
size
required
Array<integer>
thumbnailUrl
required
string format: uri
pageUrl
required
string format: uri
apiUrl
required
string format: uri
publishedAt
required
string format: date-time
nextOffset
required
integer | null
Example
{ "items": [ { "license": "CC0-1.0" } ]}入力の形が不正
Media typeapplication/json
object
Example generated
{}