Skip to main content

Upload Packages

Upload Multiple packages

To upload packages, the REST request should include the following information:

  • Endpoint: https://api.repoflow.io/upload/<workspace-name>/<repo-name>
  • Method: POST
  • Form Data:
    • packageFiles: The files to be uploaded. This should be included as form-data in the request.

Note: This API does not support Maven, Debian, Universal and Composer package types. Please use the single package upload API.

Upload Response

The RepoFlow Server will always return a response with status 200, containing an array of result objects with the following structure:

[
{
"packageFileName": "string",
"isSucceeded": true,
"errorMessage": "string"
}
]
  • packageFileName: The name of the uploaded package file.
  • isSucceeded: A boolean indicating whether the upload was successful.
  • errorMessage: A string containing an error message if the upload failed.