-
Notifications
You must be signed in to change notification settings - Fork 2
Homework 4: Testing Custos with the API endpoints
Base URL : https://js-157-36.jetstream-cloud.org:32036/
API endpoint: user-management/v1.0.0/user
Request type : POST
Header : {Authorization : Bearer API key}
Params : No params
Body :
{
"username":"UserA",
"first_name":"Jhon",
"last_name":"Creg",
"email":"[email protected]",
"password":"12345",
"temporary_password":false`
}`
Base URL : https://js-157-36.jetstream-cloud.org:32036/
API endpoint: /group-management/v1.0.0/groups
Request type : POST
Header : {Authorization : Bearer API key}
Params : No params
Body :
{
"clientId":"custosuser3000",
"groups": [ {
"name": "Test grouping",
"ownerId":"UserA",
"description":"This is test group.",
"realm_roles": [],
"client_roles": [],
"attributes": [],
"sub_groups": []
}]
}
Base URL : https://js-157-36.jetstream-cloud.org:32036/
API endpoint: /resource-secret-management/v1.0.0/secret/ssh
Request type : POST
Header : {Authorization : Bearer API key}
Params : No params
Body :
{
"metadata" : {
"client_id":"custosId",
"description":"Admin user SSH for Gateway phasta",
"owner_id":"username"
}
}
Base URL : https://js-157-36.jetstream-cloud.org:32036/
API endpoint: /resource-secret-management/v1.0.0/secret/ssh
Request type : GET
Header : {Authorization : Bearer API key}
Params :
`client_id=xxxxx`
`token=credential_token`
Body : No body