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. 如何扩展及优化CI/CD流水线?

    如今应用程序的开发通常由多个开发人员组成的团队完成.每个人或团队在项目中发挥自己的作用,然后我们发现在项目的末尾总是有几段代码需要编译,根据每个人的工作方法,管理这种集成可能会浪费很多时间.持续集成和 ...

  2. 大模型微调技术LoRA与QLoRA

    LoRA: Low-Rank Adaptation of Large Language Models 动机 大模型的参数量都在100B级别,由于算力的吃紧,在这个基础上进行所有参数的微调变得不可能.L ...

  3. PowerDesigner反向导入表+PowerDesigner的ER图设计+PowerDesigner连接外键的线(版本16.5)

    使用PowerDesigner导入表+PowerDesigner画ER图+PowerDesigner设置外键 ps: ①ER图:就是PD中的 Physical Diagram 一.导入表,并设置备注为 ...

  4. IoTOS-v1.2.1接入J-IM(t-io)后台通知App

    IoTOS v1.2.1 一.登录页增加可修改轮播 登录页增加可修改数据轮播: 首页轮播图由背景图片.标题.介绍.按钮一.按钮二(可配置跳转地址打开方式)组合而成 二.登录页增加常用运营商平台& ...

  5. Spring 中 Bean 的配置细节

    前言 大家好,我是 god23bin,今天继续说 Spring 的内容,关于 Spring 中 Bean 的配置的,通过上一篇文章的学习,我们知道了 Spring 中的依赖注入,其中有两种主要的方式, ...

  6. 【HDC.Cloud 2023】华为云区块链分论坛内容值得再读!

    摘要:在Web3时代,基础设施不仅仅是传统意义上的服务器.网络等,还包括了区块链节点.智能合约等,这些基础设施的稳定性和可信度直接影响着Web3的发展. 本文分享自华为云社区<[HDC.Clou ...

  7. Lifecycle解决了什么问题,以及它的基本用法

    1.为何要引入Lifecycle? 我首先来举个大家都比较常见的例子:我们在android开发的时候,经常需要在页面的onCreate()方法中对组件进行初始化,在onPause()方法中停止组件,而 ...

  8. 个人博客迁移到托管平台Netlify

    Netlify是一家国外的静态网站的托管平台,提供免费的https,自动化部署和升级,可以监控GitHub.GitLab或者Bitbucket做到自动更新发布. 个人体会访问速度不是很理想,不如部署在 ...

  9. 【转载】Linux虚拟化KVM-Qemu分析(五)之内存虚拟化

    原文信息 作者:LoyenWang 出处:https://www.cnblogs.com/LoyenWang/ 公众号:LoyenWang 版权:本文版权归作者和博客园共有 转载:欢迎转载,但未经作者 ...

  10. 手写raft(一) 实现leader选举

    1. 一致性算法介绍 1.1 一致性同步与Paxos算法 对可靠性有很高要求的系统,通常都会额外部署1至多个机器为备用副本组成主备集群,避免出现单点故障. 有状态的系统需要主节点与备用副本间以某种方式 ...