Upload Single Package
POST https://api.repoflow.io/1/workspaces/<workspace-ref>/repositories/<repository-ref>/packages/single
Upload a single package to a repository. You can include multiple files if they belong to the same package and version (for example, Maven .jar with pom.xml, or Conan recipe and binary files).
This endpoint works only with local repositories, or with virtual repositories that have a local repository configured as their upload target.
Minimum Permission: Can manage, Can Deploy • Authentication Not Required
Path Parameters
Workspace ID or name.
Repository ID or name.
Form Data
File(s) to upload, provided as form-data.
Repository-specific requirements:
- Universal: Required. May include multiple path segments, such as
team/platform/tool. It must not start or end with/, contain consecutive/, or exceed 500 characters. - Conan: Required only when RepoFlow cannot detect the name from
conanfile.py. You may include a user and channel usingname@user/channel, such aszlib@mycompany/stable.
Repository-specific requirements:
- Universal and Composer: Required.
- Conan: Required only when RepoFlow cannot detect the version from
conanfile.py. - Maven: Required only when the POM project version contains an unresolved property expression such as
${revision},${sha1}, or${changelist}. Omit it for a concrete POM version.
Debian repository component. Allowed: main, restricted, universe, multiverse.
Debian distribution (trusty, xenial, bionic, focal, jammy, noble, resolute, buster, bullseye, bookworm, trixie, stable).
Conan binary package ID. Required only when uploading conan_package.tgz without conaninfo.txt.