mirror of
https://github.com/xtr-dev/rondevu-server.git
synced 2025-12-10 02:43: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`
|
||||
Register a new peer and receive credentials (peerId + secret)
|
||||
|
||||
**Request (optional):**
|
||||
```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.
|
||||
Generates a cryptographically random 128-bit peer ID.
|
||||
|
||||
**Response:**
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user