Skip to content

iOS share sheet and shortcuts integration/REST api help. #349

Answered by szethh
dazeoff asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I saw your issue and tried to do it. It works, kinda. For some reason shiori ignores the title and excerpt when passed with the API, so they do not work (they get fetched automatically by shiori). Tags do work (though they were a nightmare to get working, as Go does not understand JSON lists).

Here is the iCloud link. When you import it you'll have to fill in your host (http://<ip>:<port>), as well as your user and password. It logs in shiori to get a session key, then POSTs the shortcut input to the API. I also added a quick add mode to save time.

Take a look at this collection I found in #281, you can import it on Postman for more API examples.

Hope it helps! Cheers!

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@brianreumere
Comment options

@pythoninthegrass
Comment options

@fmartingr
Comment options

@pythoninthegrass
Comment options

@fmartingr
Comment options

Answer selected by fmartingr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fmartingr
Comment options

@Fletcher-Alderton
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
Converted from issue

This discussion was converted from issue #284 on February 10, 2022 20:01.