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. React后台管理系统06 路由

    在src目录下新建2views文件夹,用来存放组件,这里我们新建2个路由组件Home About,如下所示: 创建好这两个路由组件之后,在src目录里面我们新建一个router路由文件夹,然后命名一个 ...

  2. 从硅谷到北京,百位AI大咖连续两天集聚讨论AI智能和实践

    全球AI大咖齐聚北京,探讨人工智能前沿!百位AI大咖倾力出席,冲向AI大浪潮! AI从业者和企业家们,一场引领未来的科技盛宴即将在北京掀起!我们荣幸地宣布,第四届"数据智能创新与实践人工智能 ...

  3. wireshark 怎么过滤字符串 和 复制data中的可读文本

    设置 首先点击,[捕获]下面的小放大镜 选择 分组字节流 - 窄(UTF-8/ASCII)- 字符串 (注意,要向选择字符串) 效果 复制报文中的可读数据 右键报文,复制,...as Printabl ...

  4. Linux chroot的关联操作 mount --bind

    假设新的根文件系统已经挂载到 /mnt mount --bind /dev /mnt/dev/ mount --bind /sys /mnt/sys/ mount --bind /proc /mnt/ ...

  5. 管理虚拟环境——virtualenvwrapper

    1.安装virtualenvwrapper 输入命令:pip install -i https://pypi.douban.com/simple/ virtualenv //下载virtualenvw ...

  6. 【更新】【解决中文文件名乱码】mac一键获取最新datagrid 2017.3注册码到剪贴板

    背景与前版实现请见: 前版原文 需要the unarchiver 解决中文文件名在mac上创建文件异常. 代码调整 IDEA_JIHUOMA_HOME="/tmp/idea-jihuoma& ...

  7. pc 移动端 双端切换

    实现一个项目匹配多个端,使用vue.config自带的page 实现多个页面切换.官网介绍:https://cli.vuejs.org/zh/config/#pages 在创建的vue项目中找到 vu ...

  8. 【python笔记】高阶函数map、filter、reduce

    前言 map().reduce().filter()是python的三个高阶函数.所谓高阶函数,指的是将函数作为参数并返回函数作为结果的函数.下面代码的sing_ready只是一个简单高阶函数示例: ...

  9. nlp入门(二) :商品信息可视化与文本分析实战

    源码请到:自然语言处理练习: 学习自然语言处理时候写的一些代码 (gitee.com) 数据来源:麦卡里价格建议挑战Mercari Price Suggestion Challenge | Kaggl ...

  10. RR有幻读问题吗?MVCC能否解决幻读?

    幻读是 MySQL 中一个非常普遍,且面试中经常被问到的问题,如果你还搞不懂什么是幻读?什么是 MVCC?以及 MySQL 中的锁?那么请好好收藏和阅读本篇文章,因为它非常重要. RR 隔离级别 在 ...