Here are the endpoints we should start with to make the REST API useful for the lexeme community:
- Retrieving a full lexeme (GET)
- Creating a full lexeme (POST)
- Creating a statement of a lexeme (POST)
- Creating a form of a lexeme (POST)
- Creating a sense of a lexeme (POST)
- Modifying a full lexeme (PATCH)
- Removing a full lexeme (DELETE)
The URL of the endpoints will be w/rest.php/wikibaselexeme/v1/
Notes:
- The data model of a lexeme can be found here: https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/Data_Model
- Adding additional information that edit summaries will be aligned with Action API so in most cases it will be the same outcome as is in wbeditentities