Experimental project

This is a sandbox project, which contains experimental code for developer use only.

JSE (JSON slimmed entity) let's you create API endpoints with a hook

function MODULE_jse_info() {
    return array(
        'projects' => array(
            'label' => t('Projects'),
            'callback' => 'example_get_jse_entity_ids',
        )
    );
}

function example_get_jse_entity_ids() {
    return array(
        'node' => array(1, 5, 56),
        'user' => array(23, 1)
    );
}

The result will be a JSON output with the nodes rendered by the view mode json.

Supporting organizations: 

Project information