We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switches, links are using HTTP status code 201 for enable/disable, but interfaces are using 200
POST v3/links/<link_id>/enable -> 201 POST v3/switches//enable -> 201 POST v3/interfaces/<interface_enable_id>/enable -> 200
201 is usually for new resource creation when it doesn't exist, I'd say all enable/disable should return 200 when succeeding.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
switches, links are using HTTP status code 201 for enable/disable, but interfaces are using 200
POST v3/links/<link_id>/enable -> 201
POST v3/switches//enable -> 201
POST v3/interfaces/<interface_enable_id>/enable -> 200
201 is usually for new resource creation when it doesn't exist, I'd say all enable/disable should return 200 when succeeding.
The text was updated successfully, but these errors were encountered: