I tried to deploy an api via: plumberDeploy::do_deploy_api(id, "loadData", "./", 8082, docs = TRUE) but its returning this error.plumberDeploy error|690x73.
I am guessing I have an issue with the 'path' parameter. Please I need someone to help me expantiate on the matter and provide a solution. Thank you!
Since I have deployed the API, how do I access the contents of the API. Am I going to use the ipv4 address, the ipv6 address or the private IP address. Because I tried the ipv4 adress/my api and it didn't connect.
So I want to clarify. From your documentation, does this: [[IPADDRESS]]/date/docs/ return the date directly or takes you to the swagger file first. And if so why, because I tried the same thing with the docs at true and false. For false, I expected it to return the date directly. I just want you to explain on this. THANK YOU!!
When you deploy an api, its root will be at the path you used as a parameter for do_deploy_api, if you use docs = TRUE, doc endpoint is going to be your api root + /__docs__/. All other plumber endpoints will be server relative to api root. In the example the root is date and the router endpoint is "/".
Alright thanks. Please how do I reconnect an 'ssh session' without having to provision a new droplet because it always says 'ssh session has been disconnected' after sometime.