Skip to main content

SaveRepoConent

save repo content

Request Body
  • message string

    commit message

  • content string

    File content, encoded using Base64.

  • sha string

    If it is an update file, change the field to required. Just submit the SHA value.

  • branch string

    branch name ,Default:repository's default branch'

  • committer object

    commitor. Default value - The currently authenticated user."

  • name string

    The name of the commitor. If you omit this field, you will receive a 422 status code.

  • email string

    commitor's email. If you omit the email, you will receive a 422 status code.

  • date string
  • author object

    commitor. Default value - The currently authenticated user.

  • name string

    The name of the commitor. If you omit this field, you will receive a 422 status code

  • email string

    commitor's email. If you omit the email, you will receive a 422 status code.

  • date string
Responses

success

Loading...