[GH-ISSUE #586] Questions about API #312

Closed
opened 2026-02-25 23:33:55 +03:00 by kerem · 3 comments
Owner

Originally created by @kzshantonu on GitHub (Feb 27, 2023).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/586

Hi, I'm trying to make a shortcut in android with HTTP shortcuts app and I have some questions:

{
	"username": "shiori",
	"password": "gopher",
	"remember": true,
	"owner": true
}
  1. What exactly does owner mean? What does it do?

  2. Is there a way to make sessionId persistent? Like static API keys? I find that even with remember: true, sessions don't persist after the server is restarted

Originally created by @kzshantonu on GitHub (Feb 27, 2023). Original GitHub issue: https://github.com/go-shiori/shiori/issues/586 Hi, I'm trying to make a shortcut in android with HTTP shortcuts app and I have some questions: ``` { "username": "shiori", "password": "gopher", "remember": true, "owner": true } ``` 1. What exactly does `owner` mean? What does it do? 2. Is there a way to make `sessionId` persistent? Like static API keys? I find that even with `remember: true`, sessions don't persist after the server is restarted
kerem 2026-02-25 23:33:55 +03:00
  • closed this issue
  • added the
    tag:stale
    label
Author
Owner

@fmartingr commented on GitHub (Mar 5, 2023):

  1. owner is the internal representation of the user that owns the bookmarks. When is true, it means that it has read/write access to the bookmarks, tags, etc. Otherwise it would be read-only.
  2. Not at the moment, I'm working on that here: https://github.com/go-shiori/shiori/pull/497 Sessions are currently persisted in memory, that's why a restart invalidates them.
<!-- gh-comment-id:1455010656 --> @fmartingr commented on GitHub (Mar 5, 2023): 1. `owner` is the internal representation of the user that owns the bookmarks. When is true, it means that it has read/write access to the bookmarks, tags, etc. Otherwise it would be read-only. 2. Not at the moment, I'm working on that here: https://github.com/go-shiori/shiori/pull/497 Sessions are currently persisted in memory, that's why a restart invalidates them.
Author
Owner

@kzshantonu commented on GitHub (Mar 5, 2023):

Thanks. Noted

<!-- gh-comment-id:1455222861 --> @kzshantonu commented on GitHub (Mar 5, 2023): Thanks. Noted
Author
Owner

@stale[bot] commented on GitHub (Apr 5, 2023):

This issue has been automatically marked as stale because it has not had any activity for quite some time.
It will be closed if no further activity occurs.
Thank you for your contributions.

<!-- gh-comment-id:1496776182 --> @stale[bot] commented on GitHub (Apr 5, 2023): This issue has been automatically marked as stale because it has not had any activity for quite some time. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#312
No description provided.