821 B
821 B
artcraft_client
HTTP API client for Artcraft / Storyteller, including the API type definitions.
Structure
api_defs/— request/response type definitions, organized by feature:users/,media_file/,jobs/,moderation/, etc. (Formerly the separateartcraft_api_defscrate; merged here since this repo has no server to share them with.)endpoints/— one function per HTTP endpointcredentials/— session/cookie plumbingdatatypes/,error/,recipes/,utils/— support code
Conventions
- Request types:
#[derive(Deserialize)] - Response types:
#[derive(Serialize)] - Path params:
#[derive(Deserialize)]withPathInfosuffix
Dependencies
Keep api_defs/ light: only serde, serde_derive, chrono, url, and
internal schema crates (enums, tokens).