https://github.com/notrab/restique
https://github.com/notrab/restique
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/notrab/restique
- Owner: notrab
- Created: 2024-03-25T20:32:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-26T18:32:41.000Z (about 1 year ago)
- Last Synced: 2025-01-22T14:08:50.949Z (5 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Restique
## Usage
```bash
./restique dev.db
``````bash
./restique dev.db --port 5000
```## Routes
### Get all tables
```bash
curl http://localhost:8080/
```### Get a single table
```bash
curl http://localhost:8080/{tableName}
```### Get a row by primary key
Doesn't work with composite primary keys.
```bash
curl http://localhost:8080/{tableName}/{primaryKeyValue}
```