Difference between revisions of "QuantaStor REST API Reference Guide"

From OSNEXUS Online Documentation Site
Jump to: navigation, search
m
m (Request Parameters)
Line 2: Line 2:
  
 
==== Request Parameters ====
 
==== Request Parameters ====
{
+
{
    "jwtToken": xsd:string
+
  "jwtToken": xsd:string
    "objectType": xsd:string
+
  "objectType": xsd:string
    "operation": xsd:string
+
  "operation": xsd:string
    "flags": xsd:unsignedInt
+
  "flags": xsd:unsignedInt
}
+
}
  
 
==== Response Parameters ====
 
==== Response Parameters ====

Revision as of 04:46, 23 June 2019

userAuthorization

Request Parameters

{
 "jwtToken": xsd:string
 "objectType": xsd:string
 "operation": xsd:string
 "flags": xsd:unsignedInt
}

Response Parameters

{

   "obj": #RolePermissionAssignment
   "resourceAssocList": #StorageCloudResourceAssoc

}


nfsNamespaceModeType

Indicates now Network Share Namespaces should present shares over NFS where FLAT indicates no grouping and GROUPED indicates that the shares should be grouped under an export named after the Network Share Namespace. For NFS only FLAT mode is currently supported.

Enumeration Values

OSN_CMN_NFS_NAMESPACE_MODE_FLAT: 0
OSN_CMN_NFS_NAMESPACE_MODE_GROUPED: 1
OSN_CMN_NFS_NAMESPACE_MODE_DISABLED: 2

enum: dfsNamespaceModeType

desc: Indicates now Network Share Namespaces should present shares over CIFS/SMB where FLAT indicates no gro

uping and GROUPED indicates that the shares should be grouped under an export named after the Network Share N amespace.

values

   OSN_CMN_DFS_NAMESPACE_MODE_GROUPED: 0
   OSN_CMN_DFS_NAMESPACE_MODE_FLAT: 1
   OSN_CMN_DFS_NAMESPACE_MODE_DISABLED: 2