cloudstack/docs/pot/response-formats.pot
2013-02-02 22:18:06 +01:00

69 lines
1.8 KiB
Plaintext

#
# AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
"POT-Creation-Date: 2013-02-02T20:11:59\n"
"PO-Revision-Date: 2013-02-02T20:11:59\n"
"Last-Translator: Automatically generated\n"
"Language-Team: None\n"
"MIME-Version: 1.0\n"
"Content-Type: application/x-publican; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Tag: title
#, no-c-format
msgid "Response Formats: XML and JSON"
msgstr ""
#. Tag: para
#, no-c-format
msgid "CloudStack supports two formats as the response to an API call. The default response is XML. If you would like the response to be in JSON, add &amp;response=json to the Command String."
msgstr ""
#. Tag: para
#, no-c-format
msgid "Sample XML Response:"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "\n"
" &lt;listipaddressesresponse&gt; \n"
" &lt;allocatedipaddress&gt;\n"
" &lt;ipaddress&gt;192.168.10.141&lt;/ipaddress&gt; \n"
" &lt;allocated&gt;2009-09-18T13:16:10-0700&lt;/allocated&gt; \n"
" &lt;zoneid&gt;4&lt;/zoneid&gt; \n"
" &lt;zonename&gt;WC&lt;/zonename&gt; \n"
" &lt;issourcenat&gt;true&lt;/issourcenat&gt; \n"
" &lt;/allocatedipaddress&gt;\n"
" &lt;/listipaddressesresponse&gt;\n"
" "
msgstr ""
#. Tag: para
#, no-c-format
msgid "Sample JSON Response:"
msgstr ""
#. Tag: programlisting
#, no-c-format
msgid "\n"
" { \"listipaddressesresponse\" : \n"
" { \"allocatedipaddress\" :\n"
" [ \n"
" { \n"
" \"ipaddress\" : \"192.168.10.141\", \n"
" \"allocated\" : \"2009-09-18T13:16:10-0700\",\n"
" \"zoneid\" : \"4\", \n"
" \"zonename\" : \"WC\", \n"
" \"issourcenat\" : \"true\" \n"
" } \n"
" ]\n"
" } \n"
" } \n"
" "
msgstr ""