Skip to content

Merge the create a file in a repository API and the update a file in a repository API #19008

@lchrennew

Description

@lchrennew

Feature Description

The update a file in a repostory API should compatible with the corresponding Github API:
https://docs.github.com/en/rest/reference/repos#create-or-update-file-contents

Creates a new file or replaces an existing file in a repository.

PUT /repos/{owner}/{repo}/contents/{path}

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    modifies/apiThis PR adds API routes or modifies themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions