-
Notifications
You must be signed in to change notification settings - Fork 1
Logbook feature tracker #15
Comments
Thank you for thinking about this! Some thoughts:
|
|
The
That's fair, but we can achieve the same with a single timestamp. It'd have to be based on the
That seems fine. My gut feel is that it'd primarily be for presentational purposes however, in reality I doubt anyone is going to come back to read things later. |
Right, I forgot to write down that my idea was to have the client use a configured photo URL prefix, and just add the logbook entry ID and a
Okay, this sounds fair. In that case I'm also wondering whether we still need a "Subject" for the entries, or just use an abbreviated version of the message in the list, as my thought there was that people could select based on the subject whether or not to read the item now. |
Yeah, I'd keep it flexible and up to the server. That's consistent with our other APIs.
My preference would be to not implement anything until we know we need it, so let's take it out, see how the bare version works, and add it if it makes sense? |
Sounds fine, will do that! |
PR for API documentation in #17. |
This feature is too late for AnimeCon 2019 unfortunately. |
This issue is intended as a tracker for the idea and implementation of the logbook feature.
My current idea was:
Logbook
interface to/api/event
, which will contain the current set of logbook entriesphoto
type for/api/upload
, which takes a photo which then gets stored on the server. This endpoint would return a Photo ID.logbook-entry
type for/api/upload
, with fields forsubject
,message
,senior_only
,photos
andnotify
.notify
would have a value of "nobody", "senior" or "everyone". On finish, the server may notify the people requested about the new logbook entry (but whether this is implemented depends on the server).logbook-viewed
type for/api/upload
, with a field forentryID
, which would make the server mark that the user viewed a particular logbook entry.The
Logbook
interface for/api/event
would contain a list of logbook entries, where each has fields forentry ID
,subject
,message
,senior_only
,photos
andviewedBy
. Where theviewedBy
value is a list ofuserToken
s who have viewed the entry, possibly filtered by the server.What do you think?
The text was updated successfully, but these errors were encountered: