Skip to content

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

Merged
nathanfallet merged 1 commit into
mainfrom
feat/files-regen
Oct 28, 2026
Merged

nathanfallet merged 1 commit 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(bytes, filename, contentType) registers the file and PUTs its bytes (no API key on the PUT, retried on 429/5xx); the id goes in photoIds.
  • 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: 39 passed.

🤖 Generated with Claude Code

…d}) and add files()

Regenerated from the production spec: the files routes and the photoIds 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 77568c6 into main Oct 28, 2026
3 checks passed
@nathanfallet
nathanfallet deleted the feat/files-regen branch October 28, 2026 22:24
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