公開モデルのファイルを取る
GET
/api/v1/models/{id}/files/{name}
const url = 'https://spritestack.dev/api/v1/models/example/files/original.ss';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/example/files/original.ssParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
name
required
string
Responses
Section titled “Responses”モデル・作り直しの元・サムネイルのバイナリ
string format: binary
object
Example generated
{}string format: binary
公開モデルが見つからない
Media typeapplication/json
object
Example generated
{}