Page MenuHomePhabricator

[Task] API wbeditentity only accepts references and qualifiers grouped by property value
Closed, DeclinedPublic

Description

https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#New_API_wbeditentity:_Help

"references": [
    {
        "snaks": [
            {
                "snaktype": "value",
                "property": "P17",
                "datavalue": {
                    "value": {
                        "entity-type": "item",
                        "numeric-id": 144
                    },
                    "type": "wikibase-entityid"
                }
            }
        ]
    }
]

will not work

"references":[
   {
      "snaks":{
         "P56":[
            {
               "snaktype":"value",
               "property":"P56",
               "datavalue":{
                  "value":"src",
                  "type":"string"
               }
            }
         ]
      }
   }
]

will work

Both of the above should probably work for both references and qualifiers


Version: master
Severity: normal
Whiteboard: u=dev c=backend p=0

Details

Reference
bz55834

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:13 AM
bzimport set Reference to bz55834.
bzimport added a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
thiemowmde renamed this task from api wbeditentity only accepts references and qualifiers grouped by property value to [Task] API wbeditentity only accepts references and qualifiers grouped by property value.Aug 13 2015, 4:20 PM
thiemowmde lowered the priority of this task from High to Low.
thiemowmde set Security to None.
thiemowmde removed a subscriber: Wikidata-bugs.

This hasn't really turned out to be an issue, so let's not bother