All URIs are relative to http://localhost/service/rest
| Method | HTTP request | Description |
|---|---|---|
| get_user_sources | GET /beta/security/user-sources | Retrieve a list of the available user sources. |
list[ApiUserSource] get_user_sources()
Retrieve a list of the available user sources.
from __future__ import print_function
import time
import nexus_api_python_client
from nexus_api_python_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with nexus_api_python_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = nexus_api_python_client.SecurityManagementApi(api_client)
try:
# Retrieve a list of the available user sources.
api_response = api_instance.get_user_sources()
pprint(api_response)
except ApiException as e:
print("Exception when calling SecurityManagementApi->get_user_sources: %s\n" % e)This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 403 | The user does not have permission to perform the operation. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]