mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
69 lines
1.8 KiB
Plaintext
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 &response=json to the Command String."
|
|
msgstr ""
|
|
|
|
#. Tag: para
|
|
#, no-c-format
|
|
msgid "Sample XML Response:"
|
|
msgstr ""
|
|
|
|
#. Tag: programlisting
|
|
#, no-c-format
|
|
msgid "\n"
|
|
" <listipaddressesresponse> \n"
|
|
" <allocatedipaddress>\n"
|
|
" <ipaddress>192.168.10.141</ipaddress> \n"
|
|
" <allocated>2009-09-18T13:16:10-0700</allocated> \n"
|
|
" <zoneid>4</zoneid> \n"
|
|
" <zonename>WC</zonename> \n"
|
|
" <issourcenat>true</issourcenat> \n"
|
|
" </allocatedipaddress>\n"
|
|
" </listipaddressesresponse>\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 ""
|
|
|