687 lines
46 KiB
Markdown
687 lines
46 KiB
Markdown
|
# openapi_client_udm.SettingsPackagesApi
|
||
|
|
||
|
All URIs are relative to *https://ucs.sawtooth.claremontmakerspace.org/univention/udm*
|
||
|
|
||
|
Method | HTTP request | Description
|
||
|
------------- | ------------- | -------------
|
||
|
[**udm_settings_packages_object**](SettingsPackagesApi.md#udm_settings_packages_object) | **GET** /settings/packages/{dn} | Get a representation of the Package List object with all its properties, policies, options, metadata and references. Includes also instructions how to modify, remove or move the object.
|
||
|
[**udm_settings_packages_object_create**](SettingsPackagesApi.md#udm_settings_packages_object_create) | **POST** /settings/packages/ | Create a new Package List object
|
||
|
[**udm_settings_packages_object_modify**](SettingsPackagesApi.md#udm_settings_packages_object_modify) | **PUT** /settings/packages/{dn} | Modify or move an Package List object
|
||
|
[**udm_settings_packages_object_remove**](SettingsPackagesApi.md#udm_settings_packages_object_remove) | **DELETE** /settings/packages/{dn} | Remove a Package Lists object
|
||
|
[**udm_settings_packages_object_search**](SettingsPackagesApi.md#udm_settings_packages_object_search) | **GET** /settings/packages/ | Search for Package Lists objects
|
||
|
[**udm_settings_packages_object_template**](SettingsPackagesApi.md#udm_settings_packages_object_template) | **GET** /settings/packages/add | Get a template for creating an Package List object (contains all properties and their default values)
|
||
|
[**udm_settings_packages_object_update**](SettingsPackagesApi.md#udm_settings_packages_object_update) | **PATCH** /settings/packages/{dn} | Modify an Package List object (moving is currently not possible)
|
||
|
|
||
|
|
||
|
# **udm_settings_packages_object**
|
||
|
> SettingsPackages udm_settings_packages_object(dn, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Get a representation of the Package List object with all its properties, policies, options, metadata and references. Includes also instructions how to modify, remove or move the object.
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
dn = 'dn_example' # str | The (urlencoded) LDAP Distinguished Name (DN).
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Get a representation of the Package List object with all its properties, policies, options, metadata and references. Includes also instructions how to modify, remove or move the object.
|
||
|
api_response = api_instance.udm_settings_packages_object(dn, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
pprint(api_response)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**dn** | **str**| The (urlencoded) LDAP Distinguished Name (DN). |
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
[**SettingsPackages**](SettingsPackages.md)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: Not defined
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**200** | Success | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Etag - <br> * Last-Modified - <br> |
|
||
|
**404** | Object not found. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_create**
|
||
|
> InlineResponse201 udm_settings_packages_object_create(settings_packages, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Create a new Package List object
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
settings_packages = openapi_client_udm.SettingsPackages() # SettingsPackages |
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Create a new Package List object
|
||
|
api_response = api_instance.udm_settings_packages_object_create(settings_packages, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
pprint(api_response)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_create: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**settings_packages** | [**SettingsPackages**](SettingsPackages.md)| |
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
[**InlineResponse201**](InlineResponse201.md)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: application/json
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**201** | Object created | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Etag - <br> * Last-Modified - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_modify**
|
||
|
> InlineResponse201 udm_settings_packages_object_modify(dn, settings_packages, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Modify or move an Package List object
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
dn = 'dn_example' # str | The (urlencoded) LDAP Distinguished Name (DN).
|
||
|
settings_packages = openapi_client_udm.SettingsPackages() # SettingsPackages |
|
||
|
if_match = '' # str | Provide entity tag to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
if_unmodified_since = 'if_unmodified_since_example' # str | Provide last modified time to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Modify or move an Package List object
|
||
|
api_response = api_instance.udm_settings_packages_object_modify(dn, settings_packages, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
pprint(api_response)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_modify: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**dn** | **str**| The (urlencoded) LDAP Distinguished Name (DN). |
|
||
|
**settings_packages** | [**SettingsPackages**](SettingsPackages.md)| |
|
||
|
**if_match** | **str**| Provide entity tag to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**if_unmodified_since** | **str**| Provide last modified time to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
[**InlineResponse201**](InlineResponse201.md)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: application/json
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**201** | Created: The object did not exist and has been created. Deprecated: a move operation started, expect 202 in the future! | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Etag - <br> * Last-Modified - <br> |
|
||
|
**202** | Accepted: asynchronous move or rename operation started. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Location - <br> |
|
||
|
**204** | Success. No response data. A link to the modified resource in the `Location` header. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Location - <br> * Etag - <br> * Last-Modified - <br> |
|
||
|
**404** | Object not found. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_remove**
|
||
|
> udm_settings_packages_object_remove(dn, cleanup=cleanup, recursive=recursive, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Remove a Package Lists object
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
dn = 'dn_example' # str | The (urlencoded) LDAP Distinguished Name (DN).
|
||
|
cleanup = True # bool | Whether to perform a cleanup (e.g. of temporary objects, locks, etc). (optional) (default to True)
|
||
|
recursive = True # bool | Whether to remove referring objects (e.g. DNS or DHCP references). (optional) (default to True)
|
||
|
if_match = '' # str | Provide entity tag to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
if_unmodified_since = 'if_unmodified_since_example' # str | Provide last modified time to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Remove a Package Lists object
|
||
|
api_instance.udm_settings_packages_object_remove(dn, cleanup=cleanup, recursive=recursive, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_remove: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**dn** | **str**| The (urlencoded) LDAP Distinguished Name (DN). |
|
||
|
**cleanup** | **bool**| Whether to perform a cleanup (e.g. of temporary objects, locks, etc). | [optional] [default to True]
|
||
|
**recursive** | **bool**| Whether to remove referring objects (e.g. DNS or DHCP references). | [optional] [default to True]
|
||
|
**if_match** | **str**| Provide entity tag to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**if_unmodified_since** | **str**| Provide last modified time to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
void (empty response body)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: Not defined
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**204** | Object deleted | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**404** | Object not found. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_search**
|
||
|
> SettingsPackagesList udm_settings_packages_object_search(filter=filter, position=position, scope=scope, query=query, hidden=hidden, properties=properties, limit=limit, page=page, dir=dir, by=by, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Search for Package Lists objects
|
||
|
|
||
|
Information about the object type and links to search for objects. The found objects are either referenced as HAL links or embedded via HAL embedded resources.
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
filter = '' # str | A LDAP filter which may contain `UDM` property names instead of `LDAP` attribute names. (optional) (default to '')
|
||
|
position = 'null' # str | Position which is used as search base. (optional) (default to 'null')
|
||
|
scope = 'sub' # str | The LDAP search scope (sub, base, one). (optional) (default to 'sub')
|
||
|
query = None # dict(str, object) | The values to search for (propertyname and search filter value). Alternatively with `filter` a raw LDAP filter can be given. (optional)
|
||
|
hidden = True # bool | Include hidden/system objects in the response. (optional) (default to True)
|
||
|
properties = ["*"] # list[str] | The properties which should be returned, if not given all properties are returned. (optional) (default to ["*"])
|
||
|
limit = # int | **Broken/Experimental**: How many results should be shown per page. (optional)
|
||
|
page = 1 # int | **Broken/Experimental**: The search page, starting at one. (optional) (default to 1)
|
||
|
dir = 'ASC' # str | **Broken/Experimental**: The Sort direction (ASC or DESC). (optional) (default to 'ASC')
|
||
|
by = 'by_example' # str | **Broken/Experimental**: Sort the search result by the specified property. (optional)
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Search for Package Lists objects
|
||
|
api_response = api_instance.udm_settings_packages_object_search(filter=filter, position=position, scope=scope, query=query, hidden=hidden, properties=properties, limit=limit, page=page, dir=dir, by=by, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
pprint(api_response)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_search: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**filter** | **str**| A LDAP filter which may contain `UDM` property names instead of `LDAP` attribute names. | [optional] [default to '']
|
||
|
**position** | **str**| Position which is used as search base. | [optional] [default to 'null']
|
||
|
**scope** | **str**| The LDAP search scope (sub, base, one). | [optional] [default to 'sub']
|
||
|
**query** | [**dict(str, object)**](object.md)| The values to search for (propertyname and search filter value). Alternatively with `filter` a raw LDAP filter can be given. | [optional]
|
||
|
**hidden** | **bool**| Include hidden/system objects in the response. | [optional] [default to True]
|
||
|
**properties** | [**list[str]**](str.md)| The properties which should be returned, if not given all properties are returned. | [optional] [default to ["*"]]
|
||
|
**limit** | **int**| **Broken/Experimental**: How many results should be shown per page. | [optional]
|
||
|
**page** | **int**| **Broken/Experimental**: The search page, starting at one. | [optional] [default to 1]
|
||
|
**dir** | **str**| **Broken/Experimental**: The Sort direction (ASC or DESC). | [optional] [default to 'ASC']
|
||
|
**by** | **str**| **Broken/Experimental**: Sort the search result by the specified property. | [optional]
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
[**SettingsPackagesList**](SettingsPackagesList.md)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: Not defined
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**200** | Successfull search (if query parameters were given) or a object type overview. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_template**
|
||
|
> SettingsPackages udm_settings_packages_object_template(position=position, superordinate=superordinate, template=template, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Get a template for creating an Package List object (contains all properties and their default values)
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
position = 'null' # str | Position which is used as search base. (optional) (default to 'null')
|
||
|
superordinate = 'null' # str | The superordinate DN of the object to create. `position` is sufficient. (optional) (default to 'null')
|
||
|
template = 'null' # str | **Experimental**: A |UDM| template object. (optional) (default to 'null')
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Get a template for creating an Package List object (contains all properties and their default values)
|
||
|
api_response = api_instance.udm_settings_packages_object_template(position=position, superordinate=superordinate, template=template, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
pprint(api_response)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_template: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**position** | **str**| Position which is used as search base. | [optional] [default to 'null']
|
||
|
**superordinate** | **str**| The superordinate DN of the object to create. `position` is sufficient. | [optional] [default to 'null']
|
||
|
**template** | **str**| **Experimental**: A |UDM| template object. | [optional] [default to 'null']
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
[**SettingsPackages**](SettingsPackages.md)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: Not defined
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**200** | Successfully received a template suitable for creation of a new Package List. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|
||
|
# **udm_settings_packages_object_update**
|
||
|
> udm_settings_packages_object_update(dn, settings_packages, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
|
||
|
Modify an Package List object (moving is currently not possible)
|
||
|
|
||
|
### Example
|
||
|
|
||
|
* Basic Authentication (basic):
|
||
|
```python
|
||
|
from __future__ import print_function
|
||
|
import time
|
||
|
import openapi_client_udm
|
||
|
from openapi_client_udm.rest import ApiException
|
||
|
from pprint import pprint
|
||
|
# Defining the host is optional and defaults to https://ucs.sawtooth.claremontmakerspace.org/univention/udm
|
||
|
# See configuration.py for a list of all supported configuration parameters.
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
host = "https://ucs.sawtooth.claremontmakerspace.org/univention/udm"
|
||
|
)
|
||
|
|
||
|
# The client must configure the authentication and authorization parameters
|
||
|
# in accordance with the API server security policy.
|
||
|
# Examples for each auth method are provided below, use the example that
|
||
|
# satisfies your auth use case.
|
||
|
|
||
|
# Configure HTTP basic authorization: basic
|
||
|
configuration = openapi_client_udm.Configuration(
|
||
|
username = 'YOUR_USERNAME',
|
||
|
password = 'YOUR_PASSWORD'
|
||
|
)
|
||
|
|
||
|
# Enter a context with an instance of the API client
|
||
|
with openapi_client_udm.ApiClient(configuration) as api_client:
|
||
|
# Create an instance of the API class
|
||
|
api_instance = openapi_client_udm.SettingsPackagesApi(api_client)
|
||
|
dn = 'dn_example' # str | The (urlencoded) LDAP Distinguished Name (DN).
|
||
|
settings_packages = openapi_client_udm.SettingsPackages() # SettingsPackages |
|
||
|
if_match = '' # str | Provide entity tag to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
if_unmodified_since = 'if_unmodified_since_example' # str | Provide last modified time to make a conditional request to not overwrite any values in a race condition. (optional)
|
||
|
user_agent = '' # str | The user agent. (optional)
|
||
|
accept_language = '' # str | The accepted response languages. (optional)
|
||
|
if_none_match = '' # str | Use request from cache by using the Etag entity tag if it matches. (optional)
|
||
|
if_modified_since = '' # str | Use request from cache by using the Last-Modified date if it matches. (optional)
|
||
|
x_request_id = '' # str | A request-ID used for logging and tracing. (optional)
|
||
|
|
||
|
try:
|
||
|
# Modify an Package List object (moving is currently not possible)
|
||
|
api_instance.udm_settings_packages_object_update(dn, settings_packages, if_match=if_match, if_unmodified_since=if_unmodified_since, user_agent=user_agent, accept_language=accept_language, if_none_match=if_none_match, if_modified_since=if_modified_since, x_request_id=x_request_id)
|
||
|
except ApiException as e:
|
||
|
print("Exception when calling SettingsPackagesApi->udm_settings_packages_object_update: %s\n" % e)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
Name | Type | Description | Notes
|
||
|
------------- | ------------- | ------------- | -------------
|
||
|
**dn** | **str**| The (urlencoded) LDAP Distinguished Name (DN). |
|
||
|
**settings_packages** | [**SettingsPackages**](SettingsPackages.md)| |
|
||
|
**if_match** | **str**| Provide entity tag to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**if_unmodified_since** | **str**| Provide last modified time to make a conditional request to not overwrite any values in a race condition. | [optional]
|
||
|
**user_agent** | **str**| The user agent. | [optional]
|
||
|
**accept_language** | **str**| The accepted response languages. | [optional]
|
||
|
**if_none_match** | **str**| Use request from cache by using the Etag entity tag if it matches. | [optional]
|
||
|
**if_modified_since** | **str**| Use request from cache by using the Last-Modified date if it matches. | [optional]
|
||
|
**x_request_id** | **str**| A request-ID used for logging and tracing. | [optional]
|
||
|
|
||
|
### Return type
|
||
|
|
||
|
void (empty response body)
|
||
|
|
||
|
### Authorization
|
||
|
|
||
|
[basic](../README.md#basic)
|
||
|
|
||
|
### HTTP request headers
|
||
|
|
||
|
- **Content-Type**: application/json
|
||
|
- **Accept**: application/json, application/hal+json, text/html
|
||
|
|
||
|
### HTTP response details
|
||
|
| Status code | Description | Response headers |
|
||
|
|-------------|-------------|------------------|
|
||
|
**400** | Bad request syntax. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**401** | Unauthorized. No Authorization provided or wrong credentials. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**403** | Forbidden (e.g. unsupported operation) | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**422** | Validation of input parameters failed. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**500** | Internal server errror. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
**503** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**502** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**504** | (LDAP) Server not available. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Retry-After - <br> |
|
||
|
**204** | Success. No response data. A link to the modified resource in the `Location` header. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> * Location - <br> * Etag - <br> * Last-Modified - <br> |
|
||
|
**404** | Object not found. | * Cache-Control - <br> * Expires - <br> * Vary - <br> * Content-Language - <br> * Link - <br> * X-Request-Id - <br> |
|
||
|
|
||
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||
|
|