npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/netboxdemo

v3.0.0

Published

DataFire integration for NetBox API

Downloads

4

Readme

@datafire/netboxdemo

Client library for NetBox API

Installation and Usage

npm install --save @datafire/netboxdemo
let netboxdemo = require('@datafire/netboxdemo').create({
  Bearer: ""
});

.then(data => {
  console.log(data);
});

Description

API to access NetBox

Actions

circuits.circuit_terminations.get

Call to super to allow for caching

netboxdemo.circuits.circuit_terminations.get({}, context)

Input

  • input object
    • term_side string
    • port_speed string
    • upstream_speed string
    • xconnect_id string
    • q string
    • circuit_id string
    • site_id string
    • site string
    • term_side__n string
    • port_speed__n string
    • port_speed__lte string
    • port_speed__lt string
    • port_speed__gte string
    • port_speed__gt string
    • upstream_speed__n string
    • upstream_speed__lte string
    • upstream_speed__lt string
    • upstream_speed__gte string
    • upstream_speed__gt string
    • xconnect_id__n string
    • xconnect_id__ic string
    • xconnect_id__nic string
    • xconnect_id__iew string
    • xconnect_id__niew string
    • xconnect_id__isw string
    • xconnect_id__nisw string
    • xconnect_id__ie string
    • xconnect_id__nie string
    • circuit_id__n string
    • site_id__n string
    • site__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

circuits.circuit_terminations.post

netboxdemo.circuits.circuit_terminations.post({
  "body": {
    "circuit": 0,
    "term_side": "",
    "site": 0,
    "port_speed": 0
  }
}, context)

Input

Output

circuits.circuit_terminations.id.delete

netboxdemo.circuits.circuit_terminations.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit termination.

Output

Output schema unknown

circuits.circuit_terminations.id.get

Call to super to allow for caching

netboxdemo.circuits.circuit_terminations.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit termination.

Output

circuits.circuit_terminations.id.patch

netboxdemo.circuits.circuit_terminations.id.patch({
  "body": {
    "circuit": 0,
    "term_side": "",
    "site": 0,
    "port_speed": 0
  },
  "id": 0
}, context)

Input

  • input object

Output

circuits.circuit_terminations.id.put

netboxdemo.circuits.circuit_terminations.id.put({
  "body": {
    "circuit": 0,
    "term_side": "",
    "site": 0,
    "port_speed": 0
  },
  "id": 0
}, context)

Input

  • input object

Output

circuits.circuit_types.get

Call to super to allow for caching

netboxdemo.circuits.circuit_types.get({}, context)

Input

  • input object
    • id string
    • name string
    • slug string
    • q string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • slug__n string
    • slug__ic string
    • slug__nic string
    • slug__iew string
    • slug__niew string
    • slug__isw string
    • slug__nisw string
    • slug__ie string
    • slug__nie string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

circuits.circuit_types.post

netboxdemo.circuits.circuit_types.post({
  "body": {
    "name": "",
    "slug": ""
  }
}, context)

Input

Output

circuits.circuit_types.id.delete

netboxdemo.circuits.circuit_types.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit type.

Output

Output schema unknown

circuits.circuit_types.id.get

Call to super to allow for caching

netboxdemo.circuits.circuit_types.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit type.

Output

circuits.circuit_types.id.patch

netboxdemo.circuits.circuit_types.id.patch({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required CircuitType
    • id required integer: A unique integer value identifying this circuit type.

Output

circuits.circuit_types.id.put

netboxdemo.circuits.circuit_types.id.put({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required CircuitType
    • id required integer: A unique integer value identifying this circuit type.

Output

circuits_circuits_list

Call to super to allow for caching

netboxdemo.circuits_circuits_list({}, context)

Input

  • input object
    • id string
    • cid string
    • install_date string
    • commit_rate string
    • tenant_group_id string
    • tenant_group string
    • tenant_id string
    • tenant string
    • created string
    • created__gte string
    • created__lte string
    • last_updated string
    • last_updated__gte string
    • last_updated__lte string
    • q string
    • provider_id string
    • provider string
    • type_id string
    • type string
    • status string
    • site_id string
    • site string
    • region_id string
    • region string
    • tag string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • cid__n string
    • cid__ic string
    • cid__nic string
    • cid__iew string
    • cid__niew string
    • cid__isw string
    • cid__nisw string
    • cid__ie string
    • cid__nie string
    • install_date__n string
    • install_date__lte string
    • install_date__lt string
    • install_date__gte string
    • install_date__gt string
    • commit_rate__n string
    • commit_rate__lte string
    • commit_rate__lt string
    • commit_rate__gte string
    • commit_rate__gt string
    • tenant_group_id__n string
    • tenant_group__n string
    • tenant_id__n string
    • tenant__n string
    • provider_id__n string
    • provider__n string
    • type_id__n string
    • type__n string
    • status__n string
    • site_id__n string
    • site__n string
    • region_id__n string
    • region__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

circuits_circuits_create

netboxdemo.circuits_circuits_create({
  "body": {
    "cid": "",
    "provider": 0,
    "type": 0
  }
}, context)

Input

Output

circuits_circuits_delete

netboxdemo.circuits_circuits_delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit.

Output

Output schema unknown

circuits_circuits_read

Call to super to allow for caching

netboxdemo.circuits_circuits_read({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this circuit.

Output

circuits_circuits_partial_update

netboxdemo.circuits_circuits_partial_update({
  "body": {
    "cid": "",
    "provider": 0,
    "type": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableCircuit
    • id required integer: A unique integer value identifying this circuit.

Output

circuits_circuits_update

netboxdemo.circuits_circuits_update({
  "body": {
    "cid": "",
    "provider": 0,
    "type": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableCircuit
    • id required integer: A unique integer value identifying this circuit.

Output

circuits_providers_list

Call to super to allow for caching

netboxdemo.circuits_providers_list({}, context)

Input

  • input object
    • id string
    • name string
    • slug string
    • asn string
    • account string
    • created string
    • created__gte string
    • created__lte string
    • last_updated string
    • last_updated__gte string
    • last_updated__lte string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • tag string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • slug__n string
    • slug__ic string
    • slug__nic string
    • slug__iew string
    • slug__niew string
    • slug__isw string
    • slug__nisw string
    • slug__ie string
    • slug__nie string
    • asn__n string
    • asn__lte string
    • asn__lt string
    • asn__gte string
    • asn__gt string
    • account__n string
    • account__ic string
    • account__nic string
    • account__iew string
    • account__niew string
    • account__isw string
    • account__nisw string
    • account__ie string
    • account__nie string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

circuits_providers_create

netboxdemo.circuits_providers_create({
  "body": {
    "name": "",
    "slug": ""
  }
}, context)

Input

Output

circuits_providers_delete

netboxdemo.circuits_providers_delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this provider.

Output

Output schema unknown

circuits_providers_read

Call to super to allow for caching

netboxdemo.circuits_providers_read({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this provider.

Output

circuits_providers_partial_update

netboxdemo.circuits_providers_partial_update({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required Provider
    • id required integer: A unique integer value identifying this provider.

Output

circuits_providers_update

netboxdemo.circuits_providers_update({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required Provider
    • id required integer: A unique integer value identifying this provider.

Output

circuits_providers_graphs

A convenience method for rendering graphs for a particular provider.

netboxdemo.circuits_providers_graphs({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this provider.

Output

dcim_cables_list

Call to super to allow for caching

netboxdemo.dcim_cables_list({}, context)

Input

  • input object
    • id string
    • label string
    • length string
    • length_unit string
    • q string
    • type string
    • status string
    • color string
    • device_id string
    • device string
    • rack_id string
    • rack string
    • site_id string
    • site string
    • tenant_id string
    • tenant string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • label__n string
    • label__ic string
    • label__nic string
    • label__iew string
    • label__niew string
    • label__isw string
    • label__nisw string
    • label__ie string
    • label__nie string
    • length__n string
    • length__lte string
    • length__lt string
    • length__gte string
    • length__gt string
    • length_unit__n string
    • type__n string
    • status__n string
    • color__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim_cables_create

netboxdemo.dcim_cables_create({
  "body": {
    "termination_a_type": "",
    "termination_a_id": 0,
    "termination_b_type": "",
    "termination_b_id": 0
  }
}, context)

Input

Output

dcim_cables_delete

netboxdemo.dcim_cables_delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this cable.

Output

Output schema unknown

dcim_cables_read

Call to super to allow for caching

netboxdemo.dcim_cables_read({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this cable.

Output

dcim_cables_partial_update

netboxdemo.dcim_cables_partial_update({
  "body": {
    "termination_a_type": "",
    "termination_a_id": 0,
    "termination_b_type": "",
    "termination_b_id": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableCable
    • id required integer: A unique integer value identifying this cable.

Output

dcim_cables_update

netboxdemo.dcim_cables_update({
  "body": {
    "termination_a_type": "",
    "termination_a_id": 0,
    "termination_b_type": "",
    "termination_b_id": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableCable
    • id required integer: A unique integer value identifying this cable.

Output

dcim.connected_device.get

This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer interface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors via a protocol such as LLDP. Two query parameters must be included in the request:

  • peer_device: The name of the peer device
  • peer_interface: The name of the peer interface
netboxdemo.dcim.connected_device.get({
  "peer_device": "",
  "peer_interface": ""
}, context)

Input

  • input object
    • peer_device required string: The name of the peer device
    • peer_interface required string: The name of the peer interface

Output

dcim.console_connections.get

netboxdemo.dcim.console_connections.get({}, context)

Input

  • input object
    • name string
    • connection_status string
    • site string
    • device_id string
    • device string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • connection_status__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.console_port_templates.get

Call to super to allow for caching

netboxdemo.dcim.console_port_templates.get({}, context)

Input

  • input object
    • id string
    • name string
    • type string
    • q string
    • devicetype_id string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • type__n string
    • devicetype_id__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.console_port_templates.post

netboxdemo.dcim.console_port_templates.post({
  "body": {
    "device_type": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.console_port_templates.id.delete

netboxdemo.dcim.console_port_templates.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console port template.

Output

Output schema unknown

dcim.console_port_templates.id.get

Call to super to allow for caching

netboxdemo.dcim.console_port_templates.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console port template.

Output

dcim.console_port_templates.id.patch

netboxdemo.dcim.console_port_templates.id.patch({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.console_port_templates.id.put

netboxdemo.dcim.console_port_templates.id.put({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.console_ports.get

Call to super to allow for caching

netboxdemo.dcim.console_ports.get({}, context)

Input

  • input object
    • id string
    • name string
    • description string
    • connection_status string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • type string
    • cabled string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • description__n string
    • description__ic string
    • description__nic string
    • description__iew string
    • description__niew string
    • description__isw string
    • description__nisw string
    • description__ie string
    • description__nie string
    • connection_status__n string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • device_id__n string
    • device__n string
    • tag__n string
    • type__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.console_ports.post

netboxdemo.dcim.console_ports.post({
  "body": {
    "device": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.console_ports.id.delete

netboxdemo.dcim.console_ports.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console port.

Output

Output schema unknown

dcim.console_ports.id.get

Call to super to allow for caching

netboxdemo.dcim.console_ports.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console port.

Output

dcim.console_ports.id.patch

netboxdemo.dcim.console_ports.id.patch({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableConsolePort
    • id required integer: A unique integer value identifying this console port.

Output

dcim.console_ports.id.put

netboxdemo.dcim.console_ports.id.put({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableConsolePort
    • id required integer: A unique integer value identifying this console port.

Output

dcim.console_ports.id.trace.get

Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

netboxdemo.dcim.console_ports.id.trace.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console port.

Output

dcim.console_server_port_templates.get

Call to super to allow for caching

netboxdemo.dcim.console_server_port_templates.get({}, context)

Input

  • input object
    • id string
    • name string
    • type string
    • q string
    • devicetype_id string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • type__n string
    • devicetype_id__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

dcim.console_server_port_templates.post

netboxdemo.dcim.console_server_port_templates.post({
  "body": {
    "device_type": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.console_server_port_templates.id.delete

netboxdemo.dcim.console_server_port_templates.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console server port template.

Output

Output schema unknown

dcim.console_server_port_templates.id.get

Call to super to allow for caching

netboxdemo.dcim.console_server_port_templates.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console server port template.

Output

dcim.console_server_port_templates.id.patch

netboxdemo.dcim.console_server_port_templates.id.patch({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

Output

dcim.console_server_port_templates.id.put

netboxdemo.dcim.console_server_port_templates.id.put({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

Output

dcim.console_server_ports.get

Call to super to allow for caching

netboxdemo.dcim.console_server_ports.get({}, context)

Input

  • input object
    • id string
    • name string
    • description string
    • connection_status string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • type string
    • cabled string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • description__n string
    • description__ic string
    • description__nic string
    • description__iew string
    • description__niew string
    • description__isw string
    • description__nisw string
    • description__ie string
    • description__nie string
    • connection_status__n string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • device_id__n string
    • device__n string
    • tag__n string
    • type__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.console_server_ports.post

netboxdemo.dcim.console_server_ports.post({
  "body": {
    "device": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.console_server_ports.id.delete

netboxdemo.dcim.console_server_ports.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console server port.

Output

Output schema unknown

dcim.console_server_ports.id.get

Call to super to allow for caching

netboxdemo.dcim.console_server_ports.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console server port.

Output

dcim.console_server_ports.id.patch

netboxdemo.dcim.console_server_ports.id.patch({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.console_server_ports.id.put

netboxdemo.dcim.console_server_ports.id.put({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.console_server_ports.id.trace.get

Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

netboxdemo.dcim.console_server_ports.id.trace.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this console server port.

Output

dcim.device_bay_templates.get

Call to super to allow for caching

netboxdemo.dcim.device_bay_templates.get({}, context)

Input

  • input object
    • id string
    • name string
    • q string
    • devicetype_id string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • devicetype_id__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.device_bay_templates.post

netboxdemo.dcim.device_bay_templates.post({
  "body": {
    "device_type": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.device_bay_templates.id.delete

netboxdemo.dcim.device_bay_templates.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device bay template.

Output

Output schema unknown

dcim.device_bay_templates.id.get

Call to super to allow for caching

netboxdemo.dcim.device_bay_templates.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device bay template.

Output

dcim.device_bay_templates.id.patch

netboxdemo.dcim.device_bay_templates.id.patch({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.device_bay_templates.id.put

netboxdemo.dcim.device_bay_templates.id.put({
  "body": {
    "device_type": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.device_bays.get

Call to super to allow for caching

netboxdemo.dcim.device_bays.get({}, context)

Input

  • input object
    • id string
    • name string
    • description string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • description__n string
    • description__ic string
    • description__nic string
    • description__iew string
    • description__niew string
    • description__isw string
    • description__nisw string
    • description__ie string
    • description__nie string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • device_id__n string
    • device__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.device_bays.post

netboxdemo.dcim.device_bays.post({
  "body": {
    "device": 0,
    "name": ""
  }
}, context)

Input

Output

dcim.device_bays.id.delete

netboxdemo.dcim.device_bays.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device bay.

Output

Output schema unknown

dcim.device_bays.id.get

Call to super to allow for caching

netboxdemo.dcim.device_bays.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device bay.

Output

dcim.device_bays.id.patch

netboxdemo.dcim.device_bays.id.patch({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableDeviceBay
    • id required integer: A unique integer value identifying this device bay.

Output

dcim.device_bays.id.put

netboxdemo.dcim.device_bays.id.put({
  "body": {
    "device": 0,
    "name": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableDeviceBay
    • id required integer: A unique integer value identifying this device bay.

Output

dcim.device_roles.get

Call to super to allow for caching

netboxdemo.dcim.device_roles.get({}, context)

Input

  • input object
    • id string
    • name string
    • slug string
    • color string
    • vm_role string
    • q string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • slug__n string
    • slug__ic string
    • slug__nic string
    • slug__iew string
    • slug__niew string
    • slug__isw string
    • slug__nisw string
    • slug__ie string
    • slug__nie string
    • color__n string
    • color__ic string
    • color__nic string
    • color__iew string
    • color__niew string
    • color__isw string
    • color__nisw string
    • color__ie string
    • color__nie string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.device_roles.post

netboxdemo.dcim.device_roles.post({
  "body": {
    "name": "",
    "slug": ""
  }
}, context)

Input

Output

dcim.device_roles.id.delete

netboxdemo.dcim.device_roles.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device role.

Output

Output schema unknown

dcim.device_roles.id.get

Call to super to allow for caching

netboxdemo.dcim.device_roles.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device role.

Output

dcim.device_roles.id.patch

netboxdemo.dcim.device_roles.id.patch({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required DeviceRole
    • id required integer: A unique integer value identifying this device role.

Output

dcim.device_roles.id.put

netboxdemo.dcim.device_roles.id.put({
  "body": {
    "name": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required DeviceRole
    • id required integer: A unique integer value identifying this device role.

Output

dcim.device_types.get

Call to super to allow for caching

netboxdemo.dcim.device_types.get({}, context)

Input

  • input object
    • id string
    • model string
    • slug string
    • part_number string
    • u_height string
    • is_full_depth string
    • subdevice_role string
    • created string
    • created__gte string
    • created__lte string
    • last_updated string
    • last_updated__gte string
    • last_updated__lte string
    • q string
    • manufacturer_id string
    • manufacturer string
    • console_ports string
    • console_server_ports string
    • power_ports string
    • power_outlets string
    • interfaces string
    • pass_through_ports string
    • device_bays string
    • tag string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • model__n string
    • model__ic string
    • model__nic string
    • model__iew string
    • model__niew string
    • model__isw string
    • model__nisw string
    • model__ie string
    • model__nie string
    • slug__n string
    • slug__ic string
    • slug__nic string
    • slug__iew string
    • slug__niew string
    • slug__isw string
    • slug__nisw string
    • slug__ie string
    • slug__nie string
    • part_number__n string
    • part_number__ic string
    • part_number__nic string
    • part_number__iew string
    • part_number__niew string
    • part_number__isw string
    • part_number__nisw string
    • part_number__ie string
    • part_number__nie string
    • u_height__n string
    • u_height__lte string
    • u_height__lt string
    • u_height__gte string
    • u_height__gt string
    • subdevice_role__n string
    • manufacturer_id__n string
    • manufacturer__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.device_types.post

netboxdemo.dcim.device_types.post({
  "body": {
    "manufacturer": 0,
    "model": "",
    "slug": ""
  }
}, context)

Input

Output

dcim.device_types.id.delete

netboxdemo.dcim.device_types.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device type.

Output

Output schema unknown

dcim.device_types.id.get

Call to super to allow for caching

netboxdemo.dcim.device_types.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device type.

Output

dcim.device_types.id.patch

netboxdemo.dcim.device_types.id.patch({
  "body": {
    "manufacturer": 0,
    "model": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableDeviceType
    • id required integer: A unique integer value identifying this device type.

Output

dcim.device_types.id.put

netboxdemo.dcim.device_types.id.put({
  "body": {
    "manufacturer": 0,
    "model": "",
    "slug": ""
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableDeviceType
    • id required integer: A unique integer value identifying this device type.

Output

dcim_devices_list

Call to super to allow for caching

netboxdemo.dcim_devices_list({}, context)

Input

  • input object
    • id string
    • name string
    • asset_tag string
    • face string
    • position string
    • vc_position string
    • vc_priority string
    • tenant_group_id string
    • tenant_group string
    • tenant_id string
    • tenant string
    • local_context_data string
    • created string
    • created__gte string
    • created__lte string
    • last_updated string
    • last_updated__gte string
    • last_updated__lte string
    • q string
    • manufacturer_id string
    • manufacturer string
    • device_type_id string
    • role_id string
    • role string
    • platform_id string
    • platform string
    • region_id string
    • region string
    • site_id string
    • site string
    • rack_group_id string
    • rack_id string
    • cluster_id string
    • model string
    • status string
    • is_full_depth string
    • mac_address string
    • serial string
    • has_primary_ip string
    • virtual_chassis_id string
    • virtual_chassis_member string
    • console_ports string
    • console_server_ports string
    • power_ports string
    • power_outlets string
    • interfaces string
    • pass_through_ports string
    • device_bays string
    • tag string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • asset_tag__n string
    • asset_tag__ic string
    • asset_tag__nic string
    • asset_tag__iew string
    • asset_tag__niew string
    • asset_tag__isw string
    • asset_tag__nisw string
    • asset_tag__ie string
    • asset_tag__nie string
    • face__n string
    • position__n string
    • position__lte string
    • position__lt string
    • position__gte string
    • position__gt string
    • vc_position__n string
    • vc_position__lte string
    • vc_position__lt string
    • vc_position__gte string
    • vc_position__gt string
    • vc_priority__n string
    • vc_priority__lte string
    • vc_priority__lt string
    • vc_priority__gte string
    • vc_priority__gt string
    • tenant_group_id__n string
    • tenant_group__n string
    • tenant_id__n string
    • tenant__n string
    • manufacturer_id__n string
    • manufacturer__n string
    • device_type_id__n string
    • role_id__n string
    • role__n string
    • platform_id__n string
    • platform__n string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • rack_group_id__n string
    • rack_id__n string
    • cluster_id__n string
    • model__n string
    • status__n string
    • mac_address__n string
    • mac_address__ic string
    • mac_address__nic string
    • mac_address__iew string
    • mac_address__niew string
    • mac_address__isw string
    • mac_address__nisw string
    • mac_address__ie string
    • mac_address__nie string
    • virtual_chassis_id__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

dcim_devices_create

netboxdemo.dcim_devices_create({
  "body": {
    "device_type": 0,
    "device_role": 0,
    "site": 0
  }
}, context)

Input

Output

dcim_devices_delete

netboxdemo.dcim_devices_delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device.

Output

Output schema unknown

dcim_devices_read

Call to super to allow for caching

netboxdemo.dcim_devices_read({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device.

Output

dcim_devices_partial_update

netboxdemo.dcim_devices_partial_update({
  "body": {
    "device_type": 0,
    "device_role": 0,
    "site": 0
  },
  "id": 0
}, context)

Input

Output

dcim_devices_update

netboxdemo.dcim_devices_update({
  "body": {
    "device_type": 0,
    "device_role": 0,
    "site": 0
  },
  "id": 0
}, context)

Input

Output

dcim_devices_graphs

A convenience method for rendering graphs for a particular Device.

netboxdemo.dcim_devices_graphs({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this device.

Output

dcim_devices_napalm

Execute a NAPALM method on a Device

netboxdemo.dcim_devices_napalm({
  "method": "",
  "id": 0
}, context)

Input

  • input object
    • method required string
    • id required integer: A unique integer value identifying this device.

Output

dcim.front_port_templates.get

Call to super to allow for caching

netboxdemo.dcim.front_port_templates.get({}, context)

Input

  • input object
    • id string
    • name string
    • type string
    • q string
    • devicetype_id string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • type__n string
    • devicetype_id__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.front_port_templates.post

netboxdemo.dcim.front_port_templates.post({
  "body": {
    "device_type": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  }
}, context)

Input

Output

dcim.front_port_templates.id.delete

netboxdemo.dcim.front_port_templates.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this front port template.

Output

Output schema unknown

dcim.front_port_templates.id.get

Call to super to allow for caching

netboxdemo.dcim.front_port_templates.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this front port template.

Output

dcim.front_port_templates.id.patch

netboxdemo.dcim.front_port_templates.id.patch({
  "body": {
    "device_type": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.front_port_templates.id.put

netboxdemo.dcim.front_port_templates.id.put({
  "body": {
    "device_type": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.front_ports.get

Call to super to allow for caching

netboxdemo.dcim.front_ports.get({}, context)

Input

  • input object
    • id string
    • name string
    • type string
    • description string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • cabled string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • type__n string
    • description__n string
    • description__ic string
    • description__nic string
    • description__iew string
    • description__niew string
    • description__isw string
    • description__nisw string
    • description__ie string
    • description__nie string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • device_id__n string
    • device__n string
    • tag__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.front_ports.post

netboxdemo.dcim.front_ports.post({
  "body": {
    "device": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  }
}, context)

Input

Output

dcim.front_ports.id.delete

netboxdemo.dcim.front_ports.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this front port.

Output

Output schema unknown

dcim.front_ports.id.get

Call to super to allow for caching

netboxdemo.dcim.front_ports.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this front port.

Output

dcim.front_ports.id.patch

netboxdemo.dcim.front_ports.id.patch({
  "body": {
    "device": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableFrontPort
    • id required integer: A unique integer value identifying this front port.

Output

dcim.front_ports.id.put

netboxdemo.dcim.front_ports.id.put({
  "body": {
    "device": 0,
    "name": "",
    "type": "",
    "rear_port": 0
  },
  "id": 0
}, context)

Input

  • input object
    • body required WritableFrontPort
    • id required integer: A unique integer value identifying this front port.

Output

dcim.front_ports.id.trace.get

Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

netboxdemo.dcim.front_ports.id.trace.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this front port.

Output

dcim.interface_connections.get

netboxdemo.dcim.interface_connections.get({}, context)

Input

  • input object
    • connection_status string
    • site string
    • device_id string
    • device string
    • connection_status__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.interface_templates.get

Call to super to allow for caching

netboxdemo.dcim.interface_templates.get({}, context)

Input

  • input object
    • id string
    • name string
    • type string
    • mgmt_only string
    • q string
    • devicetype_id string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • type__n string
    • devicetype_id__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim.interface_templates.post

netboxdemo.dcim.interface_templates.post({
  "body": {
    "device_type": 0,
    "name": "",
    "type": ""
  }
}, context)

Input

Output

dcim.interface_templates.id.delete

netboxdemo.dcim.interface_templates.id.delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface template.

Output

Output schema unknown

dcim.interface_templates.id.get

Call to super to allow for caching

netboxdemo.dcim.interface_templates.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface template.

Output

dcim.interface_templates.id.patch

netboxdemo.dcim.interface_templates.id.patch({
  "body": {
    "device_type": 0,
    "name": "",
    "type": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim.interface_templates.id.put

netboxdemo.dcim.interface_templates.id.put({
  "body": {
    "device_type": 0,
    "name": "",
    "type": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim_interfaces_list

Call to super to allow for caching

netboxdemo.dcim_interfaces_list({}, context)

Input

  • input object
    • id string
    • name string
    • connection_status string
    • type string
    • enabled string
    • mtu string
    • mgmt_only string
    • mode string
    • description string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • cabled string
    • kind string
    • lag_id string
    • mac_address string
    • vlan_id string
    • vlan string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • connection_status__n string
    • type__n string
    • mtu__n string
    • mtu__lte string
    • mtu__lt string
    • mtu__gte string
    • mtu__gt string
    • mode__n string
    • description__n string
    • description__ic string
    • description__nic string
    • description__iew string
    • description__niew string
    • description__isw string
    • description__nisw string
    • description__ie string
    • description__nie string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • tag__n string
    • lag_id__n string
    • mac_address__n string
    • mac_address__ic string
    • mac_address__nic string
    • mac_address__iew string
    • mac_address__niew string
    • mac_address__isw string
    • mac_address__nisw string
    • mac_address__ie string
    • mac_address__nie string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dcim_interfaces_create

netboxdemo.dcim_interfaces_create({
  "body": {
    "device": 0,
    "name": "",
    "type": ""
  }
}, context)

Input

Output

dcim_interfaces_delete

netboxdemo.dcim_interfaces_delete({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface.

Output

Output schema unknown

dcim_interfaces_read

Call to super to allow for caching

netboxdemo.dcim_interfaces_read({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface.

Output

dcim_interfaces_partial_update

netboxdemo.dcim_interfaces_partial_update({
  "body": {
    "device": 0,
    "name": "",
    "type": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim_interfaces_update

netboxdemo.dcim_interfaces_update({
  "body": {
    "device": 0,
    "name": "",
    "type": ""
  },
  "id": 0
}, context)

Input

  • input object

Output

dcim_interfaces_graphs

A convenience method for rendering graphs for a particular interface.

netboxdemo.dcim_interfaces_graphs({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface.

Output

dcim_interfaces_trace

Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).

netboxdemo.dcim_interfaces_trace({
  "id": 0
}, context)

Input

  • input object
    • id required integer: A unique integer value identifying this interface.

Output

dcim.inventory_items.get

Call to super to allow for caching

netboxdemo.dcim.inventory_items.get({}, context)

Input

  • input object
    • id string
    • name string
    • part_id string
    • asset_tag string
    • discovered string
    • q string
    • region_id string
    • region string
    • site_id string
    • site string
    • device_id string
    • device string
    • tag string
    • parent_id string
    • manufacturer_id string
    • manufacturer string
    • serial string
    • id__n string
    • id__lte string
    • id__lt string
    • id__gte string
    • id__gt string
    • name__n string
    • name__ic string
    • name__nic string
    • name__iew string
    • name__niew string
    • name__isw string
    • name__nisw string
    • name__ie string
    • name__nie string
    • part_id__n string
    • part_id__ic string
    • part_id__nic string
    • part_id__iew string
    • part_id__niew string
    • part_id__isw string
    • part_id__nisw string
    • part_id__ie string
    • part_id__nie string
    • asset_tag__n string
    • asset_tag__ic string
    • asset_tag__nic string
    • asset_tag__iew string
    • asset_tag__niew string
    • asset_tag__isw string
    • asset_tag__nisw string
    • asset_tag__ie string
    • asset_tag__nie string
    • region_id__n string
    • region__n string
    • site_id__n string
    • site__n string
    • device_id__n string
    • device__n string
    • tag__n string
    • parent_id__n string
    • manufacturer_id__n string
    • manufacturer__n string
    • limit integer: Number of results to return per page.
    • offset integer: The initial index from which to return the results.

Output

  • output object
    • count required integer
    • next string
    • previous string
    • results required array

dc