Hi everyone,
We are working on making it easier to use Wikidata's data to build
applications. A big part of that is a better API. Over the past months
we have been developing the first version and gotten testing and
feedback for it. Last week we made it available on test.wikidata.org.
Today the first version of the new Wikibase REST API is available on
Wikidata. I'd like to thank everyone who helped along the way by
providing feedback and testing.
You can find more information on what you can already do with the new
Wikibase REST API at https://www.wikidata.org/wiki/Wikidata:REST_API.
We will continue to build out its functionality and your input on what
would be most useful for you will help prioritize the next steps.
Please leave your thoughts at
https://www.wikidata.org/wiki/Wikidata_talk:REST_API_feedback_round#The_Wik….
Cheers
Lydia
--
Lydia Pintscher - http://about.me/lydia.pintscher - WD:Q18016466
Product Manager for Wikidata
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
https://wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/029/42207.
*(apologies for cross posting)* Hello everyone,
As you may already know, we are developing a new REST API to improve
programmatic access to data from Wikidata and other Wikibase instances.
Many thanks to everyone who gave us the initial feedback on the proposed
implementation plan of the REST API and subsequently tested the
experimental phase of it on Beta Wikidata
<https://wikidata.beta.wmflabs.org>.
All the items listed in our previous communication
<https://lists.wikimedia.org/hyperkitty/list/wikidata@lists.wikimedia.org/me…>
as still needing to be completed for the initial release have now been
completed and we are pleased to announce that the Wikibase REST API is
planned to go live on Wikidata about a week later.
What is the current state capable of doing?
-
Retrieve the data of an Item with ‘GET /entities/items/{item_id}’ and
filter what fields (i.e. type, labels, descriptions, aliases, statements,
sitelinks) are returned when reading the Item data
-
Retrieve all statements of an Item with ‘GET
/entities/items/{item_id}/statements’
-
Retrieve the data of a single statement of an Item with ‘GET
/entities/items/{item_id}/statements/{statement_id}’ or ‘GET
/statements/{statement_id}’
-
Conditionally request the data only if it has changed since the
specified revision/timestamp (using If-None-Match, If-Modified-Since
HTTP headers)
-
Create a statement on an Item with ‘POST
/entities/items/{item_id}/statements’
-
Authenticate and authorize as a Beta Wikidata user when making edits
using the API, as well as provide edit tags and edit comment, and mark an
edit as one made by a bot.
-
Replacing the statement on an Item with ‘PUT
/entities/items/{item_id}/statements/{statement_id}’ or ‘PUT
/statements/{statement_id}’
-
Removing the statement from an Item with ‘DELETE
/entities/items/{item_id}/statements/{statement_id}’ or ‘DELETE
/statements/{statement_id}’
-
Automated edit summaries
The following functionality is still awaiting a final security review of a
library <https://phabricator.wikimedia.org/T316523> and will be enabled
once that is finished:
-
Editing a statement on an Item with ‘PATCH
/entities/items/{item_id}/statements/{statement_id}’ or ‘PATCH
/statements/{statement_id}’
Please note that the following items previously listed under "The following
will likely not be available in the first version but follow later" have
not yet been finished and will not be available in this initial release:
-
Creating or deleting an Item
-
Getting a statement from an Item based on the Property ID in the
statement
-
Any operation (reading, adding, editing, removing) on sitelinks, labels,
descriptions and aliases
-
Any operation on entity types other than Items (i.e. Properties,
Lexemes, …)
-
Translated error messages
However, we will continue to work on these items in the future to provide a
more comprehensive REST API. In order to prioritize our next steps, we
would greatly appreciate feedback on which missing features you would find
most useful to add next.
If you have any questions or want to provide feedback please let us
know at Wikidata
talk:REST API feedback round
<https://www.wikidata.org/wiki/Wikidata_talk:REST_API_feedback_round#The_Wik…>.
As this new API is more tailored to the Wikibase data model than the Action
API, we have outlined the differences in the JSON data format between the
two
<https://doc.wikimedia.org/Wikibase/master/php/rest_data_format_differences.…>
for you for easy comparison.
Thank you for your patience and support as we continue to improve the
Wikibase REST API.
Cheers,
--
Mohammed Sadat
*Community Communications Manager, Wikidata*
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0) 30 577 116 2466
https://wikimedia.de
Grab a spot in my calendar for a chat: calendly.com/masssly.
Keep up to date! Current news and exciting stories about Wikimedia,
Wikipedia and Free Knowledge in our newsletter (in German): Subscribe now
<https://www.wikimedia.de/newsletter/>.
Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de
Wikimedia Deutschland – Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.
Hello 👋🏽
I'm Benedict Nnaemeka Udeh from Nigeria, a recently hired Community
Relations Specialist (CRS
<https://meta.wikimedia.org/wiki/Community_Relations_Specialists>) for
Wikidata and Commons.
I'm a member of the Igbo Wikimedians User Group, the Founder of IG Wikidata
Hub, and the Founder of Wiki Mentor Africa, a mentorship program that seeks
to bring more African developers and technical writers into the technical
space of Wikimedia. I'm passionate about community growth and capacity
building. Like you, I'm incredibly spirited about the free knowledge
movement.
In my new position as CRS, I will focus on collaboration and communication
with you about Wikidata and Commons product development, the user-facing
changes and roll-outs, and sometimes on projects with special needs for
collaboration with Volunteers. In other words, I am here to serve you (the
editors, contributors, and readers of Commons and Wikidata projects) and
the working groups at the Foundation that support Commons and Wikidata.
I've already started sharing some updates; you can find them on the Product
and technical support for Commons Portal
<https://commons.wikimedia.org/wiki/Commons:Product_and_technical_support_fo…>.
Please feel free to use the discussion page
<https://commons.wikimedia.org/wiki/Commons_talk:Product_and_technical_suppo…>
to discuss these updates.
I look forward to working with and for you all and can't wait to see the
fantastic things we will do together.
Benedict Udeh
Community Relations Specialist
Sehr geehrte Damen und Herren,
ich recherchiere für die Universität für Musik und darstellende Kunst
Wien diverse Namen von Musikern, Komponisten, Schauspieler usw. auf
Ihrer Seite.
Bei einer Recherche fiel mir auf, dass bei dem Komponisten Peter
Kreuder (Q76660) https://www.wikidata.org/wiki/Q76660 der Link zu der
Vienna History Wiki ID 38214
(
https://www.geschichtewiki.wien.gv.at/Special:URIResolver/?curid=38214)
falsch verlingt wurde. Es wird hier die Seite des Richard Franz Kreutel
angezeigt.
Ich denke es ist im allgemeinen Interesse, wenn Fehler bemerkt und
gemeldet werden.
Mit freundlichen Grüßen
Renate Schiebel
Universität für Musik und darstellende Kunst, Wien
Archiv
Tel: 0171155-6512
Anton-von-Webern Platz 1/I
schiebel-renate(a)mdw.ac.at