Note: We do not have instructions for Drupal 7 in this session
At this point your answers to these questions are not critical because we will ulitmately replace this database.
Install the REST UI Module by copying it's URL (https://www.drupal.org/project/restui) into the install module page.
Install the REST UI Module by copying it's URL (https://ftp.drupal.org/files/projects/restui-8.x-1.15.tar.gz) into the install module page.
Note: If you don't see the "install new module" button" you'll need to clear Drupal's cache.
8.) Re-Open the Pantheon dashboard for your site and navigate to the database import screen. Download the following database export, and then upload it via the "file" method.
Download the following database file for import: http://brd.bz/69d10d65
Your new login credentials for the Drupal install will now be username admin
password headless-edui
.
In Drupal, API endpoints are accessed by appending the query string _format=
with the appropriate data format (json
in our case). So to access a directory of all the staff navigate to (be sure to use your site's url):
http://dev-your-site-name.pantheonsite.io/staff?_format=json