Hello everyone,

Sorry if this has been discussed elsewhere, I couldn’t find any other thread about this.

Basically title, I know that the Lemmy.world communities are not listed on Lemmyverse anymore due to some API issues, do you guys have any idea on when it will come back?

  • freamon
    link
    fedilink
    English
    2
    edit-2
    1 year ago

    This being the default answer for all issues kinda prevents any discussion of any issue that might be unrelated.

    The API problem is that you do (ignore the ampersand issue for a moment):
    curl 'https://lemmy.world/api/v3/community/list?type_=Local&sort=Old&limit=1&page=250010&show_nsfw=true' | jq .
    and it will return a response for a page of Communities it can’t possibly have. It’s a never-ending list that can’t be indexed.

    The thing, it returns without issue - there’s no connectivity problems that DDOS attacks would cause.

      • freamon
        link
        fedilink
        English
        21 year ago

        No. Just .world. Every other instance returns an empty array when the end of the list of Communities is reached. We’d know if they didn’t, because they’d break web crawlers too.

          • freamon
            link
            fedilink
            English
            21 year ago

            I think there was a change to the API in a recent release of Lemmy, that .world hasn’t accounted for correctly. I’m guessing because this post has the two most common responses to tech questions about .world: silence from anyone who could actually answer, and the usual “it’ll be them DDOS attacks”.

      • freamon
        link
        fedilink
        English
        21 year ago

        Why are you guessing, when I literally just gave you a link to verify that the API responds?