Getting Started,概述

 
  NetWorker REST API is an interface that provides programmatic access to the NetWorker data protection service.  By using REST API, customers can build client applications to automate NetWorker operations.  NetWorker REST API is installed as part of NetWorker server installation in the same Apache tomcat container as the NetWorker authentication services.    Authentication is done using the same credentials as is used for the NetWorker Management Console.  
  REST stands for Representational State Transfer.  It is an Application Programming Interface (API) which allows interaction with resources identified by Uniform Resource Identifier (URI) addresses.  It uses HTTP verbs (HEAD, GET, PUT, POST, DELETE) to interact with the URIs in a stateless way (server contains no client state, each message being self-descriptive).
  This document deals with the interaction with NetWorker resources using customer-written REST API calls.  Not to be confused with the REST API calls which are automatically used by NetWorker as part of its operations, notably as part of the NetWorker NVP-vProxy solution which uses REST as part of its internal communication mechanism.
 

Connecting to NetWorker,连接networker方法:

There are a number of different REST API client technologies which can be used to run the commands to connect to NetWorker including curl commands and REST API client browser extensions. 
 
1、There are three headers needed for connection:    连接需要的3个headers:
  • "Content-Type: application/json"
  • "Accept: application/json"
  • "Authorization: Basic with Base64 encoded username and password
 
2、"The NetWorker REST API is exposed in the following base URI:
https://[nw-server-hostname]:9090/nwrestapi/
 
3、There are three URI groups (below examples use v2, but this could also be v1 or v3 depending on NetWorker version)   ,3个URI组
https://[nw-server-hostname]:9090/nwrestapi/v2/global
https://[nw-server-hostname]:9090/nwrestapi/v2/datazone
https://[nw-server-hostname]:9090/nwrestapi/v2/tenants       
           
4、The full json schema is available at    ,完整的json模式:    schema,提要,纲要
https://[nw-server-hostname]:9090/nwrestapi/v3/schemas/swagger.json

Getting Started

NetWorker REST API is an interface that provides programmatic access to the NetWorker data protection service.  By using REST API, customers can build client applications to automate NetWorker operations.  NetWorker REST API is installed as part of NetWorker server installation in the same Apache tomcat container as the NetWorker authentication services.    Authentication is done using the same credentials as is used for the NetWorker Management Console.  

REST stands for Representational State Transfer.  It is an Application Programming Interface (API) which allows interaction with resources identified by Uniform Resource Identifier (URI) addresses.  It uses HTTP verbs (HEAD, GET, PUT, POST, DELETE) to interact with the URIs in a stateless way (server contains no client state, each message being self-descriptive).

This document deals with the interaction with NetWorker resources using customer-written REST API calls.  Not to be confused with the REST API calls which are automatically used by NetWorker as part of its operations, notably as part of the NetWorker NVP-vProxy solution which uses REST as part of its internal communication mechanism.

python - networker api的更多相关文章

  1. 用 Identity Server 4 (JWKS 端点和 RS256 算法) 来保护 Python web api

    目前正在使用asp.net core 2.0 (主要是web api)做一个项目, 其中一部分功能需要使用js客户端调用python的pandas, 所以需要建立一个python 的 rest api ...

  2. Python DB API 连接数据库

    Python DB API Mysql,Oracle,SqlServer 不关闭,会浪费资源.

  3. Python调用API接口的几种方式 数据库 脚本

    Python调用API接口的几种方式 2018-01-08 gaoeb97nd... 转自 one_day_day... 修改 微信分享: 相信做过自动化运维的同学都用过API接口来完成某些动作.AP ...

  4. Python调用API接口的几种方式

    Python调用API接口的几种方式 相信做过自动化运维的同学都用过API接口来完成某些动作.API是一套成熟系统所必需的接口,可以被其他系统或脚本来调用,这也是自动化运维的必修课. 本文主要介绍py ...

  5. Python Elasticsearch api,组合过滤器,term过滤器,正则查询 ,match查询,获取最近一小时的数据

    Python Elasticsearch api   描述:ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口.下 ...

  6. 如何用 Python 和 API 收集与分析网络数据?

    摘自 https://www.jianshu.com/p/d52020f0c247 本文以一款阿里云市场历史天气查询产品为例,为你逐步介绍如何用 Python 调用 API 收集.分析与可视化数据.希 ...

  7. C++调用Python_____用Python C API

    项目需要用C++来处理用python处理的数据集,所以就需要在C++中调用python. 先介绍第一种方法,python文档中给出了python c api,可以实现C++与python的互动. 先新 ...

  8. flask - fastapi (python 异步API 框架 可以自动生成swagger 文档) 常用示例 以及整合euraka nacos

    flask - fastapi    (python 异步API 框架  可以自动生成swagger 文档)  常用示例: 之前使用 flask 需要手动写文档, 这个可以自动生成, fastapi ...

  9. 如何查看python 的api

    python 搭建好python开发环境后,怎么查看api文档呢? 其实很简单: 首先打开命令行,在dos窗口输入: python -m pydoc -p 4895 python -m pydoc - ...

  10. Python Elasticsearch api

    描述:ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口.下面介绍了利用Python API接口进行数据查询,方便 ...

随机推荐

  1. 深入Python网络编程:从基础到实践

    Python,作为一种被广泛使用的高级编程语言,拥有许多优势,其中之一就是它的网络编程能力.Python的强大网络库如socket, requests, urllib, asyncio,等等,让它在网 ...

  2. 如何在.net6webapi中记录每次接口请求的日志

    为什么在软件设计中一定要有日志系统? 在软件设计中日志模块是必不可少的一部分,可以帮助开发人员更好的了解程序的运行情况,提高软件的可靠性,安全性和性能,日志通常能帮我们解决如下问题: 调试和故障排查: ...

  3. 2023-06-28:你想要用小写字母组成一个目标字符串 target。 开始的时候,序列由 target.length 个 ‘?‘ 记号组成 而你有一个小写字母印章 stamp。 在每个回合,你可

    2023-06-28:你想要用小写字母组成一个目标字符串 target. 开始的时候,序列由 target.length 个 '?' 记号组成 而你有一个小写字母印章 stamp. 在每个回合,你可以 ...

  4. Hello-FPGA CoaXPress 2.0 FPGA HOST IP Core Demo User Manual

    目录 Hello-FPGA CoaXPress 2.0 Host FPGA IP Core Demo 4 1 说明 4 2 设备连接 5 3 VIVADO FPGA工程 6 4 SDK工程 9 图 1 ...

  5. 一种flink 作业提交失败的情况描述与原因排查

    遇到异常 2019-12-24 16:49:59,019 INFO org.apache.flink.yarn.YarnClusterClient - Starting client actor sy ...

  6. 使用 Habana Gaudi2 加速视觉语言模型 BridgeTower

    在对最先进的视觉语言模型 BridgeTower 进行微调时,使用 Optimum Habana v1.6, Habana Gaudi2 可以达到 近 3 倍于 A100 的速度.硬件加速的数据加载以 ...

  7. ubuntu20.4操作指令合集

    每个指令前面尽量加上sudo,避免麻烦的权限问题 下载软件:sudo apt install 包名 开启/关闭防火墙(开启/关闭所有端口):sudo ufw enable/disable 防火墙状态: ...

  8. [Lua][Love Engine] 打砖块游戏实现过程与知识点

    本文旨在根据LOVE2D官方文档和教程实现打砖块的游戏,记录部分实现过程和重要知识点 目标摧毁所有砖块 玩家控制球拍左右滑动反弹小球 小球摧毁砖块 小球保持在屏幕内 小球碰到屏幕底部,GAME OVE ...

  9. 11、Spring之基于注解的AOP

    11.1.环境搭建 创建名为spring_aop_annotation的新module,过程参考9.1节 11.1.1.配置打包方式和依赖 注意:AOP需要在IOC的基础上实现,因此需要导入IOC的依 ...

  10. 2、Spring之IOC概述

    2.1.IOC思想 2.1.1.传统方式获取资源 组件主动地从容器中获取所需要的资源,在这样的模式下开发人员往往需要知道在具体容器中特定资源的获取方式: 提高了学习成本,同时也降低了开发的效率. 2. ...