REST API: Why do we need to set the status field to create a new branch?
#173
-
|
I'm trying to manager netbox branches using the REST APIs, but when I try to create one (following the example here), I get the following error. {
"status": [
"This field is required."
]
}If I instead set this as the body of the request, the branch is created {
"name": "my-new-branch",
"status": "new"
}Since I can set the status, I can also do the following: {
"name": "my-new-branch",
"status": "ready"
}which doesn't make sense to me My question is: there a reason why we would need to set the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
I have this same issue. |
Beta Was this translation helpful? Give feedback.
-
|
Please submit a bug report for this. |
Beta Was this translation helpful? Give feedback.
-
|
I also have this bug - submitted #225 |
Beta Was this translation helpful? Give feedback.
-
|
Closing this as #225 is now closed |
Beta Was this translation helpful? Give feedback.
I also have this bug - submitted #225