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

Allow rendering template outside of the device context #10

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

mraerino
Copy link
Member

@mraerino mraerino commented Sep 9, 2024

API call to render for any device:

curl -X 'POST' \
  'https://netbox.freifunk-duesseldorf.de/api/extras/config-templates/1/render/?format=txt' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Token <TOKEN>' \
  -d '{
  "device_id": 21
}'

@mraerino mraerino self-assigned this Sep 9, 2024
@mraerino mraerino marked this pull request as ready for review September 16, 2024 21:16
@mraerino mraerino merged commit 77dbac5 into main Sep 16, 2024
2 checks passed
@mraerino mraerino deleted the feat/render-without-device branch September 16, 2024 21:16
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.

1 participant