thiemowmde added a comment.

Hm. These examples are very well hidden in the ApiSandbox, not formatted and 
barely useful when the user wants to build it's own requests. This ticket is 
about the descriptions.

For wbsetreference the description says "The snaks to set the reference to. 
JSON object with property IDs pointing to arrays containing the snaks for that 
property". Something I would love to have is a minimal example like:

  {
    "P212": [
      {
        "snaktype": "value",
        "datavalue": { "value": "bar" }
      }
    ]
  }

For wbsetclaim the description even says "Statement or Claim serialization". 
That doesn't even mention JSON. Other API module's descriptions are similar and 
need improvement.


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

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

To: thiemowmde
Cc: Addshore, Lucie, hoo, aude, JanZerebecki, Lydia_Pintscher, thiemowmde, 
Aklapper, Wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to