Update existing routes:
GET /svn/:id
{
"id": int,
...
"settings": {
"commit_rules": {
"mandatory_reference": boolean,
"allow_commit_message_change": boolean
},
"access_file": [
"[/]",
"* = ",
"Contributors = r",
"[/stuff]",
"Contributors = rw"
],
"immutable_tags": {
"paths": [
"/tags"
],
"whitelist": [
"/tags/moduleX"
]
}
}
}
POST /svn
{
...
"settings": {
"commit_rules": {
"mandatory_reference": boolean,
"allow_commit_message_change": boolean
},
"access_file": [
"[/]",
"* = ",
"Contributors = r",
"[/stuff]",
"Contributors = rw"
],
"immutable_tags": {
"paths": [
"/tags"
],
"whitelist": [
"/tags/moduleX"
]
}
}
}
PUT /svn/:id
{
"id": int
"settings": {
"commit_rules": {
"mandatory_reference": boolean,
"allow_commit_message_change": boolean
},
"access_file": [
"[/]",
"* = ",
"Contributors = r",
"[/stuff]",
"Contributors = rw"
],
"immutable_tags": {
"paths": [
"/tags"
],
"whitelist": [
"/tags/moduleX"
]
}
}
}
- Changes are recorded in Project History