#backbone.js

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Robert Ngo's picture

Drupal 8 headless with BackboneJS, retrieve single entity with referenced field

Hello friends,

I'm building up a contact directory search with Drupal 8 and Backbone. The idea is to benefit Drupal 8 to set up and expose search data via Views with Json format.

And I have 2 questions regarding setting up REST endpoint

  1. When retrieving a single node from Backbone, I'd call /node/[nid]?_format=json and get

    {
    "nid": [{
    "value": "55"
    }],
    "uuid": [{
    "value": "ec524ba2-5514-4179-a916-2213d40a0641"
    }],
    "vid": [{
    "value": "55"
    }],
    "field_acc_type": [{
Read more
ethanw's picture

Backbone.js Group Created

Hello fellow JavaScripters!

Following the Backbone.js BoF at DrupalCon Denver, we've set up a Backbone.js group specifically for discussion and planning around the Backbone.js module for Drupal. If you weren't able to join us in Denver, you can check out the slides and additional resources on the Backbone module developer documentation page.

Read more
Subscribe with RSS Syndicate content