ArthurTaylor added a comment.

  Now that @hoo granted my admin permission, the request works as expected:
  
    
{"type":"statement","mainsnak":{"snaktype":"value","property":"P253077","datavalue":{"type":"wikibase-entityid","value":{"id":"E10"}}},"id":"P253077$96461d0e-06dd-11ef-9fbf-8b25ca3a3caf","rank":"normal"}
  
  
  
    {
        "pageinfo": {
            "lastrevid": 1357755
        },
        "success": 1,
        "claim": {
            "mainsnak": {
                "snaktype": "value",
                "property": "P253077",
                "hash": "dfd9d283e690f43d8710a2367e52b989a73ea5d7",
                "datavalue": {
                    "value": {
                        "id": "E10",
                        "type": "entityschema"
                    },
                    "type": "wikibase-entityid"
                },
                "datatype": "entity-schema"
            },
            "type": "statement",
            "id": "P253077$96461d0e-06dd-11ef-9fbf-8b25ca3a3caf",
            "rank": "normal"
        }
    }
  
  and the property is linked to the entity-schema. I assume the reason that 
Marius' request failed is that we only have the Data Type Definition present 
for a Property Type of entity-schema - there's no Value Type registration.

TASK DETAIL
  https://phabricator.wikimedia.org/T362001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, ArthurTaylor
Cc: hoo, ArthurTaylor, Lucas_Werkmeister_WMDE, Aklapper, Arian_Bozorg, 
Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Dringsim, pdehaye, Nandana, Lahi, Gq86, 
Andrawaag, GoranSMilovanovic, QZanden, YULdigitalpreservation, KimKelting, 
LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, MisterSynergy, abian, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to