Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xsirsaif/elasticsearch-in-action
Practicing Elasticsearch with the Python low-level client: elasticsearch[async].
https://github.com/0xsirsaif/elasticsearch-in-action
Last synced: 21 days ago
JSON representation
Practicing Elasticsearch with the Python low-level client: elasticsearch[async].
- Host: GitHub
- URL: https://github.com/0xsirsaif/elasticsearch-in-action
- Owner: 0xsirsaif
- Created: 2022-07-29T08:00:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T10:55:54.000Z (over 2 years ago)
- Last Synced: 2024-10-05T19:20:35.455Z (3 months ago)
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Use ``HTTPie`` as a client
##### Endpoints
1. ``GET`` specific Book with ``ID``.
```shell
http --json GET :8000/bookstore/[ID]
```2. ``GET`` all Books.
```shell
http --json GET :8000/bookstore/
```3. ``PUT`` or modify Book, validated with Pydantic ``Book`` model.
```shell
http --json PUT :8000/bookstore/[ID] [KEY/Value]
```