List the allowed values for the 'event_format' as an enum

pull/977/head
Mark Haines 9 years ago
parent 9dd3b07394
commit 6ad6c40147

@ -34,7 +34,8 @@
"event_format": {
"description":
"The format to use for events. 'client' will return the events in a format suitable for clients. 'federation' will return the raw event as receieved over federation. The default is 'client'.",
"type": "string"
"type": "string",
"enum": ["client", "federation"]
},
"event_fields": {
"type": "array",

Loading…
Cancel
Save