mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-24 03:35:59 +08:00
移除工单类型
This commit is contained in:
@@ -7,7 +7,6 @@ Request:
|
||||
{
|
||||
"title": "Ticket Title",
|
||||
"content": "Ticket Content(Markdown)",
|
||||
"type": "linux",
|
||||
|
||||
// only for admin group user
|
||||
"members": [
|
||||
@@ -24,7 +23,6 @@ Response:
|
||||
Exception:
|
||||
|
||||
* invalid_title `/^.+$/`
|
||||
* invalid_type
|
||||
* invalid_account: username
|
||||
|
||||
### POST /ticket/reply/
|
||||
@@ -54,8 +52,6 @@ Request:
|
||||
{
|
||||
"id": "525284cc2cebb6d0008b4567",
|
||||
// optional
|
||||
"type": "linux",
|
||||
// optional
|
||||
"status": "closed",
|
||||
|
||||
// only for admin group user
|
||||
@@ -76,7 +72,6 @@ No Response.
|
||||
|
||||
Exception:
|
||||
|
||||
* invalid_type
|
||||
* already_in_status
|
||||
* invalid_status
|
||||
|
||||
@@ -85,7 +80,6 @@ Exception:
|
||||
Request:
|
||||
|
||||
{
|
||||
"type": "linux",
|
||||
"status": "open/pending/finish/closed",
|
||||
"limit": 30,
|
||||
"skip": 0
|
||||
@@ -97,7 +91,6 @@ Response:
|
||||
{
|
||||
"id": "525284cc2cebb6d0008b4567",
|
||||
"title": "Ticket Title",
|
||||
"type": "linux",
|
||||
"status": "open",
|
||||
"updated_at": "2014-02-18T09:18:27.214Z"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user