« Test - Zotero 2 » : différence entre les versions

Page créée avec « {{#get_web_data: url=https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=asc&limit=6&include=data |format=json |use jsonpath=true |data=title=$[*].data.caseName, date=$[*].data.dateDecided, itemType=$[*].data.itemType, court=$[*].data.court, url=$[*].data.url |default=No data }} {| class="wikitable" ! Title ! Date ! Item Type ! Court {{#for_external_table:| {{!}}- {{!}} [{{{url}}} {{{title}}}] {{!}} {{{date}}} {{!}... »
 
Aucun résumé des modifications
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{#get_web_data:
{{#get_web_data:
   url=https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=asc&limit=6&include=data
   url=https://api.zotero.org/groups/4893620/items?itemType=case&limit=6&include=data
   |format=json
   |format=json
   |use jsonpath=true
   |use jsonpath=true
Ligne 6 : Ligne 6 :
   |default=No data
   |default=No data
}}
}}
{| class="wikitable"
{| class="wikitable sortable"
! Title
! Title
! Date
! Date
Ligne 18 : Ligne 18 :
}}
}}
|}
|}
curl -H "Zotero-API-Version: 3" "https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=desc&limit=6&include=data"
 
<pre>
 
{{#get_web_data:
  url=https://api.zotero.org/groups/4893620/items?itemType=case&limit=6&include=data
  |format=json
  |use jsonpath=true
  |data=title=$[*].data.caseName, date=$[*].data.dateDecided, itemType=$[*].data.itemType, court=$[*].data.court, url=$[*].data.url
  |default=No data
}}
{| class="wikitable sortable"
! Title
! Date
! Item Type
! Court {{#for_external_table:|
  {{!}}-
  {{!}} [{{{url}}} {{{title}}}]
  {{!}} {{{date}}}
  {{!}} {{{itemType}}}
  {{!}} {{{court}}}
}}
|}
 
curl -H "Zotero-API-Version: 3" "https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=asc&limit=6&include=data"
 
[
    {
        "key": "DH6KQWMX",
        "version": 5,
        "library": {
            "type": "group",
            "id": 4893620,
            "name": "Alcolois",
            "links": {
                "alternate": {
                    "href": "https://www.zotero.org/groups/alcolois",
                    "type": "text/html"
                }
            }
        },
        "links": {
            "self": {
                "href": "https://api.zotero.org/groups/4893620/items/DH6KQWMX",
                "type": "application/json"
            },
            "alternate": {
                "href": "https://www.zotero.org/groups/alcolois/items/DH6KQWMX",
                "type": "text/html"
            }
        },
        "meta": {
            "createdByUser": {
                "id": 197447,
                "username": "idapi123",
                "name": "Marc Lajoie",
                "links": {
                    "alternate": {
                        "href": "https://www.zotero.org/idapi123",
                        "type": "text/html"
                    }
                }
            },
            "parsedDate": "2022-08-23",
            "numChildren": 0
        },
        "data": {
            "key": "DH6KQWMX",
            "version": 5,
            "itemType": "case",
            "caseName": "Moutsios c. R.",
            "creators": [],
            "abstractNote": "",
            "court": "Quebec ›",
            "dateDecided": "2022-08-23",
            "docketNumber": "500-36-009973-218",
            "reporter": "",
            "reporterVolume": "",
            "firstPage": "",
            "history": "",
            "language": "",
            "shortTitle": "",
            "url": "https://canlii.ca/t/jtgzw",
            "accessDate": "2022-12-20T19:30:27Z",
            "rights": "",
            "extra": "",
            "tags": [],
            "collections": [],
            "relations": {},
            "dateAdded": "2025-01-11T18:45:14Z",
            "dateModified": "2025-01-19T18:45:14Z"
        }
    },
    {
        "key": "6QWJTUGV",
        "version": 5,
        "library": {
            "type": "group",
            "id": 4893620,
            "name": "Alcolois",
            "links": {
                "alternate": {
                    "href": "https://www.zotero.org/groups/alcolois",
                    "type": "text/html"
                }
            }
        },
        "links": {
            "self": {
                "href": "https://api.zotero.org/groups/4893620/items/6QWJTUGV",
                "type": "application/json"
            },
            "alternate": {
                "href": "https://www.zotero.org/groups/alcolois/items/6QWJTUGV",
                "type": "text/html"
            }
        },
        "meta": {
            "createdByUser": {
                "id": 197447,
                "username": "idapi123",
                "name": "Marc Lajoie",
                "links": {
                    "alternate": {
                        "href": "https://www.zotero.org/idapi123",
                        "type": "text/html"
                    }
                }
            },
            "parsedDate": "2022-12-07",
            "numChildren": 0
        },
        "data": {
            "key": "6QWJTUGV",
            "version": 5,
            "itemType": "case",
            "caseName": "Directeur des poursuites criminelles et pénales c. Dion-Lecompte",
            "creators": [],
            "abstractNote": "",
            "court": "Cour supérieure",
            "dateDecided": "2022-12-07",
            "docketNumber": "750-36-000527-212",
            "reporter": "",
            "reporterVolume": "",
            "firstPage": "",
            "history": "",
            "language": "",
            "shortTitle": "",
            "url": "https://canlii.ca/t/jtfx3",
            "accessDate": "2023-06-21T15:34:45Z",
            "rights": "",
            "extra": "",
            "tags": [
                {
                    "tag": "article 91(1)(e) de la LIMBA"
                },
                {
                    "tag": "établissement de son entreprise"
                }
            ],
            "collections": [],
            "relations": {},
            "dateAdded": "2025-01-11T18:45:14Z",
            "dateModified": "2025-01-19T18:45:09Z"
        }
    },
    {
        "key": "8ITGWCI5",
        "version": 5,
        "library": {
            "type": "group",
            "id": 4893620,
            "name": "Alcolois",
            "links": {
                "alternate": {
                    "href": "https://www.zotero.org/groups/alcolois",
                    "type": "text/html"
                }
            }
        },
        "links": {
            "self": {
                "href": "https://api.zotero.org/groups/4893620/items/8ITGWCI5",
                "type": "application/json"
            },
            "alternate": {
                "href": "https://www.zotero.org/groups/alcolois/items/8ITGWCI5",
                "type": "text/html"
            }
        },
        "meta": {
            "createdByUser": {
                "id": 197447,
                "username": "idapi123",
                "name": "Marc Lajoie",
                "links": {
                    "alternate": {
                        "href": "https://www.zotero.org/idapi123",
                        "type": "text/html"
                    }
                }
            },
            "parsedDate": "2023-03-16",
            "numChildren": 0
        },
        "data": {
            "key": "8ITGWCI5",
            "version": 5,
            "itemType": "case",
            "caseName": "Dion-Lecompte c. Directeur des poursuites criminelles et pénales",
            "creators": [],
            "abstractNote": "",
            "court": "Cour d'appel du Québec",
            "dateDecided": "2023-03-16",
            "docketNumber": "500-10-007941-238",
            "reporter": "",
            "reporterVolume": "",
            "firstPage": "",
            "history": "",
            "language": "",
            "shortTitle": "",
            "url": "https://canlii.ca/t/jw7bs",
            "accessDate": "2023-06-21T15:27:20Z",
            "rights": "",
            "extra": "",
            "tags": [
                {
                    "tag": "article 91(1)(e) de la LIMBA"
                },
                {
                    "tag": "établissement de son entreprise"
                }
            ],
            "collections": [],
            "relations": {},
            "dateAdded": "2025-01-11T18:45:14Z",
            "dateModified": "2025-01-19T18:45:03Z"
        }
    },
    {
        "key": "KFWM88ZS",
        "version": 5,
        "library": {
            "type": "group",
            "id": 4893620,
            "name": "Alcolois",
            "links": {
                "alternate": {
                    "href": "https://www.zotero.org/groups/alcolois",
                    "type": "text/html"
                }
            }
        },
        "links": {
            "self": {
                "href": "https://api.zotero.org/groups/4893620/items/KFWM88ZS",
                "type": "application/json"
            },
            "alternate": {
                "href": "https://www.zotero.org/groups/alcolois/items/KFWM88ZS",
                "type": "text/html"
            }
        },
        "meta": {
            "createdByUser": {
                "id": 197447,
                "username": "idapi123",
                "name": "Marc Lajoie",
                "links": {
                    "alternate": {
                        "href": "https://www.zotero.org/idapi123",
                        "type": "text/html"
                    }
                }
            },
            "parsedDate": "2023-06-12",
            "numChildren": 1
        },
        "data": {
            "key": "KFWM88ZS",
            "version": 5,
            "itemType": "case",
            "caseName": "Association des procureurs aux poursuites criminelles et pénales c. Procureur général du Québec",
            "creators": [],
            "abstractNote": "",
            "court": "Cour d'appel du Québec",
            "dateDecided": "2023-06-12",
            "docketNumber": "500-09-029968-229",
            "reporter": "",
            "reporterVolume": "",
            "firstPage": "",
            "history": "",
            "language": "",
            "shortTitle": "",
            "url": "https://canlii.ca/t/jxmhs",
            "accessDate": "2023-06-16T17:02:55Z",
            "rights": "",
            "extra": "",
            "tags": [],
            "collections": [],
            "relations": {},
            "dateAdded": "2025-01-11T18:45:14Z",
            "dateModified": "2025-01-19T18:44:54Z"
        }
    },
    {
        "key": "GU9JV94U",
        "version": 4,
        "library": {
            "type": "group",
            "id": 4893620,
            "name": "Alcolois",
            "links": {
                "alternate": {
                    "href": "https://www.zotero.org/groups/alcolois",
                    "type": "text/html"
                }
            }
        },
        "links": {
            "self": {
                "href": "https://api.zotero.org/groups/4893620/items/GU9JV94U",
                "type": "application/json"
            },
            "alternate": {
                "href": "https://www.zotero.org/groups/alcolois/items/GU9JV94U",
                "type": "text/html"
            }
        },
        "meta": {
            "createdByUser": {
                "id": 197447,
                "username": "idapi123",
                "name": "Marc Lajoie",
                "links": {
                    "alternate": {
                        "href": "https://www.zotero.org/idapi123",
                        "type": "text/html"
                    }
                }
            },
            "creatorSummary": "Landry",
            "parsedDate": "2012-03-20",
            "numChildren": 2
        },
        "data": {
            "key": "GU9JV94U",
            "version": 4,
            "itemType": "case",
            "caseName": "9207-6348 Québec Inc. c Québec (Régie des alcools, des courses et des jeux)",
            "creators": [
                {
                    "creatorType": "author",
                    "firstName": "François",
                    "lastName": "Landry"
                }
            ],
            "abstractNote": "",
            "court": "CanLII",
            "dateDecided": "2012-03-20",
            "docketNumber": "SAE-M-196600-1202",
            "reporter": "",
            "reporterVolume": "",
            "firstPage": "28416 (QC TAQ)",
            "history": "",
            "language": "fr",
            "shortTitle": "",
            "url": "https://canlii.ca/t/frgs0",
            "accessDate": "2025-01-19T15:32:15Z",
            "rights": "",
            "extra": "Test: Ceci est un test\nTest 2: Ceci est un autre test",
            "tags": [],
            "collections": [],
            "relations": {},
            "dateAdded": "2025-01-19T18:24:04Z",
            "dateModified": "2025-01-19T18:24:04Z"
        }
    }
]%   
</pre>
[[Catégorie:Test]]