GET /api/articles/:id/chart
Public access · HTTP API reference
All endpoints · Authentication and retries · Download OpenAPI
- The successful response contains stored image/file bytes. Its Content-Type identifies the representation. Check headers.txt before opening response.bin; an unsuccessful response can contain JSON instead.
Request
| Parameter | Location | Type and requirement |
|---|---|---|
id | path | string · required |
No request body.
Example
Examples use fictional data. Replace identifiers with resources you can access. For account requests, cookies.txt must contain your own session; set CSRF_TOKEN to the matching CSRF cookie value where required.
cURL (POSIX shell)
curl --dump-header headers.txt --output response.bin \
--request GET \
'https://api.weavers.app/api/articles/1/chart'Responses
200 · Successful response.
*/*
View response model
string
304 · Cached representation is still current; no body.
No JSON response body. Check the status and headers.
400 · Invalid request.
application/json
400 example · synthetic data
{
"error": "example"
}View response model
error required · stringAdditional fields: JSON values.
404 · Resource or enabled capability not found.
application/json
404 example · synthetic data
{
"error": "example"
}View response model
error required · stringAdditional fields: JSON values.
429 · Rate limit reached; honor Retry-After when supplied.
application/json
429 example · synthetic data
{}View response model
Error envelopes can include resource-specific details. Check the status before reading these fields.
error optional · stringcode optional · stringmessage optional · stringAdditional fields: JSON values.
500 · Server failure.
application/json
500 example · synthetic data
{
"error": "example"
}View response model
Variant 1: object
error required · stringAdditional fields: JSON values.