Tpt added a comment. |
@daniel We could do something similar for stubs. with structures like:
{ .... "property": { "@id": "wd:Q64", "label": { "@value": "Foo", "@language": "en"} ... }
instead of
{ "@graph": [ { ... "property": "wd:Q64", ... }, { "@id": "wd:Q64", "label": { "@value": "Foo", "@language": "en"} } ] }This structure may make the client processing more convenient and the structure look more like a "usual" JSON REST API.
But my proposed structure is indeed forbidding to return the description of unrelated entities.
TASK DETAIL
EMAIL PREFERENCES
To: cscott, Tpt
Cc: daniel, Lydia_Pintscher, Denny, Abraham, AnjaJentzsch, Aklapper, intracer, Liuxinyu970226, cscott, PokestarFan, gerritbot, Prtksxna, Lucas_Werkmeister_WMDE, Tpt, thiemowmde, Multichill, Eroux108, Realworldobject, Smalyshev, Lea_Lacroix_WMDE, Nickleh, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
Cc: daniel, Lydia_Pintscher, Denny, Abraham, AnjaJentzsch, Aklapper, intracer, Liuxinyu970226, cscott, PokestarFan, gerritbot, Prtksxna, Lucas_Werkmeister_WMDE, Tpt, thiemowmde, Multichill, Eroux108, Realworldobject, Smalyshev, Lea_Lacroix_WMDE, Nickleh, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs