Create article which containing paragraphs with drupal8 and rest API

Created on 6 March 2017, over 7 years ago
Updated 19 March 2024, 8 months ago

Hello,

I try to POST a new article with related paragraphs from default REST API. What is the best way to do that?
I would like to POST this article in 1 step with hal_json format but it seems to require the entity id of the attached paragraphs (not yet created in my case).

Thanks in advance for your help and your examples.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France flebrenn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024