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="07930544-96ac-45d2-8ea2-edf7028e2d00"><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="77e98d58-3d08-42e6-9821-9b84500029b1"><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="6619d21e-3309-41ef-bd16-47bec7d4547b"><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="0fb345a8-c85c-4a2b-86bd-06a9b0a3bf25"><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="9dd94d9e-d0cc-477d-9b5c-1cdc12bd3bee"><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="3bd58b9b-a2e8-4b4d-938d-8b53a5508987"><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="fdd8b109-50c8-4405-a7e8-8cb96c837984"><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="087df36e-6516-48eb-9a8e-f36e7ad74ef8"><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="329ba93c-8550-44d8-9b2d-3b2f8cc1e0b3"><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>

...