Create a new branch
Changed onCreates a new branch for the artifact. A new branch consists of metadata and a list of versions.
This operation can fail for the following reasons:
- No artifact with this groupId and artifactId exists (HTTP error 404)
- A branch with the given branchId already exists (HTTP error 409)
- A server error occurred (HTTP error 500)
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"branchId": "1.0.x",
"description": "The description of the branch."
}Response
Branch successfully created.
Example response
{
"groupId": "ExampleGroup",
"artifactId": "ExampleArtifact",
"branchId": "1.0.x",
"description": "Just an example branch.",
"systemDefined": false,
"createdOn": "2018-02-10T09:30Z",
"modifiedBy": "user1",
"modifiedOn": "2020-02-10T09:30Z",
"owner": "user2"
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info