Skip to main content

CreateChangeRequest

create change request

Path Parameters
  • owner required

    The owner of the repository, generally called "username". The name is not case sensitive.

  • repo required

    repository name, the name is not case sensitive

Header Parameters
  • Authorization required

    Oauth2 token or private token (needs to start with Bearer plus a space)

Request Body
  • title string

    cr title

  • body string

    cr description

  • head string

    Source branch, when creating a cross-database CR, the format is: '[<src_org>|<src_username>]:<src_branch>'. If you create a change request for the same library, just pass <src_branch>.

  • base string

    Target branch, format: '<dst_branch>'

  • draft boolean

    true means creating a draft (in-progress) change request, false means creating a published change request. Default value: false

Responses

created

Loading...