gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

Any updated API document ? #2186

Closed trump-7575 closed 1 year ago

trump-7575 commented 1 year ago

Contact Details

No response

What happened?

I still refered to the api doc. at https://app.swaggerhub.com/apis-docs/Netmaker/netmaker/0.15.2#/ for the new installed netmaker 0.18.5 . Unfortunately , the api call to create the access key failed . It worked at netmaker 0.17.1 .

The api. call is similiar to the following curl cmd. : curl -d '{"accessstring":"hbdmdlIjodaiIn0=","name":"skynet1_access_key","uses":99999,"value":"whatisthis"}' -H "Authorization: Bearer the_secret" -H 'Content-Type: application/json' https://api.nm.111-222-333-444.nip.io/api/networks/skynet1/keys

Server responses : 404 page not found

Previously it still worked . Any updated API doc. please ?

Version

v0.18.5

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

dfry commented 1 year ago

Looks like it changed with 0.18.5 release, it was working on 0.18.4. 👍 for updated API docs.

mattkasun commented 1 year ago

update api docs are available at https://openapi.netmaker.io