Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 1.87 KB

LocalesPreviewApi.md

File metadata and controls

67 lines (46 loc) · 1.87 KB

jamf.LocalesPreviewApi

All URIs are relative to https://tryitout.jamfcloud.com/uapi

Method HTTP request Description
v1_locales_get GET /v1/locales Return locales that can be used in other features

v1_locales_get

list[Locale] v1_locales_get()

Return locales that can be used in other features

Returns locales that can be used in other features.

Example

from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
    host = "https://tryitout.jamfcloud.com/uapi"
)


# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
    # Create an instance of the API class
    api_instance = jamf.LocalesPreviewApi(api_client)
    
    try:
        # Return locales that can be used in other features 
        api_response = api_instance.v1_locales_get()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling LocalesPreviewApi->v1_locales_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[Locale]

Authorization

No authorization required

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 Successful response -

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