Comments (1)
hi @da2ce7 @WarmBeer, two questions:
- Api versions
Are we going to keep the current API version? This issue only changes Warp with Axum. I will break the API in the next issue: #144
We could keep both. Version v1
could be the current one, and version v2
could be the new one.
I'm working on building the new Axum version without changing the current one. Once we move to Axum, it will be easy to add versions, all of them using Axum.
- API docs
The API documentation is on the torrust.com site.
If we want to generate the API docs automatically with, for example, the utopia crate we should do it soon. Maybe after finishing the Axum implementation while I'm implementing the new API.
Here you have an example with Auxm: https://github.com/juhaku/utoipa/blob/master/examples/todo-axum/src/main.rs
Since we have to maintain docs for multiple API versions I think it's a good idea to use a tool like that. On the other hand, the API is small and it should not change very often.
from torrust-tracker.
Related Issues (20)
- HTTP Tracker client: Print unrecognized responses in JSON
- Serialization from Bencode to JSON
- Tracker Checker: Ouput in JSON
- Tracker Checker: Support different types of tracker addresses
- Tracker Checker: Improve errors. More concrete errors
- Tracker Checker: gracefully handle timeouts
- Tracker Checker: handle Health Check timeouts
- Tracker Checker: handle HTTP Tracker timeouts
- Refactor: `bit_torrent::tracker::http::client::Client` to return errors instead of panicking
- Refactor `bit_torrent::tracker::udp::client::UdpClient` to return errors instead of panicking
- Tracker Checker: handle UDP Tracker timeouts
- Tracker Checker: handle HTTP Tracker error `ConnectionRefused`
- Overhaul logging HOT 1
- Extract Tracker API Client packages
- Error building with rustc 1.78.0-nightly: unknown feature stdsimd
- Tracker API: log request and responses
- HTTP Tracker: log request and responses HOT 1
- UDP Tracker: refactor logs for request and responses
- Health Check API: log request and responses
- Add latency to UDP tracker logs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrust-tracker.