mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 19:09:16 +01:00
docs: ♻️ Rewrite various docs pages, add null fields everywhere they were missing, make some Note and User fields mandatory
This commit is contained in:
parent
e6f7a27d3e
commit
e9b5ccd76c
31 changed files with 412 additions and 148 deletions
|
|
@ -29,7 +29,7 @@ Note that there is no `question` field: the question should be included in the `
|
|||
<Property name="multiple_choice" type="boolean" required="true">
|
||||
Whether the poll allows multiple votes to be cast for different options.
|
||||
</Property>
|
||||
<Property name="expires_at" type="RFC3339" typeLink="/types#rfc3339">
|
||||
<Property name="expires_at" type="RFC3339" typeLink="/types#rfc-3339">
|
||||
RFC 3339 timestamp of when the poll ends and no more votes can be cast. If not present, the poll does not expire.
|
||||
</Property>
|
||||
</Properties>
|
||||
|
|
@ -49,6 +49,7 @@ Note that there is no `question` field: the question should be included in the `
|
|||
"content": "What is your favourite color?"
|
||||
}
|
||||
},
|
||||
...
|
||||
"extensions": { // [!code focus:28]
|
||||
"pub.versia:polls": {
|
||||
"options": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue