• db0
    link
    fedilink
    English
    818 hours ago

    Does this mean you renamed just the DB columns, but not the API keys?

      • db0
        link
        fedilink
        English
        418 hours ago

        Ah, good to know before I start developing. Can you let me know when we can start the development as I don’t want to use the API and then discover it’s missing more PRs?

        • DessalinesM
          link
          fedilink
          English
          117 hours ago

          I can’t say yet, as we’re still adding things. If you’re not using lemmy-js-client, then as long as your types are generated from it’s main branch directly, then you should be fine.

          • db0
            link
            fedilink
            English
            3
            edit-2
            17 hours ago

            I’m not using the js-client. I’m updating pythorhead so I need to make sure the API is at the final version before I can match it. And to match it I need the patches to be in so I can read the doc, and/or import the swagger.

            I will do what I can in advance, but to do the pre-development you asked for, we do need the final version up somewhere.

            • @[email protected]OPM
              link
              fedilink
              English
              313 hours ago

              The final api version would probably be in 1.0-beta.0, which will still take a few months. But at this time you can already start to adapt for the major changes like combined endpoints, and give feedback if anything else in the api needs changing.

            • DessalinesM
              link
              fedilink
              English
              2
              edit-2
              16 hours ago

              The updated spec should be at https://join-lemmy.org/api/main , and it gives you an option to download the .json file

              Or you can use the lemmy-js-client main branch, and run pnpm tsoa to generate a swagger.json file.