Merge pull request #35 from LemmyNet/remove-categories

Remove categories
This commit is contained in:
Dessalines 2021-03-03 22:46:48 -05:00 committed by GitHub
commit c2454a95d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,10 +56,6 @@ Receives activities from user: `Follow`, `Undo/Follow`, `Create`, `Update`, `Lik
"type": "Group",
"preferredUsername": "main",
"name": "The Main Community",
"category": {
"identifier": "1",
"name": "Discussion"
},
"sensitive": false,
"attributedTo": [
"https://enterprise.lemmy.ml/u/picard",
@ -98,7 +94,6 @@ Receives activities from user: `Follow`, `Undo/Follow`, `Create`, `Update`, `Lik
|---|---|---|
| `preferredUsername` | yes | Name of the actor |
| `name` | yes | Title of the community |
| `category` | yes | Hardcoded list of categories, see https://lemmy.ml/api/v1/categories |
| `sensitive` | yes | True indicates that all posts in the community are nsfw |
| `attributedTo` | yes | First the community creator, then all the remaining moderators |
| `content` | no | Text for the community sidebar, usually containing a description and rules |