DeleteRepoConent
Delete Repo Content
- application/json
Request Body
- message string
commit message
- sha string
File SHA value to be deleted
- branch string
branch name, default:repository's default branch
committer object
commitor. Default value - The currently authenticated user.
name stringThe name of the commitor. If you omit this field, you will receive a 422 status code.
email stringcommitor's email. If you omit the email, you will receive a 422 status code.
date stringauthor object
commitor. Default value - The currently authenticated user.
name stringThe name of the commitor. If you omit this field, you will receive a 422 status code
email stringcommitor's email. If you omit the email, you will receive a 422 status code.
date string
- 200
- 403
- 404
- 409
- responseBody
OK
Forbidden
Resource not found
Conflict
- application/json
- Schema
Schema
content object
encoding stringEncode type. Default: base64
name stringfilename
path stringfile path
sha stringcommit sha value
size integerFile size, or 0 if "type" is "dir" or "submodule"
type stringFile type, enumeration values: file, dir, symlink, submodule
entries object[]
If "type" is "dir", files and subdirectories in that directory are returned. If "type" is "file", an empty array is returned. If "type" is "symlink", information about the symbolic link is returned. If "type" is "submodule", returns the submodule information.
Array [encoding stringEncode type. Default: base64
name stringfilename
path stringfile path
sha stringcommit sha value
size integerFile size, or 0 if "type" is "dir" or "submodule"
type stringFile type, enumeration values: file, dir, symlink, submodule
]commit object
committer object required
The person that committed the file. Default: the authenticated user.
name stringThe name of the author or committer of the commit. You'll receive a 422 status code if name is omitted.
email stringThe email of the author or committer of the commit. You'll receive a 422 status code if email is omitted.
date stringauthor object required
commitor. Default value - The currently authenticated user.
name stringThe name of the commitor. If you omit this field, you will receive a 422 status code.
email stringcommitor's email. If you omit the email, you will receive a 422 status code.
date stringmessage stringcommit message
sha stringcommit sha value
parents array required
父commit sha value
sha string父commit sha value