]> BookStack Code Mirror - bookstack/blobdiff - dev/api/requests/chapters-create.json
API: Reviewed changes for API priority control
[bookstack] / dev / api / requests / chapters-create.json
index afd3c71f19577a01a5af1e0324e02dcf269d2d7e..a7a0e072c6c6db48a8727400399edd2907c37999 100644 (file)
@@ -2,10 +2,9 @@
   "book_id": 1,
   "name": "My fantastic new chapter",
   "description": "This is a great new chapter that I've created via the API",
+  "priority": 15,
   "tags": [
     {"name": "Category", "value": "Top Content"},
     {"name": "Rating", "value": "Highest"}
-  ],
-  "priority": 15
-}
+  ]
 }