|
|
@@ -459,7 +459,8 @@ The error codes are as follows, `1` indicates that the event does not exist, and
|
|
459
|
459
|
`2` indicates a malformed request.
|
|
460
|
460
|
|
|
461
|
461
|
### /events/edit/:eventid
|
|
462
|
|
-To create a new event, a `PUT` request should be sent with the following data:
|
|
|
462
|
+To create a new event, a `PUT` request should be sent with the following data -
|
|
|
463
|
+all fields except auth are optional:
|
|
463
|
464
|
```javascript
|
|
464
|
465
|
{
|
|
465
|
466
|
"name": "Test Event",
|