mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 10:53:24 +00:00
Update README: Remove custom peer ID documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
README.md
@@ -53,16 +53,7 @@ Health check endpoint with version
|
|||||||
#### `POST /register`
|
#### `POST /register`
|
||||||
Register a new peer and receive credentials (peerId + secret)
|
Register a new peer and receive credentials (peerId + secret)
|
||||||
|
|
||||||
**Request (optional):**
|
Generates a cryptographically random 128-bit peer ID.
|
||||||
```json
|
|
||||||
{
|
|
||||||
"peerId": "my-custom-peer-id"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**Notes:**
|
|
||||||
- `peerId` (optional): Custom peer ID (1-128 characters). If not provided, a random ID will be generated.
|
|
||||||
- Returns 409 Conflict if the custom peer ID is already in use.
|
|
||||||
|
|
||||||
**Response:**
|
**Response:**
|
||||||
```json
|
```json
|
||||||
|
|||||||
Reference in New Issue
Block a user