https://bugzilla.wikimedia.org/show_bug.cgi?id=42063

       Web browser: ---
             Bug #: 42063
           Summary: Provide a linked data endpoint for accessing entities
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: wikidata-b...@lists.wikimedia.org
        ReportedBy: daniel.kinz...@wikimedia.de
                CC: wikibugs-l@lists.wikimedia.org,
                    wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


In the spirit of the linked data web, entity URIs should resolve to a machine
readable representation of the respective entity. While the API and
Special:Export already provide access to this data, their output contains
wrapper structures and meta-information that does not belong to the entity
denoted by the URI. 

To provide a machine readable representation of the entity, a special page
should be created that generates the canonical JSON representation for a given
entity. URL rewriting can then be used to make this special page accessible via
a canonical URI/URL schema, as described by
<https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme#Machine-readable_access>.
The representation returned by the data endpoint should be consistent with the
representation used in the web API (no necessarily with the internal
representation, which is exposed by Special:Export and does not even need to be
JSON).

Care should be taken to allow caching of this data on the HTTP level, making
use of the appropriate Cache-Control, ETag and If-Modified-Since headers.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to