diff options
Diffstat (limited to 'doc/source/specification/endpoints.rst')
-rw-r--r-- | doc/source/specification/endpoints.rst | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/source/specification/endpoints.rst b/doc/source/specification/endpoints.rst index b64b4b6..5ff330b 100644 --- a/doc/source/specification/endpoints.rst +++ b/doc/source/specification/endpoints.rst @@ -33,21 +33,21 @@ port xs:string No An optional property to provide the port value separ Serialisation ============= -json:: - - { - "typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", - ..., - "target": { - "id": "myscheme://mydomain/resource/id/0001", - "name": "server_0001", - "addresses": [{ - "name": "public", - "url": "http://mydomain/mypath/server-0001/" - }, - ... - ], - ... +.. code-block:: javascript + + { + "typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", + ..., + "target": { + "id": "myscheme://mydomain/resource/id/0001", + "name": "server_0001", + "addresses": [ + { + "name": "public", + "url": "http://mydomain/mypath/server-0001/" + }, + ... + ], + ... + } } - } - |