Section methods

sections/list
Returns a detailed list of sections.
sections/show
Returns a details of specified section.
Returns a detailed list of sections.
| URL: |
http://www.your-domain.com/your-admin-folder/cms-license/api/sections/list.format Example: http://www.designroyale.com/royalecms/cms-warnermusic/api/sections/list.xml |
| Data formats: | xml, json |
| HTTP Method(s): | GET |
| Example Response: |
<sections>
<section>
<id>1</id>
<name>Blog</name>
<elements>
<element>
<id>1</id>
<name>01/09/2009</name>
<template_id>1</template_id>
<blocks>
<block>
<id>29</id>
<type>date</type>
<value>01/09/2009</value>
</block>
...
</blocks>
</element>
...
</elements>
</section>
...
</sections>
|
sections/show
Returns a details of specified section.
| URL: |
http://www.your-domain.com/your-admin-folder/cms-license/api/sections/show.format Example: http://www.designroyale.com/royalecms/cms-warnermusic/api/sections/show.xml?id=1 |
| Formats: | xml, json |
| HTTP Method(s): | GET |
| Parameters: |
id (Required) - The ID of the section to fetch information for. |
| Example Response: |
<section>
<id>1</id>
<name>Blog</name>
<elements>
<element>
<id>1</id>
<name>01/09/2009</name>
<template_id>1</template_id>
<blocks>
<block>
<id>29</id>
<type>date</type>
<value>01/09/2009</value>
</block>
...
</blocks>
</element>
...
</elements>
</section>
|

