Docs

Site icons

Get a site icon

GET/v1/icons/{sha256}
Terminal
curl 'https://api.fous.com/v1/icons/{sha256}'

A stored site icon, immutable and cacheable, addressed by its content hash.

Authentication

This endpoint does not require an API key.

Parameters

NameLocationRequiredTypeDescription
sha256pathYesstring

Responses

200

The icon image.

image/*

Type: string.

Errors

StatusDescription
400Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
401Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. WWW-Authenticate: Bearer authentication challenge; invalid or expired keys use invalid_token.
402Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
403Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
404Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
408Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
409Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
413Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
422Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
429Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. Retry-After: Seconds to wait before retrying.
500Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
502Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.
503Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. Retry-After: Seconds to wait before retrying.
504Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry.

Failures use the shared Error schema. See errors and limits for codes, retry behavior, and streaming exceptions.