the claim is not getting created because of empty numeric-id in payload
uri: https://www.wikidata.org/w/api.php
Payload:
action: wbcreateclaim
format: json
entity: Q16161947
property: P136
snaktype: value
value: {"entity-type":"item","numeric-id":""}
summary: Edited with Wikidatacomplete
token: sampletoken+\
Response:
{
"error": {
"code": "invalid-snak",
"info": "Invalid snak data.",
"messages": [
{
"name": "wikibase-api-invalid-snak",
"parameters": [],
"html": {
"*": "Invalid snak data."
}
}
],
"*": "See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
},
"servedby": "mw1421"
}
the claim is not getting created because of empty
numeric-id
in payloaduri:
https://www.wikidata.org/w/api.php
Payload:
Response: