Get a datasource
Retrieve a datasource
name
string
requiredName of the datasource to retrieve |
-
200 Datasource
application/json_idstring (Internal ID) requiredObject internal ID
typestring requiredType of datasource
Valuedns
namestring requiredName of the datasource
lookupstring (TemplateString) requiredHost to lookup
displayNamearray of objects | null (LocalizedString)The localized name of the datasource
Array [
langstring requiredThe ISO 3166-1 (2-letters) code of the language used for the value
valuestring requiredThe localized value
]
descriptionstringDescription of the datasource
hoststring | nullIp of the DNS server. If empty, Horizon Server DNS is used
portinteger | nullPort on which to join the DNS server
timeoutstring | nullTimeout for the DNS request
recordTypesarray of string | nullType of DNS records to fetch. All available record types are fetched if null
_idstring (Internal ID) requiredObject internal ID
typestring requiredType of datasource
Valueldap
namestring requiredName of the datasource
credentialsstring requiredName of the password credentials to use for LDAP Authentication
hostnamestring requiredHostname of the LDAP server
timeoutstring requiredTimeout for the LDAP request
secureboolean requiredUse secure LDAP connection
baseDnstring (TemplateString) requiredLDAP Base DN
filterstring (TemplateString) requiredLDAP Filter
displayNamearray of objects | null (LocalizedString)The localized name of the datasource
Array [
langstring requiredThe ISO 3166-1 (2-letters) code of the language used for the value
valuestring requiredThe localized value
]
descriptionstringDescription of the datasource
portinteger | nullPort on which to join the LDAP server
proxystring | nullName of the proxy to use to reach the LDAP server
disableHostnameValidationboolean | nullDisable hostname validation for the LDAP connection
attributesarray of objects | null (Datasource Output)List of attributes to fetch for this datasource
Array [
keystring requiredKey of the output
multiboolean | nullDetermine if this attribute is multivalued
selectedboolean | nullDetermine if the attribute is selected on future fetches
]
_idstring (Internal ID) requiredObject internal ID
typestring requiredType of datasource
Valuerest
namestring requiredName of the datasource
methodstring requiredThe HTTP method to use for the request
urlstring (TemplateString) requiredThe URL to request
authenticationTypestring requiredThe authentication type to use while making the REST call. Is linked to credentials.
Enumnoauth
basic
x509
bearer
custom
expectedHttpCodesarray of integer requiredThe success HTTP codes for the request. If the return code is not in this list, the request will be considered failed.
timeoutstring requiredTimeout for the HTTP request.
displayNamearray of objects | null (LocalizedString)The localized name of the datasource
Array [
langstring requiredThe ISO 3166-1 (2-letters) code of the language used for the value
valuestring requiredThe localized value
]
descriptionstringDescription of the datasource
credentialsstringName of the credentials to use for authentication
headersarray of object | null (header)The headers of the request
Array [
namestringThe header name
valuestring (TemplateString)The header value
]
payloadTypestring | nullFor UI purposes in order to format the body correctly
payloadstring | null (TemplateString)The body of the request
proxystring | nullName of a Proxy to use while making the request
attributesarray of objects | null (Datasource Output)List of attributes to fetch for this datasource
Array [
keystring requiredKey of the output
multiboolean | nullDetermine if this attribute is multivalued
selectedboolean | nullDetermine if the attribute is selected on future fetches
]
-
401 Unauthorized request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect path
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect path
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/problem+jsonerrorstring requiredThe error code of the problem
ValueSEC-PERM-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
404 Not found
application/problem+jsonerrorstring requiredThe error code of the problem
ValueDS-003
messagestring requiredA short, human-readable summary of the problem type
ValueDataSource not found
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueDataSource not found
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/problem+jsonerrorstring requiredThe error code of the problem
ValueDS-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807