GetPaperIDFromUrl
Returns the ID of an iPaper, given its url. Can also be used to check whether a url is vacant.
Name | Value |
---|---|
url | The URL of the iPaper whose ID should be returned. Url must start with a / and end with a / |
<?xml version="1.0" encoding="utf-8"?>
<result>
<code><![CDATA[SUCCESS]]></code>
<message><![CDATA[Paper not found.]]></message>
</result>
<?xml version="1.0" encoding="utf-8"?>
<result>
<code><![CDATA[SUCCESS]]></code>
<message><![CDATA[Paper found.]]></message>
<data>
<paper id="1106" />
</data>
</result>
- SUCCESS
- ERROR
Last modified 1yr ago