Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Development URL

Deployed URL

Expected Response

Notes

http://localhost/ws/ref/country

 

 

What do we want here? 404? Redirect to /ws/ref/country/list?

http://localhost/ws/ref/country/list

 

entire list in CSV format

"csv" is the default format.

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="56775b75-792e-4d85-a08b-757ea61af47b"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/list?format=xml]

 

entire list in XML format

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="55aa1dab-4213-4893-b7d2-0e4017bd5c90"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/list?format=csv]

 

entire list in CSV format

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2d5225b9-3a1c-4c45-b944-5ef98ddf24be"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/list?format=QQQ]

 

entire list in CSV format

Bad format value is ignored and defaulted to csv.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cded8254-dbec-4d35-87ae-3b68d76f521f"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/list?format=XML]

 

entire list in CSV format

"XML" is not a valid format option. Only "xml" and "csv" are valid options.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02dfaf50-ccc8-41fc-9899-9a027ef9bf34"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/find?match=united]

 

CSV list of 5 countries

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f02399e4-596a-4d25-a177-a22b99c83329"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/find?match=united&format=xml]

 

XML list of 5 countries

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5e3254c4-6db1-41f2-aef9-8a762981015d"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/find?match=UNITED]

 

CSV list of 5 countries

There should be no difference in response for upper/lower case search strings.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2a676c82-cf6a-4de3-ad1b-efdc890a7b79"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country][/list?format=]

 

entire list in CSV format

Bad format value is ignored and defaulted to csv.

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6e622b58-43b2-44b3-9be9-78a50477f3e1"><ac:plain-text-body><![CDATA[

[http://localhost/ws/ref/][][country/][find?match=]

 

empty list in CSV format

 ]]></ac:plain-text-body></ac:structured-macro>

CSV Result Format

Panel

<country code>, <name associated with country code>
<country code>, <name associated with country code>
<country code>, <name associated with country code>

...