At this time it has no entity parameter like wbgetclaims.
2014-02-26 14:51 GMT+01:00 Markus Krötzsch <mar...@semantic-mediawiki.org>: > On 26/02/14 13:45, Daniel Kinzler wrote: > >> Am 26.02.2014 10:33, schrieb Tobi Gritschacher: >> >>> Hey, >>> >>> you can create claims with wbsetclaim. But you would need to create a >>> valid >>> GUID [1] yourself. The claim-GUID you send with your request needs to be >>> <entityId>$<GUID> (e.g. Q2$5627445f-43cb-ed6d-3adb-760e66bd17ee). >>> >> >> Uh, didn't we fix this a long time ago? Client-Supplied GUIDs are evil :( >> > > Yep, I was thinking the same when I read this. Requests with GUIDs that > are not associated with any Statement should be rejected (this typically > would happen if somebody tries to modify a statement that meanwhile has > been deleted; this should rather fail than lead to the silent recreation of > the deleted statement). A special GUID value (empty?) should be used to > "create a new GUID for me"; the new GUID should then be returned in the > reply so that the caller can continue to work with this statement. > > Markus > > > > > _______________________________________________ > Wikidata-tech mailing list > Wikidata-tech@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech >
_______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech