8 Commits

Author SHA1 Message Date
Pol Dellaiera
d1e1f7faa4
Revert "fix: Autowire and autoconfigure services in chill_main."
This reverts commit d7fbbbf92cfe5233130ed7d5c27aeb9364426436.
2021-11-18 08:34:17 +01:00
Pol Dellaiera
d7fbbbf92c
fix: Autowire and autoconfigure services in chill_main. 2021-11-17 20:31:35 +01:00
nobohan
43fb020272 address: remove serializer config (it is autowired) 2021-06-03 13:01:24 +02:00
nobohan
165012b302 address: POST an address 2021-05-28 10:14:54 +02:00
a448405ce5 Add a denormalizer for fetching entities by id 2021-05-11 20:37:56 +02:00
7a1ad24f0e add endoint /api/1.0/search.json?q=xxx with fake data
See https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/136
2021-05-07 19:11:10 +02:00
2b8bbe019d first impl for index action 2021-05-06 12:08:45 +02:00
66426f5102 serializer on accompanying course
Two new routes:

* `GET /{_locale}/person/api/1.0/accompanying-course/{parcours_id}/show.json`: get a json representation for a course
* `POST /{_locale}/person/api/1.0/accompanying-course/{parcours_id}/participation.json`:
add a particitipation to course. Usage:

    `curl -v --cookie "PHPSESSID=fed98aa23e40cb36e630f84155aea3bb;" -X
POST --data '{ "id": 481 }'
http://localhost:8001/fr/person/api/1.0/accompanying-course/270/participation.json`

    Will add the person with id "481" to the course.
2021-04-26 17:01:22 +02:00