packages_composer

Create a package

Creates a Composer package from a specified Git tag or branch for a project.

post/api/v4/projects/{id}/packages/composer

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of a project

Request body

branchstring

The name of the branch

tagstring

The name of the tag

Example request

{
  "branch": "release",
  "tag": "v1.0.0"
}

Response

Create a package

Changes

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