V1 / Shaders
Get a shader
Fetch one shader including its vetted `program` — the only source a client should compile. Status is enforced here on every request, which is what makes revoking a working kill switch: a quarantined or revoked shader returns 410 and stops loading everywhere immediately.
V1 / Shaders
Get a shader
Fetch one shader including its vetted `program` — the only source a client should compile. Status is enforced here on every request, which is what makes revoking a working kill switch: a quarantined or revoked shader returns 410 and stops loading everywhere immediately.
GET
/api/v1/shaders/:idResponses
200
JSON { doc }
404
No such shader
410
Shader is quarantined or revoked
Request
curl -X GET "http://localhost:3000/api/v1/shaders/:id" \
-H "Authorization: Bearer YOUR_API_TOKEN"Response
// JSON { doc }
{
"success": true,
"data": { ... }
}