mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Return issue subscription status from API subscribe (#10966)
* [API] issue subscription indicate by http status * CI.restart()
This commit is contained in:
@@ -5315,8 +5315,11 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Already subscribed"
|
||||
},
|
||||
"201": {
|
||||
"$ref": "#/responses/empty"
|
||||
"description": "Successfully Subscribed"
|
||||
},
|
||||
"304": {
|
||||
"description": "User can only subscribe itself if he is no admin"
|
||||
@@ -5370,8 +5373,11 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Already unsubscribed"
|
||||
},
|
||||
"201": {
|
||||
"$ref": "#/responses/empty"
|
||||
"description": "Successfully Unsubscribed"
|
||||
},
|
||||
"304": {
|
||||
"description": "User can only subscribe itself if he is no admin"
|
||||
|
Reference in New Issue
Block a user