mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 18:09:40 +08:00

* Enable parent to be set during creation via API Sets the parent ID as long as it exists and is a top-level primary tag. If it's not, it'll simply be ignored. Position is set automatically to be one higher than the current highest, or 0 if parent has no children. Example data (in addition to the usual attributes): ``` "relationships": { "parent": { "data": { "id": 1 } } } ``` * Add support for creating top-level tags To set a top-level primary tag, pass parent id of 0 For a secondary tag, pass null or remove it from the request To set as a child, pass the parent tag's id
Description
Simple forum software for building great communities.
199 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%