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="82e4f70e-c7d4-4a50-82ad-918ccf935e27"><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="627cb55b-f2a1-4008-9ef0-bca2cf5988bc"><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="8aab57ba-35af-4094-8788-9c3f6d431add"><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="54a5325d-2c6c-46e3-832e-6e4c6cba2244"><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="fb81224f-c80c-4ea0-a4f9-1512d4663140"><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="1cf1368c-7128-4350-b5e4-b97c8b0c980d"><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="f3d30506-7da8-4c65-9581-e64743ce95fe"><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="91fad40e-cdd5-4a3e-9844-814d9f5cafd4"><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="17b0403f-946a-4a4b-8709-6a602d8816dc"><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>

...