OpenBD Wiki

From OpenBD
Jump to: navigation, search

Nirvanix

OpenBlueDragon has full support for the popular Nirvanix Cloud Storage system.

The Nirvanix Storage Delivery Network™ (SDN) is a fully-managed, highly secure cloud storage service developed for today's enterprises. The SDN intelligently stores, delivers and processes storage requests in the best network location, providing the optimal user experience. The SDN is comprised of standards-based access to integrated services, all powered by Nirvanix's patent-pending proprietary technology and infrastructure.

All of the Public Nirvanix API functions are available as first level functions within the core function list of OpenBlueDragon. The vast majority of function calls operate with the same parameters as described in their documentation.

<cfset appkey = "89034f39-ddbe6a15e79f">
<cfset user   = "yourclient">
<cfset pass   = "yourpassword">

<cfset sessionKey = NXLogin( appKey, user, pass )>

<cfset userData = NXPutFile( sessionKey, "/tmp/smallimage.jpg", "/backup/smallimage.jpg" )>

All Nirvanix functions are prefixed with NX, and will throw an exception if an error occurs.

Contents

Working with the API

Functions return a CFML structure (array or structure) with all the information already converted to CFML data types. You do not need to parse any XML response packets.

API

The following functions are available.

For detailed API information refer: http://developer.nirvanix.com/sitefiles/1000/API.html

Authentication

  • NXLogin
  • NXLoginProxy
  • NXLogout
  • NXChangePassword
  • NXSetChildAccountPassword

Accounting

  • NXCreateChildAccount
  • NXDeleteChildAccount
  • NXGetAccountUsage
  • NXGetAccountLimits
  • NXSetAccountLimits
  • NXGetAccountInfo
  • NXSetAccountInfo
  • NXGetAccountNotes
  • NXSetAccountNotes
  • NXGetStorageUsage
  • NXListChildAccounts

Internet File System

  • NXCopyFile
  • NXCopyFolder
  • NXCreateFolder
  • NXDeleteFile
  • NXDeleteFolder
  • NXMoveFile
  • NXMoveFolder
  • NXRenameFile
  • NXRenameFolder
  • NXSideload
  • NXGetPathInfo
  • NXListFolder
  • NXGetDownloadNodes
  • NXGetOptimalUrls
  • NXGetStorageNode
  • NXGetStorageNodeExtended
  • NXSearchFileSystem

Metadata

  • NXDeleteAllMetadata
  • NXDeleteMetadata
  • NXDeleteAllTags
  • NXDeleteTags
  • NXGetMetadata
  • NXGetTags
  • NXSetMetaData
  • NXSetTag
  • NXSearchMetadata
  • NXSearchTags

Sharing

  • NXListHostedItems
  • NXCreateHostedItem
  • NXRemoveHostedItem

Imaging

  • NXResize
  • NXRotateFlip

Uploading / Downloading

Audio / Video

  • NXTranscodeAudio
  • NXTranscodeVideo
  • NXExtractFrames
  • NXPresetTranscode

Personal tools