Dear Team,
I need help with posting discussions through the Flarum API.
According to the Flarum API documentation, I am currently able to post one discussion at a time using the code below. However, I would like to know how to post multiple discussions at once via the API, as the current code only supports creating a single discussion.
Additionally, is there any extension available that allows bulk posting of discussions through a CSV file? This would be very helpful for streamlining the process.
Could anyone please guide me on how to achieve this?.
{
"data":{
"type": "discussions",
"attributes": {
"title": "Lorem Ipsum",
"content": "Hello World"
},
"relationships": {
"tags": {
"data": [
{
"type": "tags",
"id": "1"
}
]
}
}
}
}