media type | data type | description |
---|---|---|
application/json | VXPolicyList (JSON) |
GET /public/api/policy
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"vXPolicies" : [ {
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}, {
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | VXPolicy (JSON) |
media type | data type | description |
---|---|---|
application/json | VXPolicy (JSON) |
POST /public/api/policy
Content-Type: application/json
Accept: application/json
{
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
media type | data type | description |
---|---|---|
application/json | VXRepositoryList (JSON) |
GET /public/api/repository
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"vXRepositories" : [ {
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}, {
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
} ],
"listSize" : 12345,
"list" : [ { }, { } ],
"startIndex" : 12345,
"pageSize" : 12345,
"totalCount" : 12345,
"resultSize" : 12345,
"sortType" : "...",
"sortBy" : "..."
}
media type | data type |
---|---|
application/json | VXRepository (JSON) |
media type | data type | description |
---|---|---|
application/json | VXRepository (JSON) |
POST /public/api/repository
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
media type | data type | description |
---|---|---|
application/json | VXLong (JSON) |
GET /public/api/policy/count
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"value" : 12345,
"myClassType" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/api/policy/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | VXPolicy (JSON) |
GET /public/api/policy/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | VXPolicy (JSON) |
media type | data type | description |
---|---|---|
application/json | VXPolicy (JSON) |
PUT /public/api/policy/{id}
Content-Type: application/json
Accept: application/json
{
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"policyName" : "...",
"resourceName" : "...",
"description" : "...",
"repositoryName" : "...",
"repositoryType" : "...",
"permMapList" : [ {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
}, {
"userList" : [ "...", "..." ],
"groupList" : [ "...", "..." ],
"permList" : [ "...", "..." ],
"ipAddress" : "..."
} ],
"tables" : "...",
"columnFamilies" : "...",
"columns" : "...",
"databases" : "...",
"udfs" : "...",
"tableType" : "...",
"columnType" : "...",
"topologies" : "...",
"services" : "...",
"hiveServices" : "...",
"isEnabled" : true,
"isRecursive" : true,
"isAuditEnabled" : true,
"version" : "...",
"grantor" : "...",
"replacePerm" : true,
"policyLabel" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
media type | data type | description |
---|---|---|
application/json | VXLong (JSON) |
GET /public/api/repository/count
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"value" : 12345,
"myClassType" : 12345
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
DELETE /public/api/repository/{id}
Content-Type: */*
...
HTTP/1.1 204 No Content
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type | description |
---|---|---|
application/json | VXRepository (JSON) |
GET /public/api/repository/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
name | type | description | constraints |
---|---|---|---|
id | path | long |
media type | data type |
---|---|
application/json | VXRepository (JSON) |
media type | data type | description |
---|---|---|
application/json | VXRepository (JSON) |
PUT /public/api/repository/{id}
Content-Type: application/json
Accept: application/json
{
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"name" : "...",
"description" : "...",
"repositoryType" : "...",
"config" : "...",
"isActive" : true,
"version" : "...",
"myClassType" : 12345,
"id" : 12345,
"createDate" : 12345,
"updateDate" : 12345,
"owner" : "...",
"updatedBy" : "..."
}