Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Unable to access Joplin Server API

    Joplin Server
    3
    5
    195
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • colonelpanic
      colonelpanic last edited by

      I'm trying to use the Joplin Data API, but I'm not getting anywhere. I am using the firewall my VPS provider has, and I made sure to accept inbound TCP requests to port 41184 per the Joplin docs. I also added it to the whitelist per the Cloudron docs. This did not resolve the issue. Any idea what I could be missing? Thanks in advance.

      fbartels 1 Reply Last reply Reply Quote 1
      • Deleted by  colonelpanic colonelpanic 
      • Restored by  colonelpanic colonelpanic 
      • colonelpanic
        colonelpanic last edited by colonelpanic

        Update: I am able to access the endpoint GET /ping, but nothing else works. The rest of the endpoints (notes, tag, folders) just respond with:

        {
        	"error": "Path not found: api/notes"
        }
        

        I tried with the following URLS:

        • sub.domain.tld:41184/ping
        • sub.domain.tld/api/ping

        The URL using /api/ping responds with:

        {
        	"status": "ok",
        	"message": "Joplin Server is running"
        }
        
        1 Reply Last reply Reply Quote 1
        • robi
          robi last edited by

          does the API need to be enabled in the app config?
          env file perhaps?

          Life of Advanced Technology

          1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels App Dev @colonelpanic last edited by

            @colonelpanic said in Unable to access Joplin Server API:

            Joplin Data API

            I think there is a misunderstanding here. The described api is something that the desktop application of Joplin implements. It also says directly at the beginning of the page:

            This API is available when the clipper server is running.

            The server seems to only have a (delta) syncing api and not full rest access to the data.

            colonelpanic 1 Reply Last reply Reply Quote 3
            • colonelpanic
              colonelpanic @fbartels last edited by

              @fbartels, you are correct. I read that and used the app to start the Web Clipper service, but I was under the impression that I was starting the Web Clipper on the Joplin server. Instead, it starts up a service on the client or workstation running the Joplin app. I don't think the wording is as "direct" or clear as it could be. Thanks.

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  nebulon nebulon 
              • Topic has been marked as solved  nebulon nebulon 
              • First post
                Last post
              Powered by NodeBB