Open csib opened 3 years ago
The id is always null. POST: /api/v1/peer/add
{ "id": null, "name": "Unnamed", "address": "10.6.0.6/32", "private_key": "sCjKRvkQO4YY6lpNnMNDPo9VDH57CY5mXmDLBlGQrVU=", "public_key": "w4zVoiUFjqaC60bqwRJW+WnyF6KGJuTjhQ9ue79b8UY=", "shared_key": null, "server_id": "1", "dns": "", "allowed_ips": "0.0.0.0/0, ::/0", "configuration": "[Interface]\nAddress = 10.6.0.6/24\nPrivateKey = sCjKRvkQO4YY6lpNnMNDPo9VDH57CY5mXmDLBlGQrVU=\nDNS = \n\n[Peer]\nPublicKey = jSiHMOY1tLMBjGfSdOnUWY3gJz9LU5bUKiOAmV7vGHU=\nAllowedIPs = 0.0.0.0/0, ::/0\nEndpoint = xxx.xxx.xxx.xxx:51820\n" }
The id is always null. POST: /api/v1/peer/add