Drupal 8 headless with BackboneJS, retrieve single entity with referenced field
Posted by Robert Ngo on January 22, 2016 at 7:30pm
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
- 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": [{
Backbone.js Group Created
Posted by ethanw on March 24, 2012 at 9:38pm
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