Commit 8c7618d4 authored by Michael Rose's avatar Michael Rose

story api: add published/updated/last seen

parent c69602cb
...@@ -4,6 +4,7 @@ do ...@@ -4,6 +4,7 @@ do
json.(, :id, :name) json.(, :id, :name)
json.external_url json.external_url
end end
json.(story, :published, :updated, :last_seen)
json.(story, :status, :language, :rated, :chapters, :favs, :follows, :reviews, :words) json.(story, :status, :language, :rated, :chapters, :favs, :follows, :reviews, :words)
json.characters story.characters, :id, :name, :gender json.characters story.characters, :id, :name, :gender
json.categories story.categories, :name json.categories story.categories, :name
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment