Riverbed Cascade Shark Common REST API v1.0



Similar documents
Fairsail REST API: Guide for Developers

Table of Contents. Open-Xchange Authentication & Session Handling. 1.Introduction...3

OAuth 2.0 Developers Guide. Ping Identity, Inc th Street, Suite 100, Denver, CO

Using Foundstone CookieDigger to Analyze Web Session Management

Configuration Guide - OneDesk to SalesForce Connector

vcloud Air Platform Programmer's Guide

SCADA Security. Enabling Integrated Windows Authentication For CitectSCADA Web Client. Applies To: CitectSCADA 6.xx and 7.xx VijeoCitect 6.xx and 7.

Cloud Elements ecommerce Hub Provisioning Guide API Version 2.0 BETA

Title page. Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7

itds OAuth Integration Paterva itds OAuth Integration Building and re-using OAuth providers within Maltego 2014/09/22

A detailed walk through a CAS authentication

Bitcoin Payment Gateway API

vcommander will use SSL and session-based authentication to secure REST web services.

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

Twinfield Single Sign On

Alfresco Share SAML. 2. Assert user is an IDP user (solution for the Security concern mentioned in v1.0)

CA Nimsoft Service Desk

Qualys API Limits. July 10, Overview. API Control Settings. Implementation

Force.com REST API Developer's Guide

Single Sign-On Implementation Guide

Acunetix Web Vulnerability Scanner. Getting Started. By Acunetix Ltd.

BMC Track-It! Web. Web Services API Guide. Version 11.3

Certified Secure Web Application Secure Development Checklist

Single Sign-On Implementation Guide

Axway API Gateway. Version 7.4.1

Configuring Single Sign-on for WebVPN

Check list for web developers

Lecture Notes for Advanced Web Security 2015

Color Screen Phones: SIP-T48G and SIP-T46G with firmware version 73

How To Use Saml 2.0 Single Sign On With Qualysguard

Safewhere*Identify 3.4. Release Notes

Integrating IBM Cognos 8 BI with 3rd Party Auhtentication Proxies

Copyright 2013 Consona Corporation. All rights reserved

Integrating with IBM Tivoli TSOM

EMC ViPR Controller. ViPR Controller REST API Virtual Data Center Configuration Guide. Version

Kaseya 2. User Guide. Version 6.1

Okta/Dropbox Active Directory Integration Guide

VMware vcenter Log Insight Developer's Guide

Getting Started with AD/LDAP SSO

Copyright Pivotal Software Inc, of 10

Magensa Services. Administrative Account Services API Documentation for Informational Purposes Only. September Manual Part Number:

BASELINE SECURITY TEST PLAN FOR EDUCATIONAL WEB AND MOBILE APPLICATIONS

SmarterMeasure Inbound Single Sign On (SSO) Version 1.3 Copyright 2010 SmarterServices, LLC / SmarterServices.com PO Box , Deatsville, AL 36022

DocuSign Single Sign On Implementation Guide Published: March 17, 2016

DocuSign Connect for Salesforce Guide

OpenLogin: PTA, SAML, and OAuth/OpenID

InternetVista Web scenario documentation

Web Application Firewall

WHMCS LUXCLOUD MODULE

Single Sign-On Implementation Guide

QIWI Wallet Pull Payments API

Intellicus Single Sign-on

Sentinel EMS v7.1 Web Services Guide

ACR Connect Authentication Service Developers Guide

Defender Token Deployment System Quick Start Guide

The HTTP Plug-in. Table of contents

OneLogin Integration User Guide

Single Sign-On Implementation Guide

Tableau Server Trusted Authentication

e-filing Secure Web Service User Manual

Using SAML for Single Sign-On in the SOA Software Platform

INTEGRATE SALESFORCE.COM SINGLE SIGN-ON WITH THIRD-PARTY SINGLE SIGN-ON USING SENTRY A GUIDE TO SUCCESSFUL USE CASE

InfoRouter LDAP Authentication Web Service documentation for inforouter Versions 7.5.x & 8.x

Simple Cloud Identity Management (SCIM)

Association Anywhere Authentication Web Service

EHR OAuth 2.0 Security

Credit Card Retrieval API Implementation Guide This guide illustrates how to implement the Credit Card Retrieval API.

IBM Cloud Manager with OpenStack. REST API Reference, version 4.1

MYOB EXO BUSINESS WHITE PAPER

Certified Secure Web Application Security Test Checklist

Phone Manager Application Support JANUARY 2015 DOCUMENT RELEASE 4.2 APPLICATION SUPPORT

IBM SPSS Collaboration and Deployment Services Version 6 Release 0. Single Sign-On Services Developer's Guide

Getting Started with the icontact API

i2b2 Cell Messaging Project Management (PM) Cell

Session Service Architecture

SOA Software API Gateway Appliance 7.1.x Administration Guide

Session Management in Web Applications

Importing Lease Data into Forms Online

Protection! A d m i n i s t r a t o r G u i d e. v 1. O. S a l e s F o r c e C o n n e c t o r. Protect your investments with Protection!

Web Application Guidelines

Application Security Policy

Application Enablement Services. Web Services Programmer Guide Release 4.1 An Avaya MultiVantage Communications Application

Scaling Web Services. W3C Workshop on Web Services. Mark Nottingham. Web Service Scalability and Performance with Optimizing Intermediaries

User and Programmer Guide for the FI- STAR Monitoring Service SE

BlackShield ID Agent for Terminal Services Web and Remote Desktop Web

Single Sign On Guide. Table of Contents

MultiSite Manager. User Guide

Administering Jive for Outlook

REST Webservices API Reference Manual

API documentation - 1 -

Rebasoft Auditor Quick Start Guide

Multi-Factor Network Authentication

Flexible Identity Federation

Jobs Guide Identity Manager February 10, 2012

Building Secure Applications. James Tedrick

Three Step Redirect API V2.0 Patent Pending

Copyright: WhosOnLocation Limited

Oracle Fusion Middleware Oracle API Gateway OAuth User Guide 11g Release 2 ( )

TROUBLESHOOTING RSA ACCESS MANAGER SINGLE SIGN-ON FOR WEB-BASED APPLICATIONS

Transcription:

Riverbed Cascade Shark Common REST API v1.0 Copyright Riverbed Technology Inc. 2015 Created Feb 1, 2015 at 04:02 PM

Contents Contents Overview Data Encoding Resources information: ping information: list services information: get system information authentication: login authentication: authentication info authentication: logout Error Codes 2 4 5 5 6 6 2

Overview This document describes version 1.0 of the Riverbed Common REST API as implemented by Cascade Shark systems. The Common REST API is used to obtain general system information and for authentication. It is assumed that the reader has practical knowledge of RESTful APIs, so the documentation does not go into detail about what REST is and how to use it. Instead the documentation focuses on what data can be accessed or modified, how to access it, and how to encode requests and responses. The Resources section lists the supported REST resources and the methods supported on these resources. For each operation, the document describes what the operation does, the specific HTTP method and URL used, the data types used for requests and responses (if any) and any required or optional URL parameters. The Errors section lists the various error codes that may be returned from REST API operations. Data Encoding Most resources exposed by the API support both XML and encoding for requests and responses. The selection of the specific encoding is accomplished through the use of HTTP headers. The Accept header should be included with all API requests, and it is used to control the encoding of the response body. To specify XML encoding, the header should be set to Accept: text/xml, and to specify encoding, the header should be set to Accept: application/json. If the Accept header is omitted, the default encoding is XML. The Content-Type header must be included with all PUT or POST requests that include a request body. To specify XML encoding, the header should be set to Content-Type: text/xml. To specify encoding, the header should be set to Content-Type: application/json. Some resources support alternative content types for requests and responses, as identified in the specific resource documentation below. This common API and other service-specific APIs support various methods of user authentication and authorization. BASIC (HTTP Basic Authentication): The username and password are passed using the HTTP header in each request. COOKIE (Cookie-based Session Authentication): A valid username and password combination are transmitted in an explicit login request which returns a session identifier. Subsequent requests include this session identifier as a HTTP cookie. Resources information: ping Check availability of the system GET https://device/api/common/1.0/ping On success, the server does not provide any body in the responses. information: list services List the service identifier and version for the various API services available on this system. GET https://device/api/common/1.0/services

[ "id": string, "versions": [ string [ "id": "common", "versions": [ "1.0", "id": "shark", "versions": [ ".2", "4.0" services <object>> List of common services available on this Shark services[service <object> Description of an available service services[service.id <string> Identifier for the service services[service.versions services[service.versions[version <string>> <string> Available versions for service 'id' information: get system information Get basic information about the system, including version, model, and management addresses. GET https://device/api/common/1.0/info "sw_version": string, "hw_version": string, "device_name": string, "mgmt_addresses": [ string, "serial": string, "model": string "mgmt_addresses": [ "172.16.222.11", "sw_version": "10.0.0000.0000", "serial": "N/A", "model": "vshark", "device_name": "my_shark" info <object> General information about this Shark info.sw_version <string> Software version of this Shark info.hw_version <string> info.device_name <string> Host name for this Shark info.mgmt_addresses info.mgmt_addresses[address <string>> <string> Hardware version of this Shark (does not apply to Shark VE) Management IP addresses for this Shark info.serial <string> Serial number of this Shark Optional

info.model <string> Model of this Shark authentication: login Authenticate to the system for session-based authentication. The response will include the information needed to construct a session cookie, and will also include the Set-Cookie HTTP header. POST https://device/api/common/1.0/login Request Body Provide a request body with the following structure: "username": string, "password": string, "purpose": string "username": "user1", "password": "MyPassWord", "purpose": "Logging in to test this Shark." login <object> Login request information for a Shark session login.username <string> The user account to log in with login.password <string> The password of the given account login.purpose <string> The stated purpose of the login session Optional; Should only be included if specify_purpose is enabled in the auth_info structure "session_key": string, "session_id": string "session_key": "pilot_session_id", "session_id": "b9d2eb2-2b7-11e2-b4da-000c29c8cc69" login <object> Information available in response to a successful login login.session_key <string> Cookie name used to identify the session login.session_id <string> Unique session identifier ID Should be set as the value of the 'session_key' cookie authentication: authentication info Get information required to authenticate to the system. GET https://device/api/common/1.0/auth_info

"supported_methods": [ string, "specify_purpose": boolean, "login_banner": string "supported_methods": [ "BASIC", "COOKIE", "OAUTH_2_0", "specify_purpose": false, "login_banner": "" auth_info <object> Information about authentication protocols auth_info.supported_methods <string>> Available authentication methods auth_info.supported_methods[method <string> Authentication method Values: BASIC, COOKIE, OAUTH_2_0 auth_info.specify_purpose <boolean> Indication if the user should be prompted to include a purpose with the login request auth_info.login_banner <string> Banner to be displayed on login page authentication: logout Log out from the system. The request must include a session cookie and will invalidate that cookie for future requests. POST https://device/api/common/1.0/logout This request requires authorization. Request Body Do not provide a request body. On success, the server does not provide any body in the responses. Error Codes In the event that an error occurs while processing a request, the server will respond with appropriate HTTP status code and additional information in the response body: "error_id": "error identifier", "error_text": "error description", "error_info": error specific data structure, optional The table below lists the possible errors and the associated HTTP status codes that may returned. Error ID HTTP Status Comments REQUEST_INVALID_INPUT 400 The request is invalid AUTH_REQUIRED 401 Missing authentication credentials AUTH_INVALID_CREDENTIALS 401 Invalid user name or password AUTH_INVALID_SESSION 401 The authentication session has timed out or is invalid AUTH_EXPIRED_PASSWORD 401 Account password has expired AUTH_INVALID_CODE 401 The Oauth access code is invalid AUTH_EXPIRED_TOKEN 401 The Oauth token has expired AUTH_EXPIRED_CODE 401 The Oauth access code has expired AUTH_DISABLED_ACCOUNT 40 Account has been disabled AUTH_FORBIDDEN 40 Account does not have privileges for this request AUTH_INVALID_TOKEN 40 The Oauth token is invalid RESOURCE_NOT_FOUND 404 The requested resource was not found HTTP_INVALID_METHOD 405 The requested method is not supported by this resouce INTERNAL_ERROR 500 Internal error occurred