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",
"createdPackages": [
{
"packageId": "string",
"versionId": "string",
"link": "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.createdPackages
: An array (may contain multiple items for multi-package files) with details of the newly created packages:packageId
: The unique identifier of the created package.versionId
: The unique identifier of the created package version.link
: A direct link to the uploaded package version in RepoFlow.