Southclaws / storyden

With a fresh new take on traditional bulletin board forum software, Storyden is a modern, secure and extensible platform for building communities.
https://www.storyden.org/
Mozilla Public License 2.0
93 stars 11 forks source link

Datagraph item on the API doesn't expose enough information #215

Closed Southclaws closed 1 week ago

Southclaws commented 1 month ago

Currently, "Datagraph items" represent a generic shape of either thread/reply/post, profile, library page, and probably more eventually. The point of a "Datagraph item" abstraction is to provide a generic data structure for contexts where mixing content types makes sense. Search results being the main one, as well as recommendations ("you like this post, you may like this stuff [post, profile, post, post, page]")

Right now the data is:

    "items": [
        {
            "assets": null,
            "description": "Search",
            "id": "crsj1rqfunp46b6u1hs0",
            "kind": "post",
            "name": "Search",
            "slug": "crsj1rqfunp46b6u1hs0-search"
        }
    ],

Which isn't enough, we also need to expose:

future stuff: