Commit Graph

9 Commits

Author SHA1 Message Date
jygaulier
179431d1b5 PHRAS-3931_phraseanet_local_id_in_api (#4400)
* add "resource_id" to record / story ; formula defined into InstanceIdAware.php

* fix tests

* fix tests

* switch to main/instance_id
2023-10-30 17:15:04 +01:00
jygaulier
9fd6c50377 PHRAS-3582
WIP
fix missing data on apiv3 stories (not implemented includes)
todo : check apiv1 "metadataS" (aka dublin core) output.
2021-12-01 20:35:27 +01:00
jygaulier
7c01c34dfc - add timing debug, disable permalinks injection to es 2020-10-27 17:18:37 +01:00
jygaulier
ff44cc379e WIP / DEBUG
- add every subdef in es document, including permalink
2020-10-21 20:07:11 +02:00
jygaulier
d0283913de WIP / DEBUG
- add stopwatches to find slow parts.
- to test : add api-v3/searchraw ; same as "search", but returns raw es docs (shortest way). No objects, no fractal.
2020-10-21 20:07:11 +02:00
jygaulier
4da47a7908 - fix : include=facets now works also in extended mode 2020-09-29 20:00:14 +02:00
jygaulier
d5fc38b459 - fix : restore "suggestions". Declarative : use "...&include[]=suggestions..." 2020-09-25 16:14:47 +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
9272f3642f WIP
refacto : explode v3 controller, fix warnings
2020-06-03 20:32:10 +02:00