nautobot-app-firewall-models icon indicating copy to clipboard operation
nautobot-app-firewall-models copied to clipboard

Wrong URL field in API for Application Object Group

Open pszulczewski opened this issue 8 months ago • 0 comments

Environment

  • Python version: 3.8
  • Nautobot version: 1.6.2
  • nautobot-plugin-firewall-model version: 1.2.1

Expected Behavior

When fetching http:///api/plugins/firewall/application-object-group/ the url field for each object should have /application-object-group/

Observed Behavior

it has /application-object/ instead.

"notes_url": "http://localhost:8000/api/plugins/firewall/application-object-group/786b5d71-9cca-412b-876f-e810350d6409/notes/",
"url": "http://localhost:8000/api/plugins/firewall/application-object/786b5d71-9cca-412b-876f-e810350d6409/",

notes_url is correct, but url is not.

Steps to Reproduce

Go to: /application-object-group endpoint and inspect objects.

pszulczewski avatar Oct 13 '23 12:10 pszulczewski