Commit Graph

5 Commits

Author SHA1 Message Date
jygaulier
e79f2cb4f2 add:
- multiple pagination methods
- "include" parameter in /search route :
-- facets : facets are no more returned by default
-- results.stories.children : to populate the children of stories
- "story_children_limit" parameter in /search route
  will limit the number of children populated by story
- "count" (for results) and "children_count" (for stories in results) is the number of items in the current page
- "total" (for results) and "children_total" (for stories in results) is the total number of items

todo: swagger doc (but impossible to describe related/excluded parameters (like pagination methods in /search)
2020-09-22 21:30:19 +02:00
jygaulier
236a4a20ac - add : route GET:stories/.../.../children (wip)
- change : now GET record can return a story (return r.is_story = true); GET story will only return a story.
2020-09-17 18:57:13 +02:00
jygaulier
99be4ea1d3 WIP DO NOT MERGE
- add : route GET:records
- add : route POST:records (can create a record without document)
- add : json can be passed in body OR in a multiparm parm named "body" (to allow upload of file along with json)
- change : story content (children) is now a list of urls (=get action on each child)
2020-09-17 18:57:13 +02:00
jygaulier
cdadb3acc4 WIP
refacto common code
2020-06-04 14:08:08 +02:00
jygaulier
9272f3642f WIP
refacto : explode v3 controller, fix warnings
2020-06-03 20:32:10 +02:00