module Jamf::Connection::Constants

This module defines constants related to API connctions, used throughout the connection class and elsewhere.

Constants

CAPI_RSRC_BASE

The base of the Classic API resources

DFT_OPEN_TIMEOUT
DFT_SSL_VERSION

The Default SSL Version

DFT_TIMEOUT
GET_FORMATS

values for the ‘format’ param of c_get

HTTPS_SCHEME
HTTPS_SSL_PORT

The https default SSL port for Jamf Cloud servers

HTTP_ACCEPT_HEADER
HTTP_CONTENT_TYPE_HEADER
JAMFCLOUD_DOMAIN

Recognize Jamf Cloud servers

JAMFCLOUD_PORT

JamfCloud connections default to 443, not 8443

JPAPI_RSRC_BASE

The base of the Jamf Pro API resources

MIME_JSON
MIME_XML
MIN_JAMF_VERSION

This version of ruby-jss only works with this version of the server and higher

NOTE: Some objects and features may require newer versions of Jamf Pro than this. However this is the minimum required for even making an API connection using this version of ruby-jss.

NON_NAMES

if @name is any of these when a connection is made, it is reset to a default based on the connection params

NOT_CONNECTED

A string indicating we are not connected

ON_PREM_SSL_PORT

The Jamf default SSL port for on-prem servers

PP_VARS

Only these variables are displayed with PrettyPrint This avoids, especially, the caches, which are available as attr_readers

RSRC_NOT_FOUND_MSG
SLASH
TOKEN_REUSE_MIN_LIFE

pre-existing tokens must have this many seconds before before they expire

XML_HEADER

The top line of an XML doc for submitting data via Classic API