====== <#get_urlresources_content> ======
Use this function to get the content of a url configuration. more details about url configuration file can
be found [[http://doc.arkadia.com/doku.php?id=en:public:developer:template_system:urlresources|here]]
==== Parameters ====
Parameters are taken from tag (default) or from HTTP GET/Post
^ Name ^ Mandatory ^ Default ^ Description ^
| page_id | Yes | | The id of the page Ex: /real-estate/ |
| output_format | No | REST | **JSON** to retrieve response in [[en:public:developer:template_system:tags:api:JSON_Response_Format|JSON Format]] or **REST** to retrieve in [[en:public:developer:template_system:tags:api:REST_Response_Format|REST Format]] |
| jsoncallback | No | | Callback function to use in [[en:public:developer:template_system:tags:api:JSON_Response_Format|JSON Response Format]] |
==== Error Codes ====
^ Code ^ Description ^
| 1 | Insufficient rights. You must be logged as an admin to see logs |
| 119 | Wrong params |
==== Example ====
<#get_urlresources_content page_id="/real-estate/">
will output in **REST**
...
And in **JSON**
{
"stat":"ok",
"content":"..."
}