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. 除了参数,ref关键字还可以用在什么地方?

    <老生常谈:值类型 V.S. 引用类型>中花了很大的篇幅介绍ref参数针对值类型和引用类型变量的传递.在C#中,除了方法的ref参数,我们还有很多使用ref关键字传递引用/地址的场景,本篇 ...

  2. ERP导出(自定义格式表格)R报表开发代码

    按照正常流程新建程序,画面修改上传,程序下载修改 导入JAVA包,在global.import下 IMPORT com IMPORT JAVA java.net.URL IMPORT JAVA org ...

  3. Vue + Volo.Abp 实现Auth2.0客户端授权模式认证

    @ 目录 注册Client Auth2.0授权 创建vue-oidc-client 创建Auth2.0认证跳转 获取令牌 创建回调页面 创建退出登录 最终效果 Volo.Abp的身份服务器模块默认使用 ...

  4. gRPC vs. HTTP:网络通信协议的对比

    概述 gRPC 和 HTTP 是两种常见的网络通信协议,用于在客户端和服务器之间进行通信.它们具有不同的特点和适用场景,下面对它们进行详细比较. HTTP(Hypertext Transfer Pro ...

  5. 让golang程序生成coredump文件并进行调试

    今天讲讲怎么让golang程序生成coredump文件,并且进行调试的. 别看我写了不少golang的博客,其实我平时写c++的时间更多,所以也算和coredump是老相识了.core dump文件实 ...

  6. 跨越HTTP无状态边界:Cookie与Session在Django中的实战应用

    本文深入探索了Django中的Cookie和Session,解析了如何应对HTTP协议的无状态性问题,说明其基础概念,分析工作原理,并讨论何时应选择使用Cookie或Session.文章进阶部分,提出 ...

  7. 【Mybatis】学习

    Mybatis 学习 环境搭建 pom.xml <!--log4j--> <dependency> <groupId>org.slf4j</groupId&g ...

  8. MD文本编辑工具推荐-matktext

    最开始是用vscode编辑markdown文档,左边写右边看效果的实时渲染模式,对于markdown编辑来说是多余的,多是文字类的内容,配以插图,复杂表格和脑图则更少.之后接触到Typora,所打即所 ...

  9. html元数据

    元数据就是用来描述数据的数据.HTML中也有很多元数据. <meta>标签提供关于HTML文档的元数据:描述(description)\关键词(keywords).文档的作者(author ...

  10. 【路由器】OpenWrt 配置使用

    目录 Web 界面 汉化 root 密码 ssh 升级 LuCI 美化 锐捷认证 MentoHUST MiniEAP 防火墙 开放端口 端口转发 IPv6 USB 安装 USB 驱动 自动挂载 Ext ...