Skip to content

No support for netbox running not on the website root (http://.../netbox/) #3

@kasimon

Description

@kasimon

Our netbox runs on https://$server/netbox/, so the api is at .../netbox/api/. This is currently not possible with the way python-netbox constructs its url:

self.base_url = 'http{s}://{host}:{p}/api'.format(s='s' if use_ssl else '', p=self.port, host=self.host)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions