Skip to content

feat: file upload routes (POST /files, GET /files/{id}) - #13

Merged
nathanfallet merged 2 commits into
mainfrom
feat/files-regen
Oct 28, 2026
Merged

nathanfallet merged 2 commits into
mainfrom
feat/files-regen

Conversation

@nathanfallet

Copy link
Copy Markdown
Member

Regenerated from the production spec (backend 2.143.0, API-037): POST /api/public/v1/files and GET /api/public/v1/files/{id}.

  • client.files.register / get wrap the generated routes; client.files.upload(data, filename, content_type) registers the file and PUTs its bytes (no API key on the PUT, retried on 429/5xx); the id goes in photo_ids.
  • Tests (register + get + upload with a retried PUT, refused PUT as a typed error) and a README example.
  • No version bump, no release: merging publishes nothing (API-018).

Tests: 45 passed.

🤖 Generated with Claude Code

…d}) and add files.upload

Regenerated from the production spec: the files routes and the photo_ids documentation.
files.register and files.get wrap them; files.upload registers a file and PUTs its bytes (no API key on the PUT,
retried like any call). Not released by this change.
@nathanfallet
nathanfallet merged commit cf2ce85 into main Oct 28, 2026
3 checks passed
@nathanfallet
nathanfallet deleted the feat/files-regen branch October 28, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant