Closed Auspicus closed 5 years ago
We want to be able to provide an export like:
import { EntityStorage, GlobalClient } from 'drupal-jsonapi-client' GlobalClient.baseUrl = 'https://example.com' // point the cannon GlobalClient.authorization = `Basic ${btoa('username:password')}` // if required await EntityStorage.fetch() const Article = EntityStorage.NodeArticle const article = new Article() article.title = 'asdf' article.body.value = '1234' article.body.format = 'basic_html' await article.save() // create a new NodeArticle
devour-drupal
OpenAPI
We want to be able to provide an export like: