Skip to content

Latest commit

 

History

History
executable file
·
57 lines (40 loc) · 1.66 KB

UserApi.md

File metadata and controls

executable file
·
57 lines (40 loc) · 1.66 KB

aerpawgw_client.UserApi

All URIs are relative to http://0.0.0.0:8080/aerpawgateway/1.0.0

Method HTTP request Description
adduser POST /user add/update user and sshkey on experiment nodes

adduser

adduser(body, experiment, project=project)

add/update user and sshkey on experiment nodes

Example

from __future__ import print_function
import time
import aerpawgw_client
from aerpawgw_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = aerpawgw_client.UserApi()
body = aerpawgw_client.Userkey() # Userkey | User Object
experiment = 'experiment_example' # str | experiment for the request
project = 'project_example' # str | project of the experiment (optional)

try:
    # add/update user and sshkey on experiment nodes
    api_instance.adduser(body, experiment, project=project)
except ApiException as e:
    print("Exception when calling UserApi->adduser: %s\n" % e)

Parameters

Name Type Description Notes
body Userkey User Object
experiment str experiment for the request
project str project of the experiment [optional]

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]