This page is a translation of the Japanese version. The Japanese version is authoritative; if they differ, follow the Japanese version.
モデルの情報・作り直しの元の有無・系譜・ファイルの URL を取る
GET
/api/v1/models/{id}
const url = 'https://spritestack.dev/api/v1/models/example';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/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”モデルの詳細
Media typeapplication/json
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
description
required
string
format
required
ファイルの中の印。
string
formatVersion
required
integer
files
required
object
original
required
string format: uri
preview
required
string format: uri
thumbnail
required
string format: uri
source
required
作り直しの元がない場合は null。
string | null format: uri
derivedFrom
required
元のモデルの帰属情報。派生でなければ null。元が非公開なら pageUrl は null。
object
id
required
string
title
required
元のモデルを上げたときのファイルの name。
string
titleJa
required
元のモデルの日本語名。元が非公開なら null。
string | null
titleEn
required
元のモデルの英語名。元が非公開なら null。
string | null
author
required
string
license
required
string
licenseLabel
required
string
pageUrl
required
string | null format: uri
derivatives
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
Example
{ "license": "CC0-1.0", "format": "ss", "formatVersion": 1, "derivedFrom": { "license": "CC0-1.0" }, "derivatives": [ { "license": "CC0-1.0" } ]}公開モデルが見つからない
Media typeapplication/json
object
Example generated
{}