-
Notifications
You must be signed in to change notification settings - Fork 8
auth gateway API 0.7
mlaboszc edited this page May 24, 2016
·
1 revision
Api endpoints for adding and removing authorization data for hadoop components in TAP
License: Apache License Version 2.0 License URL: http://www.apache.org/licenses/LICENSE-2.0
Host: auth-gateway.branch-v07-nokrb.gotapaas.eu BasePath: /
- auth-gateway-controller: Auth Gateway Controller
Creating organization: in case of hdfs - creating directory, zookeeper - creating znode, sentry - roles on cdh cluster, hgm - usergroupmapping
PUT /organizations/{orgId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | orgId | orgId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller
Removing organization: in case of hdfs - removing directory, zookeeper - removing znode, sentry - roles on cdh cluster, hgm - usergroupmapping
DELETE /organizations/{orgId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | orgId | orgId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller
PUT /organizations/{orgId}/users/{userId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | userId | userId | true | string | |
PathParameter | orgId | orgId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller
DELETE /organizations/{orgId}/users/{userId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | userId | userId | true | string | |
PathParameter | orgId | orgId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller
PUT /users/{userId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | userId | userId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller
DELETE /users/{userId}
Type | Name | Description | Required | Schema | Default |
---|---|---|---|---|---|
PathParameter | userId | userId | true | string |
HTTP Code | Description | Schema |
---|---|---|
200 | OK | No Content |
- application/json
- /
- auth-gateway-controller