Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wmde/wikibase-rest-api-proposal

A schema proposal for the future Wikibase REST API.
https://github.com/wmde/wikibase-rest-api-proposal

Last synced: 5 days ago
JSON representation

A schema proposal for the future Wikibase REST API.

Awesome Lists containing this project

README

        

# Wikibase REST API Proposal

Prototype schema for the future Wikibase REST API.

The schema can be previewed at https://wmde.github.io/wikibase-rest-api-proposal

The specification follows some [general API design principles](PRINCIPLES.md). Some existing Wikibase APIs have not been included on purpose. You can read more in the [scope document](SCOPE.md).

## Development

This project is using a Javascript tool chain to build an OpenAPI specification and a user interface to show it.

### Prerequisites

Make sure you have [Node](https://nodejs.org/en/download/package-manager/) v10 or up installed. Alternatively, all commands can be run inside of a docker container (e.g. `docker run --rm -v ${PWD}:/app -w /app node:10 npm install`).

All documented commands should be run from the root directory of the cloned repository.

### Install Dependencies

```bash
npm install
```

### Start development server

```bash
npm run watch
```

### Build for deployment

```bash
npm run build
```