...
API Name | Get Repository | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Type | GET | |||||||||||
Request URL | service/public/api/repository/{id} | |||||||||||
Request Params | ||||||||||||
Response |
| |||||||||||
Create repository:
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 int The page size required startindex int The start record index Name string The repository name Type string The repository types("hdfs","hive","hbase","knox","storm") Status boolean The status Enable,disable (status= true/false) Example : Pagesize=25&startindex=0 | |||||||||||||
Response | 200-Application/json •Example:
|
Policy Policy API's
...
Get Policy:
API Name | Get Policy | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Type | Get | |||||||||||||
Request URL | service/public/api/policy/{id} | |||||||||||||
Request Params | ||||||||||||||
Response | 200 - Application/json
Possible perm list Types :- For HDFS :- READ,WRITE,EXECUTE,ADMIN For HIVE :- SELECT,UPDATE,CREATE,DROP,ALTER,INDEX,LOCK,ALL,ADMIN For HBASE :- READ,WRITE CREAT ADMIN |
...