Grundlagen6
App6
REST-Endpunkte44
- Activity
- Category
- Category - CategoryType
- ChangeLog
- Client
- Client - ClientPreference
- Client - CompanyInfoResource
- Client - Logo
- Comment
- Conversion
- Document
- Document - AdditionalProperty
- Document - ChangeLog
- Document - ExtensionValue
- Document - Lock
- Document - Rating
- Document - SavedSearch
- Document - Search
- InstanceControl
- InstanceControl - MtrMessage
- InstanceControl - Preference
- Language
- Licence
- Logon
- Logon - AutoLogin
- Logon - LTI
- Logon - MagicLink
- Logon - Ntlm
- Logon - OAuth2 - Cobot
- Logon - OAuth2 - Google
- Logon - OAuth2 - Microsoft
- Logon - Saml
- Notification
- Person
- Person - AccountSetting
- Person - Search
- Role
- Skin
- Task
- Task - TaskStatus
- TempFile
- Test
- Tracking
- Version
API-Objekte41
- AccountSetting
- Activity
- AdditionalProperty
- Attachment
- Category
- CategoryType
- Client
- Comment
- CompanyInfoItem
- Credential
- CredentialWithInvitationText
- DataSource
- Document
- DocumentChangeLog
- DocumentChangeLogMap
- DocumentClipBoardEntry
- DocumentDuplicate
- DocumentForPdfConversion
- DocumentLock
- ExtensionValue
- Language
- Licence
- LicenceUsage
- LoginData
- Logon
- MtrMessage
- MtrVersion
- NotificationContainer
- PasswordContainer
- Person
- PreferenceMapContainer
- Role
- SavedSearch
- SearchAutocompleteSuggest
- SearchResult<Document/Person>
- Signup
- Task
- TaskStatus
- TempFileDescriptor
- TrackingItem
- WildflyDataSource
Get preferences (map)
Attention:
This API requires the systemAccount which is only available in on-premises installations (private cloud).
Get all global preferences as map (PreferenceMapContainer).
URLGET <application-url>/api/instancecontrol/preference/cache
Produces
application/json
application/xml
com.matterial.mtr.api.object.PreferenceMapContainer
- 200 OK
Permission
systemAccountRequired
SampleGET http://localhost:8080/mtr-backend/api/instancecontrol/preference/cache
Get preference by key
Attention:
This API requires the systemAccount which is only available in on-premises installations (private cloud).
URLGET <application-url>/api/instancecontrol/preference/cache/bypreferencekey/<preferenceKey>
Path parameter
| parameter | mandatory | possible values | default | description |
|---|---|---|---|---|
| preferenceKey | yes | - | - | a preference key |
Produces
text/plain
String - preference-value
- 200 OK
Permission
systemAccountRequired
SampleGET http://localhost:8080/mtr-backend/api/instancecontrol/preference/cache/bypreferencekey/general.application.context.backend
Get unrestricted preferences (map)
Since 2.4
Get all unrestricted preferences as map (PreferenceMapContainer).
This resource could be invoked without being logged-in.
URLGET <application-url>/api/instancecontrol/preference/cache/unrestricted
Produces
application/json
application/xml
com.matterial.mtr.api.object.PreferenceMapContainer
- 200 OK
Permission-
SampleGET http://localhost:8080/mtr-backend/api/instancecontrol/preference/cache/unrestricted
Get unrestricted preference by key
This resource could be invoked without being logged-in for some special pref-keys.
URLGET <application-url>/api/instancecontrol/preference/cache/byunrestrictedkey/<preferenceKey>
Path parameter
- preferenceKey
possible values:- auth.ntlm.jespaSupported
- auth.oauth2.google.supported
- auth.oauth2.microsoft.supported
- auth.oauth2.cobot.supported
- general.demo.hostname
- general.inhouse.enabled
Produces
text/plain
String - preference-value
- 200 OK
Permission-
SampleGET http://localhost:8080/mtr-backend/api/instancecontrol/preference/cache/byunrestrictedkey/auth.oauth2.google.supported
Reinit preference-cache
Attention:
This API requires the systemAccount which is only available in on-premises installations (private cloud).
URLGET <application-url>/api/instancecontrol/preference/cache/reinit
- 202 ACCEPTED
Permission
systemAccountRequired
SampleGET http://localhost:8080/mtr-backend/api/instancecontrol/preference/cache/reinit
Store preference
Attention:
This API requires the systemAccount which is only available in on-premises installations (private cloud).
URLPUT <application-url>/api/instancecontrol/preference/<preferencekey>
Consumes
text/plain
String - preference-value
Produces
- 202 ACCEPTED
- 304 NOT_MODIFIED
- 500 INTERNAL_SERVER_ERROR
Permission
systemAccountRequired
SamplePUT http://localhost:8080/mtr-backend/api/instancecontrol/preference/auth.ntlm.supported