1 [(#SET{defaut_tri,#ARRAY{
3 date,#ENV{date_sens,-
1},
4 maj,#ENV{date_sens,-
1},
5 id_formulaires_reponse,
1,
12 "href":
"[(#URL_SITE_SPIP|concat{/http.api/collectionjson/formulaires_reponses}|url_absolue)]",
13 "title":
"#NOM_SITE_SPIP - <:formidable:reponses_liste:>",
14 "updated":
"[(#DATE|date_iso)]"
15 <B_formulaires_reponses>
18 {
"rel":
"self",
"type":
"application/json",
"href":
"[(#VAL{&}|self|url_absolue)]"}[,
19 (#PAGINATION{collectionjson})]
21 "totalResults": #GRAND_TOTAL,
22 "startIndex": #ENV{debut_formulaires_reponses,
0},
23 "itemsPerPage": #ENV{pagination,
100},
25 <BOUCLE_formulaires_reponses(FORMULAIRES_REPONSES)
27 {statut IN #ENV{statut,#LISTE{publie}}}
31 {tri #ENV{par,#ENV{recherche}|?{points,date}},#GET{defaut_tri}}
32 {pagination #ENV{pagination,
100}}{
","}
34 <INCLURE{fond=http/collectionjson/inc-formulaires_reponse, id_formulaires_reponse, mode, url_self=#SELF}
>
35 </BOUCLE_formulaires_reponses>
37 </B_formulaires_reponses>