mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[GH-ISSUE #284] iOS share sheet and shortcuts integration/REST api help. #210
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dazeoff on GitHub (Nov 30, 2020).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/284
I'm working on an iOS Shortcut to add a share sheet button that add sites to Shiori. I'm currently able to set curl commands that login and pass the url, but I can't figure out how to pass any other info e.g. title, tags, excerpt. If you have an iOS device here is a link to the shortcut that I currently have as an example. Any guidance on what/if I'm able to use the REST api endpoints to add tags and titles when adding a url?
@szethh commented on GitHub (Dec 6, 2020):
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!
@szethh commented on GitHub (Dec 6, 2020):
I wrote this wiki page explaining the API a bit