-
Notifications
You must be signed in to change notification settings - Fork 186
Open
Labels
app: pynetboxstatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: documentationA change or addition to the documentationA change or addition to the documentation
Description
I am using version 6.6.2 of pynetbox against version 3.2.7 of NetBox. I'm getting errors trying these api calls:
api = pynetbox.api(self.url)
api.create_token(self.user, self.password)
list(api.dcim.custom_choices())
pynetbox.core.query.RequestError: The requested url: http://192.168.108.56/api/dcim/_custom_field_choices/ could not be found.
likewise:
list(api.extras.custom_choices())
pynetbox.core.query.RequestError: The requested url: http://192.168.108.56/api/extras/_custom_field_choices/ could not be found.
BUT! This url works on my server: http://192.168.108.56/api/extras/custom-fields/ So, as a work-around, I can hit that URL with my token and Requests, but I'd like to be able to get that information from within pynetbox.
Metadata
Metadata
Assignees
Labels
app: pynetboxstatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: documentationA change or addition to the documentationA change or addition to the documentation