blob: 706fcc811e1d885545e9d1dbbfe452a9c2a8ad07 [file] [log] [blame]
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you under the Apache License, Version 2.0 (the
#"License"); you may not use this file except in compliance
#with the License. You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#Unless required by applicable law or agreed to in writing,
#software distributed under the License is distributed on an
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#KIND, either express or implied. See the License for the
#specific language governing permissions and limitations
#under the License.
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 ""