mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36:35 +00:00
Update api generation workflow (#190)
This commit is contained in:
@@ -45,7 +45,7 @@ import json
|
||||
|
||||
url = "https://api.netbird.io/api/groups"
|
||||
|
||||
headers: {
|
||||
headers = {
|
||||
'Accept': 'application/json',
|
||||
'Authorization': 'Token <TOKEN>'
|
||||
}
|
||||
@@ -278,7 +278,7 @@ payload = json.dumps({
|
||||
"ch8i4ug6lnn4g9hqv7m1"
|
||||
]
|
||||
})
|
||||
headers: {
|
||||
headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
'Authorization': 'Token <TOKEN>'
|
||||
@@ -509,7 +509,7 @@ import json
|
||||
|
||||
url = "https://api.netbird.io/api/groups/{groupId}"
|
||||
|
||||
headers: {
|
||||
headers = {
|
||||
'Accept': 'application/json',
|
||||
'Authorization': 'Token <TOKEN>'
|
||||
}
|
||||
@@ -746,7 +746,7 @@ payload = json.dumps({
|
||||
"ch8i4ug6lnn4g9hqv7m1"
|
||||
]
|
||||
})
|
||||
headers: {
|
||||
headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
'Authorization': 'Token <TOKEN>'
|
||||
@@ -975,7 +975,7 @@ import json
|
||||
|
||||
url = "https://api.netbird.io/api/groups/{groupId}"
|
||||
|
||||
headers: {
|
||||
headers = {
|
||||
'Authorization': 'Token <TOKEN>'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user