mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 01:58:36 +01:00
change language to json in code blocks
This commit is contained in:
parent
e9aa4081bc
commit
d9eddcf7df
|
|
@ -64,7 +64,7 @@ API to create new virtual device:
|
|||
|
||||
returns
|
||||
|
||||
``` javascript
|
||||
``` json
|
||||
{
|
||||
"device_id": "ABCDEFG"
|
||||
}
|
||||
|
|
@ -75,7 +75,7 @@ Send public key using `/keys/upload` as a normal device, but with a special
|
|||
|
||||
`POST /keys/upload`
|
||||
|
||||
``` javascript
|
||||
``` json
|
||||
{
|
||||
"device_keys": {
|
||||
"user_id": "@alice:example.com",
|
||||
|
|
|
|||
Loading…
Reference in a new issue