[Wikidata-bugs] [Maniphest] T264086: No generic endpoint to download entity data

2020-10-08 Thread Addshore
Addshore added a comment.


  So tying this into Special:EntityData too, we don't expect an entity type to 
be passed in there.
  So the assumption that the type is always somehow encoded in the ID is pretty 
baked in throughout Wikibase.
  
  I just wrote https://github.com/wmde/wikibase-rest-api-proposal/pull/110 
documenting the current status quo in this general area (with /entities/).
  But perhaps we would want to iterate on from that current state before 
implementation.

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

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

To: Addshore
Cc: Addshore, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, 
Silvan_WMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T264086: No generic endpoint to download entity data

2020-10-06 Thread Pablo-WMDE
Pablo-WMDE moved this task from Backlog to Todo on the Wikibase REST API Schema 
board.
Pablo-WMDE added a comment.


  So I'm interpreting this as (please correct if beside the point)
  
  1. omit the entity type from the path altogether
  2. alternatively (if there are documented reasons why the entity type should 
stay in the path) it should at least be singular instead

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/5003/

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

To: Pablo-WMDE
Cc: Addshore, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, 
Silvan_WMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T264086: No generic endpoint to download entity data

2020-10-06 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  In T264086#6504783 , 
@Pablo-WMDE wrote:
  
  > Would it do justice to the idea of the ticket to alternatively express the 
concern as
  >
  >> The entity type name inside of the path is redundant as that is already 
encoded in the first letter of the entity id
  >
  > ?
  
  That, plus the extra complication by the use of the plural form in the URLs. 
(The principles 

 explain why singular vs. plural should be chosen consistently, but I think 
using singular everywhere would be simpler.)
  
  > In the envisioned use case, what would the users of those "generic 
entities" do next - which response schema (properties, ...) would they expect?
  
  Try to look up statements, for instance, which mostly have the same response 
schema between entity types. (The decision of WikibaseMediaInfo to put them 
under `"statements"`, not `"claims"`, has already caused some pain for tool 
developers: see T149410 .)
  
  Even if the schemas partially diverge, I don’t see the point in intentionally 
making people’s lives harder by putting them under different entry points. Just 
let me get the data of any entity and then I’ll see what I can do with it.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Addshore, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, 
Silvan_WMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T264086: No generic endpoint to download entity data

2020-10-06 Thread Addshore
Addshore added a comment.


  We identified that one of the areas we should tackle here is the TBA in 
https://github.com/wmde/wikibase-rest-api-proposal/blob/master/DECISION-RESEARCH.md#entityitemq42-vs-entityq42
  
  Some more thoughts would be appreciated from @Lucas_Werkmeister_WMDE 
regarding T264086#6504783 
  
  TBA ticket for filling in the TBA

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

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

To: Addshore
Cc: Addshore, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, 
Silvan_WMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T264086: No generic endpoint to download entity data

2020-10-03 Thread Lydia_Pintscher
Lydia_Pintscher added a project: Wikidata.

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

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

To: Lydia_Pintscher
Cc: Addshore, Pablo-WMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, 
Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs