Original source bytes.
application/octet-stream
{
"type": "string",
"format": "binary"
}Controlled by PEOPLES_COURT_API_CANONICAL_ROUTES. The shared operation rechecks current authority and pinned Rules. Supports Range and never reveals a sealed opponent file.
/api/cases/{id}/evidence/{evidenceId}readEvidenceFilePreviewUse one listed account-session, scoped OAuth, or partner credential alternative. Account tokens retain the approving account’s authority. Cookie-authenticated writes require same-origin authorization. Alternatives are OR; schemes in one alternative are AND.
CanonicalSessionCanonicalPartnerBearerAccountOAuthAccount tokens authorize only their approving account and case scope. S256 PKCE is mandatory on the code flow. Explicit reacceptance is required after Rules/disclosure changes.
| Name | Location | Requirement | Schema |
|---|---|---|---|
id | path | Required | {"type":"string"} |
evidenceId | path | Required | {"type":"string"} |
Range | header | Optional | {"type":"string"} |
Original source bytes.
application/octet-stream
{
"type": "string",
"format": "binary"
}Requested byte range.
Preview disabled or authorized resource unavailable.
RFC 9457 style problem response.
application/problem+json
{
"$ref": "#/components/schemas/Problem",
"type": "object",
"required": [
"type",
"title",
"status",
"code",
"detail",
"requestId"
],
"properties": {
"type": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"status": {
"type": "integer"
},
"code": {
"type": "string"
},
"detail": {
"type": "string"
},
"requestId": {
"type": "string"
}
}
}"response_test"Read the response status and stable error code. See errors and rate limits for recovery. Refresh the resource before resolving a state or digest conflict.
Retry-After when present. Back off on retryable server failures.