GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    anna (navi@social.vlhl.dev)'s status on Wednesday, 26-Jul-2023 05:28:17 JSTannaanna
    in reply to
    • :blobcathug:
    @Jain

    > But thats not a good idea since every server/client has different flavors/advantages so a unified API would prevent customizations...

    nop, that's what one can use ap extensions for (json-ld is good in making different stuff interoprate, if that is what is wanted, that's why it's used), or if you really must, make api points for your unique stuff, but let ap handle the objects of the core protocol

    > But let me make an example: if you wana look at a post/object, the whole conversation will be loaded at once. If you would make the server more stupid, the client would have to query anything manually.

    https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto
    https://www.w3.org/TR/activitystreams-vocabulary/#dfn-replies

    those two already cover loading an entire conversation on a single get request (get the post you wanna render, and you get what it is a reply to, and stuff that replies to it)

    > Take for example the configuration of blob.cat. We allow an unauthentic user to query the public timeline. We also allow to query the conversation of a whole thread, but in a very limited way. Many other instances prevents to load anything if you are not authenticated...

    this all can be done via just... returning different stuff from the ap api, depending on auth, and https://w3c-ccg.github.io/zcap-spec/ might make this easy with capabilities (i need to read the spec in full, but it looks like it does)

    > Beside of that, if you look at it from a IT Security Perspective, you have to assume that even if you lock down the ap api, lock down the client api, use a whitelist, that still posts of your instance could be found on unlocked client apis on a server which you federate with.

    this could be mitigated if the way client operate were to go to the origin to get the full definition of objects, not one's cached/federated home server. tho about this, i like and dislike this approach, and i'll elaborate on that later when i am a bit deeper into developing libactivity
    In conversation2 years ago from social.vlhl.devpermalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Pleroma
    2. No result found on File_thumbnail lookup.
      Activity Vocabulary
    3. No result found on File_thumbnail lookup.
      Authorization Capabilities for Linked Data v0.3
    4. No result found on File_thumbnail lookup.
      Activity Vocabulary
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.

Embed this notice