Skip to content
New issue

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

[FEATURE] Add a json model for IP Discover #293

Open
dust63 opened this issue Jan 18, 2021 · 0 comments
Open

[FEATURE] Add a json model for IP Discover #293

dust63 opened this issue Jan 18, 2021 · 0 comments

Comments

@dust63
Copy link

dust63 commented Jan 18, 2021

When we call the rest api route ocsapi/v1/ipdiscover/{network} the api Controller return an array instead of json object.
It's not very clean and can be hard to follow model update.

Can you convert it to a JSON object like you do for computers route:

{
"ip":"192.168.1.1"
"mac_address":"01:02:03:04:05:06"
....
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant