This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Resource xmlns="http://xml.metamug.net/resource/1.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xml.metamug.net/resource/1.0 http://xml.metamug.net/schema/resource.xsd" | |
v="1.0"> | |
<Desc>This is public resource file for demonstration</Desc> | |
<Request method="GET"> | |
<Desc> | |
Add two positive numbers. Parameters $a and $b are checked to be numbers | |
before being processed by sql. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Resource xmlns="http://xml.metamug.net/resource/1.0" v="1.0"> | |
<Request method="GET"> | |
<Desc>Request to display a single page. | |
User needs to calculate offset = limit + offset | |
for each subsequent request. Offset is 900 i.e There are 1000 records. | |
Limit being 100, Page size cannot be more than 100. | |
</Desc> | |
<Param name="limit" type="number" min="0" max="100"/> | |
<Param name="offset" type="number" min="0" max="900"/> |