As a lifetime user, how do I use the Inbox feature? The instructions in the user guide are very superficial. It only talks about API, where to find it, but it doesn't show how to use it. Thank you.
How to use "inbox" feature?
This post was last updated for 413 days ago, and the information may already be changed
Related articles
-
The https://liuyun.io/ endpoint does not seem to function on iOS. Is there a equivalent 127.0.0.1 endpoint for addCloudShorthand?
- MiscReply
-
Basti • • 1VIP Warrior
Sending to the SiYuan-Inbox is quiet easy from a small script. I have an example for ruby here...
You need to change "token xxx"
require 'net/http' require 'json' uri = URI('https://liuyun.io/apis/siyuan/inbox/addCloudShorthand') req = Net::HTTP::Post.new(uri) req.body = JSON.dump({ title: Time.now.strftime('%Y-%m-%d'), content: 'Hello from Ruby' }) req['Content-Type'] = 'application/json' req['Authorization'] = 'token xxx' res = Net::HTTP.start(uri.hostname, uri.port, :use_ssl => true) do |http| http.request(req) end case res when Net::HTTPSuccess, Net::HTTPRedirection puts 'DONE' else puts 'FAILED' puts res.value end
-
DoctorJames •VIP Warrior
I am just begining in Siyuan, by far fullfill my need but the inbox is really an obscur item also the use of the API key, is it possible to have a step by step use of it?
Kindly and thanks
- Visit all replies
Welcome to here!
Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.
Signup About