netgate-package API (19.08)

This YANG module provides a data model for network interfaces.

Copyright 2018-2019 Rubicon Communications, LLC.

package-info

creates netgate.package.PackageInfo

post /operations/netgate-package:package-info

Example URL

https://hostname/restconf/operations/netgate-package:package-info

creates netgate.package.PackageInfo

Request Body schema: application/yang-data+json
input
object (netgate.package.packageinfo.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}

package-install

creates netgate.package.PackageInstall

post /operations/netgate-package:package-install

Example URL

https://hostname/restconf/operations/netgate-package:package-install

creates netgate.package.PackageInstall

Request Body schema: application/yang-data+json
input
object (netgate.package.packageinstall.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}

package-list

creates netgate.package.PackageList

post /operations/netgate-package:package-list

Example URL

https://hostname/restconf/operations/netgate-package:package-list

creates netgate.package.PackageList

Request Body schema: application/yang-data+json
input
object (netgate.package.packagelist.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}

package-remove

creates netgate.package.PackageRemove

post /operations/netgate-package:package-remove

Example URL

https://hostname/restconf/operations/netgate-package:package-remove

creates netgate.package.PackageRemove

Request Body schema: application/yang-data+json
input
object (netgate.package.packageremove.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}

creates netgate.package.PackageSearch

post /operations/netgate-package:package-search

Example URL

https://hostname/restconf/operations/netgate-package:package-search

creates netgate.package.PackageSearch

Request Body schema: application/yang-data+json
input
object (netgate.package.packagesearch.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}

package-upgrade

creates netgate.package.PackageUpgrade

post /operations/netgate-package:package-upgrade

Example URL

https://hostname/restconf/operations/netgate-package:package-upgrade

creates netgate.package.PackageUpgrade

Request Body schema: application/yang-data+json
input
object (netgate.package.packageupgrade.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}