Net-API Multi-vendor | Demo Pameran Karya ITC UNSIA 2025
    Net-API Multi-vendor | Demo Pameran Karya ITC UNSIA 2025
    • Start your Apidog journey
    • Sample APIs
      • Find pet by ID
        GET
      • Add a new pet to the store
        POST
      • Update an existing pet
        PUT
      • Deletes a pet
        DELETE
      • Finds Pets by status
        GET
    • Selamat datang
      GET
    • List Perangkat
      GET
    • 01-Office (Juniper)
      GET
    • 101-Office-config
      GET
    • 102-Office-interfaces
      GET
    • 103-Office-vlans
      GET
    • 104-Office-arp-table
      GET
    • 105-Office-interfaces_ip
      GET
    • 106-Office-environment
      GET
    • 107-Office-users
      GET
    • 02-Branch (Cisco)
      GET
    • 201-Branch-config
      GET
    • 202-Branch-interfaces
      GET
    • 203-Branch-interfaces_ip
      GET
    • 204-Branch-arp_table
      GET
    • 205-Branch-mac_address_table
      GET
    • 206-Branch-snmp
      GET
    • 207-Branch-environment
      GET
    • 03-Home (Mikrotik)
      GET
    • 04-Ruko (Mikrotik)
      GET
    • 401-Ruko-interfaces
      GET
    • 402-Ruko-interfaces_ip
      GET
    • 403-Ruko-get_mac_address_table
      GET
    • 404-Ruko-snmp
      GET
    • 405-Ruko-users
      GET

      101-Office-config

      Developing
      GET
      /devices/office/napalm_get/config

      Request

      None

      Responses

      🟢200Success
      application/json
      Body
      office
      array [object {10}] 
      required
      result
      object 
      optional
      host
      object 
      optional
      changed
      boolean 
      optional
      diff
      string 
      optional
      failed
      boolean 
      optional
      exception
      null 
      optional
      name
      string 
      optional
      severity_level
      integer 
      optional
      stdout
      null 
      optional
      stderr
      null 
      optional
      Example
      {"office":[{"result":{"config":{"startup":"","running":"\n## Last commit: 2025-02-14 20:25:48 UTC by ash\nversion 12.1R1.9;\nsystem {\n    root-authentication {\n        encrypted-password \"$1$nQtZvs10$CCuZdADjE6iEwdZTyuSgJ0\";\n    }\n    login {\n        user ash {\n            uid 2000;\n            class super-user;\n            authentication {\n                encrypted-password \"$1$swXZxB31$U0DKZdZZugrR1kVlb4vPK1\";\n            }\n        }\n    }\n    services {\n        ssh {\n            root-login allow;\n            protocol-version v2;\n            connection-limit 10;\n        }\n    }\n    syslog {\n        user * {\n            any emergency;\n        }\n        file messages {\n            any notice;\n            authorization info;\n        }\n        file interactive-commands {\n            interactive-commands any;\n        }\n    }\n}\ninterfaces {\n    em0 {\n        vlan-tagging;\n        unit 100 {\n            vlan-id 100;\n            family inet {\n                address 10.200.251.2/24;\n            }\n        }\n    }\n}\nrouting-options {\n    static {\n        route 0.0.0.0/0 {\n            next-hop 10.200.251.1;\n            resolve;\n        }\n    }\n}\n","candidate":"\n## Last changed: 2025-02-14 20:25:48 UTC\nversion 12.1R1.9;\nsystem {\n    root-authentication {\n        encrypted-password \"$1$nQtZvs10$CCuZdADjE6iEwdZTyuSgJ0\";\n    }\n    login {\n        user ash {\n            uid 2000;\n            class super-user;\n            authentication {\n                encrypted-password \"$1$swXZxB31$U0DKZdZZugrR1kVlb4vPK1\";\n            }\n        }\n    }\n    services {\n        ssh {\n            root-login allow;\n            protocol-version v2;\n            connection-limit 10;\n        }\n    }\n    syslog {\n        user * {\n            any emergency;\n        }\n        file messages {\n            any notice;\n            authorization info;\n        }\n        file interactive-commands {\n            interactive-commands any;\n        }\n    }\n}\ninterfaces {\n    em0 {\n        vlan-tagging;\n        unit 100 {\n            vlan-id 100;\n            family inet {\n                address 10.200.251.2/24;\n            }\n        }\n    }\n}\nrouting-options {\n    static {\n        route 0.0.0.0/0 {\n            next-hop 10.200.251.1;\n            resolve;\n        }\n    }\n}\n"}},"host":{},"changed":false,"diff":"","failed":false,"exception":null,"name":"Get office config","severity_level":20,"stdout":null,"stderr":null}]}
      Modified at 2025-02-22 00:14:14
      Previous
      01-Office (Juniper)
      Next
      102-Office-interfaces
      Built with