Export It 1.3.1 Documentation

REST Server API: get_categories

Returns the categories for a given entry id

Resource URL

http://example.com/?ACT=<ACT>&key=<key>&method=get_categories&format=xml&entry_id=32

Parameters

An entry_id is required

entry_id required The entry you want to return the categories from.

Example Request

http://example.com/?ACT=<ACT>&key=<key>&method=get_categories&entry_id=32&format=xml

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<categories>
    <category>
        <cat_id>2</cat_id>
        <site_id>1</site_id>
        <group_id>1</group_id>
        <parent_id>0</parent_id>
        <cat_name><![CDATA[Backup Pro]]></cat_name>
        <cat_url_title><![CDATA[backup-pro]]></cat_url_title>
        <cat_description><![CDATA[]]></cat_description>
        <cat_image><![CDATA[]]></cat_image>
        <cat_order>2</cat_order>
    </category>
</categories>
I am flagging this documentation as:

Need Free Developer Support?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">