...
API Name | Create Repository | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Type | Post | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Request URL | service/public/api/repository | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Request Params | application/json •HDFS Example:
•HIVE Example:
• HBASE Example:
• KNOX Example:
• STORM Example:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Response | 200-Application/Json |
...
API Name | Search Repositories | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Type | GET | |||||||||||||
Request URL | service/public/api/repository | |||||||||||||
Request Params | Query Params pagesize pageSize int The page size required startindex startIndex int The start record index Name name string The repository name Type type string The repository types("hdfs","hive","hbase","knox","storm") Status status boolean The status Enable,disable (status= true/false) Example : Pagesize=25&startindex=0 | |||||||||||||
Response | 200-Application/json •Example:
|
...
API Name | Search Policy | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Type | GET | |||||||||||||
Request URL | service/public/api/policy | |||||||||||||
Request Params | Querry Params: PageSize pageSize int The page size required startindex startIndex int The start record index policyname policyName string The Name of the policy columns strings The columns columnsFamilies string The column Families tables string The tables udfs string The udfs databases string The databases group name groupName string The group repository type repositoryType string The repository type ("hbase","hdfs" etc) isRecursive boolean TheisRecursives property ("true" or "false") repository name repositoryName string The repository name userName string The user name isEnabled boolean The enable/disabled property ("true" or "false") Example = pagesize25=25&startIndex=0 | |||||||||||||
Response | 200 - Application/jason Example:
|
...