Commit Graph

9 Commits

Author SHA1 Message Date
jygaulier
bc1b9f96cc PHRAS-3153_Doc-to-Swagger
- add: json examples for post/patch record
[ci skip]
2021-02-08 21:18:17 +01:00
jygaulier
1182311c71 PHRAS-3153_Doc-to-Swagger
- add: finished searchraw
- change : using "additionalproperties" for key->values
[ci skip]
2021-02-05 15:49:47 +01:00
jygaulier
242674c472 PHRAS-3153_Doc-to-Swagger
- add: searchraw (wip)
[ci skip]
2021-02-02 18:50:18 +01:00
jygaulier
2ddff337ee PHRAS-3347_Doc-to-Swagger
- fix api doc (removed servers, ...)
- add howto push to swagger
[ci skip]
2021-01-19 19:07:08 +01:00
jygaulier
82a8998cb0 wip doc
- add facets structure
- fix record/story differences
2020-09-23 20:03:02 +02:00
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
f9fa3e0802 - add : doc of stories/children
- fix : limiting the number of children with search stories (story_max_records=N in url) respects coll/mask rights
2020-09-17 18:57:13 +02:00
jygaulier
4d4b163def - fix : invalid syntax (ref) for phpstorm openapi plugin (was ok with swaggerhub ?) 2020-09-17 18:57:13 +02:00
jygaulier
0fb8c4bf8e - add : API documentation in openapi format (first drop) 2020-09-17 18:57:13 +02:00