mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 10:54:28 +00:00
update example
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"create": [{
|
"create": [{
|
||||||
"subject": "Create a comment",
|
"title": "Create a comment",
|
||||||
"description": "Create a simple text based comment",
|
"description": "Create a simple text based comment",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {
|
"request": {
|
||||||
"subject": "New Comment",
|
"title": "New Comment",
|
||||||
"text": "This is my comment"
|
"text": "This is my comment"
|
||||||
},
|
},
|
||||||
"response": {
|
"response": {
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"read": [{
|
"read": [{
|
||||||
"subject": "Read a comment",
|
"title": "Read a comment",
|
||||||
"description": "Read a comment by its ID",
|
"description": "Read a comment by its ID",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {
|
"request": {
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"list": [{
|
"list": [{
|
||||||
"subject": "List all comments",
|
"title": "List all comments",
|
||||||
"description": "List all your available comments",
|
"description": "List all your available comments",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {},
|
"request": {},
|
||||||
@@ -53,8 +53,8 @@
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"update": [{
|
"update": [{
|
||||||
"subject": "Update a Comment",
|
"title": "Update a Comment",
|
||||||
"description": "Update the comment subject and text",
|
"description": "Update the comment title and text",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {
|
"request": {
|
||||||
"comment": {
|
"comment": {
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"delete": [{
|
"delete": [{
|
||||||
"subject": "Delete a Comment",
|
"title": "Delete a Comment",
|
||||||
"description": "Delete a comment by id",
|
"description": "Delete a comment by id",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {
|
"request": {
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"events": [{
|
"events": [{
|
||||||
"subject": "Subscribe to events",
|
"title": "Subscribe to events",
|
||||||
"description": "Subscribe to comment change events",
|
"description": "Subscribe to comment change events",
|
||||||
"run_check": false,
|
"run_check": false,
|
||||||
"request": {
|
"request": {
|
||||||
|
|||||||
Reference in New Issue
Block a user