Upload a file to a generic package subdirectory
One step with GitLab. We can help you get access.
Get something done
Upload a file to a generic package subdirectory
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Packages API lets you upload a file to a generic package subdirectory in a single step (PUT /api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{path}/{file_name}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I upload a file to a subdirectory inside a generic package?
- Is it possible to set a status on a generic package file uploaded to a subdirectory?
Say it to your AI assistant
- Upload {file} to subdirectory {path} of generic package {package_name} {package_version} in project {id}.
- Publish {file} as file {file_name} in subdirectory {path} of generic package {package_name} {package_version} in project {id}.
For your developer
PUT /api/v4/projects/{id}/packages/generic/{package_name}/{package_version}/{path}/{file_name} in GitLab REST Packages API. Full spec on APIs.io.