-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Open
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
Feature Description
Looking through API docs I do not see any way to get and set file permissions/mode.
It is important for some uses if a file is executable, and it's definitely important if it's a symlink.
This state cannot be retrieved/set through the repository/contents API.
Screenshots
https://gitea.com/api/v1/repos/{owner}/{repo}/contents/{filepath}
{
"author":
{
"email": "user@example.com",
"name": "string"
},
"branch": "string",
"committer":
{
"email": "user@example.com",
"name": "string"
},
"content": "string",
"dates":
{
"author": "2019-08-24T14:15:22Z",
"committer": "2019-08-24T14:15:22Z"
},
"from_path": "string",
"message": "string",
"new_branch": "string",
"sha": "string",
"signoff": true
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
topic/apiConcerns mainly the APIConcerns mainly the APItype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.