The SobiPro Module is implemented with the plg_jbackend_sobipro plugin. It provides functions related to SobiPro directory extension (sections, categories and entries). Here is the list of supported methods.
action=get module=sobipro resource=sections
<end-point>?action=get&module=sobipro&resource=sections
<end-point>/get/sobipro/sections
{ "status": "ok", "total": <T>, "sections": [ { "id": "<section id>", "nid": "<section nid>", "name": "<section name>" }, ... { "id": "<section id>", "nid": "<section nid>", "name": "<section name>" } ]}
action=get module=sobipro resource=sections id=<N>
<end-point>?action=get&module=sobipro&resource=sections&id=<N>
<end-point>/get/sobipro/sections/<N>
{ "status": "ok", "id": "<section id>", "nid": "<section nid>", "name": "<section name>", "description": "<section description>", "owner": "<section owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>" }
Created and updated date format is YYYY-MM-DD HH:MM:SS
action=get module=sobipro resource=categories parent=<N>
<end-point>?action=get&module=sobipro&resource=categories&parent=<N>
<end-point>/get/sobipro/categories?parent=<N>
{ "status": "ok", "total": <T>, "categories": [ { "id": "<category id>", "nid": "<category nid>", "name": "<category name>", "owner": "<owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>" }, ... { "id": "<category id>", "nid": "<category nid>", "name": "<category name>", "owner": "<owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>" } ]}
Created and updated date format is YYYY-MM-DD HH:MM:SS
action=get module=sobipro resource=categories id=<N>
<end-point>?action=get&module=sobipro&resource=categories&id=<N>
<end-point>/get/sobipro/categories/<N>
{ "status": "ok", "id": "<category id>", "nid": "<category nid>", "name": "<category name>", "description": "<category description>", "owner": "<category owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>", "parent": "<parent id>" }
Created and updated date format is YYYY-MM-DD HH:MM:SS
action=get module=sobipro resource=entries category=<C>
<end-point>?action=get&module=sobipro&resource=entries&category=<C>
<end-point>/get/sobipro/entries?category=<C>
{ "status": "ok", "total": <T>, "entries": [ { "id": "<entry id>", "nid": "<entry nid>", "name": "<entry name>", "owner": "<owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>" }, ... { "id": "<entry id>", "nid": "<entry nid>", "name": "<entry name>", "owner": "<owner id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>" } ]}
Created and updated date format is YYYY-MM-DD HH:MM:SS
action=get module=sobipro resource=entries id=<N>
<end-point>?action=get&module=sobipro&resource=entries&id=<N>
<end-point>/get/sobipro/entries/<N>
{ "status": "ok", "id": "<entry id>", "nid": "<entry nid>", "name": "<entry name>", "owner": "<entry owner id>", "section": "<entry section id>", "counter": "<counter>", "createdTime": "<created time>", "updatedTime": "<updated time>", "metaDesc": "<meta description>", "metaKeys": "<meta keywords>", "metaAuthor": "<meta author>", "metaRobots": "<meta robots>", "version": "<version number>", "fields": [ { "name": "<field name>", "fid": "<field id>", "nid": "<field nid>", "sid": "<field sid>", "section": "<section id>", "lang": "<language code>", "_data": "<field data>", "_rawData": "<field raw data>", "fieldType": "<field type>", "isFree": "<is free>", "position": "<position>" }, ... { "name": "<field name>", "fid": "<field id>", "nid": "<field nid>", "sid": "<field sid>", "section": "<section id>", "lang": "<language code>", "_data": "<field data>", "_rawData": "<field raw data>", "fieldType": "<field type>", "isFree": "<is free>", "position": "<position>" } ]}
Created and updated date format is YYYY-MM-DD HH:MM:SS
The following options are available for user plugin:
Option | Description |
JSON Entries | Enable JSON payload on entries action. |