[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-09 Thread Addshore
Addshore moved this task from Peer review to Done on the Wikibase REST API Schema board. Addshore closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T264544 WORKBOARD https://phabricator.wikimedia.org/project/board/5003/ EMAIL PREFERENCES https://phabricator.wik

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-09 Thread Pablo-WMDE
Pablo-WMDE claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T264544 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pablo-WMDE Cc: Addshore, Pablo-WMDE, Silvan_WMDE, Aklapper, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilov

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-09 Thread Pablo-WMDE
Pablo-WMDE added a comment. Will try and document this "gotcha" and that it may come up again in the future. TASK DETAIL https://phabricator.wikimedia.org/T264544 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pablo-WMDE Cc: Addshore, Pablo-WMDE

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-09 Thread Addshore
Addshore added a comment. We decided to write a Gotchas document in the git repo that coveres the reasoning and possible confusions that the status quo here might cause people TASK DETAIL https://phabricator.wikimedia.org/T264544 EMAIL PREFERENCES https://phabricator.wikimedia.org/settin

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-08 Thread Pablo-WMDE
Pablo-WMDE added a comment. > you are always creating a newly addressable resource when updating qualifiers or references I'm understanding this as "the hash changes through the update"? Yes, the name sort of implies that I just somewhat considered that a misnomer. Makes you wonder if

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-08 Thread Addshore
Addshore added a comment. My thinking here is that this has to do with the fact that you are always creating a newly addressable resource when updating qualifiers or references, as the hash will change. TASK DETAIL https://phabricator.wikimedia.org/T264544 EMAIL PREFERENCES https://phab

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-06 Thread Pablo-WMDE
Pablo-WMDE added a comment. I was going to write that e.g. `POST ​/statements​/{statement_id}​/qualifiers`, which in my understanding is a collection to which the request adds an object, and that this fits my understanding of the purpose of `POST` but now realize that this is probably about

[Wikidata-bugs] [Maniphest] T264544: Why are qualifiers and references updated via POST?

2020-10-04 Thread Silvan_WMDE
Silvan_WMDE created this task. Silvan_WMDE added projects: Wikibase REST API Schema, Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Most resources in the proposed spec are replaced with `PUT` and updated with `PATCH`. However, `qualifiers` and `references` are u