Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML convient au débogage, mais est inapproprié pour être utilisé dans une application.

Spécifiez le paramètre format pour modifier le format de sortie. Pour voir la représentation non HTML du format JSON, mettez format=json.

Voir la documentation complète, ou l’aide de l’API pour plus d’informations.

{
    "entities": {
        "P17": {
            "pageid": 38,
            "ns": 122,
            "title": "Property:P17",
            "lastrevid": 173324,
            "modified": "2019-12-24T19:27:01Z",
            "type": "property",
            "datatype": "external-id",
            "id": "P17",
            "labels": {
                "fr": {
                    "language": "fr",
                    "value": "NOR"
                }
            },
            "descriptions": {
                "fr": {
                    "language": "fr",
                    "value": "identifiant de textes fran\u00e7ais, depuis 1987"
                }
            },
            "aliases": {},
            "claims": {
                "P14": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P14",
                            "hash": "da46f9cf1aa6364b9c0bb7c447fc2a574d0c0e4b",
                            "datavalue": {
                                "value": "https://www.legifrance.gouv.fr/UnTexteDeJorf.do?numjo=$1",
                                "type": "string"
                            },
                            "datatype": "string"
                        },
                        "type": "statement",
                        "id": "P17$2c5541ae-4b4b-e949-3cc5-bb0e8846462d",
                        "rank": "normal"
                    }
                ],
                "P42": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P42",
                            "hash": "103a39e1bfd6fa905327884102a9fb6412ebf1b4",
                            "datavalue": {
                                "value": {
                                    "entity-type": "item",
                                    "numeric-id": 112493,
                                    "id": "Q112493"
                                },
                                "type": "wikibase-entityid"
                            },
                            "datatype": "wikibase-item"
                        },
                        "type": "statement",
                        "qualifiers": {
                            "P44": [
                                {
                                    "snaktype": "value",
                                    "property": "P44",
                                    "hash": "0c648007a57b56dd8baaf95359f9bfd91049a092",
                                    "datavalue": {
                                        "value": {
                                            "entity-type": "item",
                                            "numeric-id": 112465,
                                            "id": "Q112465"
                                        },
                                        "type": "wikibase-entityid"
                                    },
                                    "datatype": "wikibase-item"
                                }
                            ],
                            "P58": [
                                {
                                    "snaktype": "value",
                                    "property": "P58",
                                    "hash": "7350d50aebad811df2f3cc7786fc4ccb640fe6f0",
                                    "datavalue": {
                                        "value": {
                                            "entity-type": "item",
                                            "numeric-id": 112508,
                                            "id": "Q112508"
                                        },
                                        "type": "wikibase-entityid"
                                    },
                                    "datatype": "wikibase-item"
                                }
                            ]
                        },
                        "qualifiers-order": [
                            "P44",
                            "P58"
                        ],
                        "id": "P17$a646306a-44d0-f9b9-94d3-c09a776a614a",
                        "rank": "normal"
                    },
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P42",
                            "hash": "41ccab7bb78b4439a917e63ff9b45cb05357e471",
                            "datavalue": {
                                "value": {
                                    "entity-type": "item",
                                    "numeric-id": 112485,
                                    "id": "Q112485"
                                },
                                "type": "wikibase-entityid"
                            },
                            "datatype": "wikibase-item"
                        },
                        "type": "statement",
                        "qualifiers": {
                            "P44": [
                                {
                                    "snaktype": "value",
                                    "property": "P44",
                                    "hash": "0c648007a57b56dd8baaf95359f9bfd91049a092",
                                    "datavalue": {
                                        "value": {
                                            "entity-type": "item",
                                            "numeric-id": 112465,
                                            "id": "Q112465"
                                        },
                                        "type": "wikibase-entityid"
                                    },
                                    "datatype": "wikibase-item"
                                }
                            ],
                            "P54": [
                                {
                                    "snaktype": "value",
                                    "property": "P54",
                                    "hash": "5a1f090cd1f2177d062b318fbc4ba61443e53500",
                                    "datavalue": {
                                        "value": "[A-Z]{4}[0-9]{7}[ABCDEFGJKLNPRSTVWXYZ]",
                                        "type": "string"
                                    },
                                    "datatype": "string"
                                }
                            ]
                        },
                        "qualifiers-order": [
                            "P44",
                            "P54"
                        ],
                        "id": "P17$cb6c45bb-4ca8-6942-f824-126388339ad5",
                        "rank": "normal"
                    }
                ],
                "P3": [
                    {
                        "mainsnak": {
                            "snaktype": "value",
                            "property": "P3",
                            "hash": "c9210d5f1a0291c003276860a9bbdc6c54868ad1",
                            "datavalue": {
                                "value": "P464",
                                "type": "string"
                            },
                            "datatype": "external-id"
                        },
                        "type": "statement",
                        "id": "P17$eef880c2-48f2-6237-71d8-0df7b6747292",
                        "rank": "normal"
                    }
                ]
            }
        }
    },
    "success": 1
}