Site icons
Get a site icon
GET
/v1/icons/{sha256}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
| Name | Location | Required | Type | Description |
|---|---|---|---|---|
sha256 | path | Yes | string |
Responses
200
The icon image.
image/*
Type: string.
Errors
| Status | Description |
|---|---|
| 400 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 401 | Standard 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. |
| 402 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 403 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 404 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 408 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 409 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 413 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 422 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 429 | Standard 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. |
| 500 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 502 | Standard error. Branch on error.code; error.retryable says whether the same request can succeed later, and error.doc_url links the code’s entry. |
| 503 | Standard 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. |
| 504 | Standard 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.