Lucas_Werkmeister_WMDE added a comment.

  In T264086#6504783 <https://phabricator.wikimedia.org/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 
<https://github.com/wmde/wikibase-rest-api-proposal/blob/0a5c00ecf8978386c1f204ab95ae73779283d544/PRINCIPLES.md#plurality>
 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 <https://phabricator.wikimedia.org/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

Reply via email to