mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-03 02:04:09 +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
|
returns
|
||||||
|
|
||||||
``` javascript
|
``` json
|
||||||
{
|
{
|
||||||
"device_id": "ABCDEFG"
|
"device_id": "ABCDEFG"
|
||||||
}
|
}
|
||||||
|
|
@ -75,7 +75,7 @@ Send public key using `/keys/upload` as a normal device, but with a special
|
||||||
|
|
||||||
`POST /keys/upload`
|
`POST /keys/upload`
|
||||||
|
|
||||||
``` javascript
|
``` json
|
||||||
{
|
{
|
||||||
"device_keys": {
|
"device_keys": {
|
||||||
"user_id": "@alice:example.com",
|
"user_id": "@alice:example.com",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue