Skip to content

Fix GET detail route when id is array (single vs multi-id)#57

Open
johanek wants to merge 2 commits intoStackStorm-Exchange:masterfrom
wifinity:master
Open

Fix GET detail route when id is array (single vs multi-id)#57
johanek wants to merge 2 commits intoStackStorm-Exchange:masterfrom
wifinity:master

Conversation

@johanek
Copy link

@johanek johanek commented Mar 3, 2026

Use /endpoint/{id}/ only for scalar or one-element id; keep list endpoint and pass id as query params for multiple ids. Fixes 404 with stackstorm-netbox v3.4.x.

Fixes #48

@johanek johanek requested review from a team, abhi1693 and lampwins as code owners March 3, 2026 16:53
@johanek johanek requested review from rush-skills and removed request for a team March 3, 2026 16:53
@CLAassistant
Copy link

CLAassistant commented Mar 3, 2026

CLA assistant check
All committers have signed the CLA.

Use /endpoint/{id}/ only for scalar or one-element id; keep list
endpoint and pass id as query params for multiple ids. Fixes 404
with stackstorm-netbox v3.4.x.
Only use detail route when id is set; keep list endpoint for multi-id and other filters.
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

Successfully merging this pull request may close these issues.

id parameter of get.dcim.devices action

2 participants