Hub

Publish a Flower app via multipart upload (used by `flwr app publish`).

Publish a Flower app via multipart upload (used by flwr app publish).

post/v1/hub/apps/publish

Request

  • Base URL
    https://api.flower.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flower.ai/v1/hub/apps/publish
  • Auth
    HTTP bearer

Request body multipart/form-data

filesstring[] required

All project files as multipart parts named 'file'. Each part's filename MUST be the project-relative path (e.g., 'pyproject.toml', 'src/main.py'). Allowed file types: .py, .toml, .md, .yaml, .yml, .json, .jsonl, .editorconfig, and .gitignore.

flwr_versionstring nullable

Optional Flower platform version making this request.

Response

Successful Response

app_idstring nullable
app_versionstring nullable
state'available' | 'rejected'

App version state values.

created_atstring date-time nullable

Changes

No recorded changes to this operation across all 28 revisions of this API.