Set the base URL of the front-end user interface.
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| baseUrl required | string Front-end user interface URL without tailing slash |
{
}Set the locale settings for the tenant.
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| locale required | string The locale for language display, date format, etc., for example 'en-US' or 'sv' or 'es-419' |
| currency required | string Primary currency, for example USD, EUR, INR |
| timezone required | string The time zone when showing date time information, for example 'UTC', 'America/New_York' |
| numberingSystem required | string The system used for numeral display, either latn or arab |
{- "locale": "string",
- "currency": "string",
- "timezone": "string",
- "numberingSystem": "string"
}Get tenant addresses
| query | string CQL query |
| limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
| offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
{- "addresses": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "metadata": {
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdDate": "string",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedDate": "string"
}
}
]
}Create tenant address
| query | string CQL query |
| limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
| offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| id | string <uuid> Identifier | ||||||||
| name required | string Display name for the address | ||||||||
| address required | string Address text | ||||||||
object (metadata) Metadata containing user and date information | |||||||||
| |||||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "metadata": {
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdDate": "string",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedDate": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "metadata": {
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdDate": "string",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedDate": "string"
}
}Get tenant address by id
| id required | string <uuid> Tenant address identifier |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "metadata": {
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdDate": "string",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedDate": "string"
}
}Update tenant address
| id required | string <uuid> Tenant address identifier |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| id | string <uuid> Identifier | ||||||||
| name required | string Display name for the address | ||||||||
| address required | string Address text | ||||||||
object (metadata) Metadata containing user and date information | |||||||||
| |||||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "address": "string",
- "metadata": {
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdDate": "string",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedDate": "string"
}
}Get settings with optional CQL query. If X-Okapi-Permissions includes mod-settings.global.read.SCOPE then settings without a userId are returned. If X-Okapi-Permissions includes mod-settings.users.read.SCOPE then settings with a userId are returned. If X-Okapi-Permissions includes mod-settings.owner.read.SCOPE then settings with userId = current-user are returned.
| limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
| offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
| query | string CQL query |
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "string",
- "key": "string",
- "value": null,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}Create setting entry. If X-Okapi-Permissions includes mod-settings.global.write.SCOPE, then a setting without a userId may be created. If X-Okapi-Permissions includes mod-settings.users.write.SCOPE, then a setting with a userId may be created. If X-Okapi-Permissions includes mod-settings.owner.write.SCOPE, then a setting with userId = current-user may be created.
| limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
| offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
| query | string CQL query |
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
| id required | string <uuid> Identifier |
| scope required | string Scope for this entry (normally a module) |
| key required | string Key within scope for this setting |
| value required | any Settings value (any type) |
| userId | string <uuid> Owner of this setting (optional) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "string",
- "key": "string",
- "value": null,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}Get setting. If X-Okapi-Permissions includes mod-settings.global.read.SCOPE, then a setting without a userId may be retrieved. If X-Okapi-Permissions includes mod-settings.users.read.SCOPE, then a setting with a userId may be retrieved. If X-Okapi-Permissions includes mod-settings.owner.read.SCOPE, then a setting with userId = current-user may be retrieved.
| id required | string <uuid> Settings entry identifier |
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "string",
- "key": "string",
- "value": null,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}Update setting. If X-Okapi-Permissions includes mod-settings.global.write.SCOPE, then a setting without a userId may be updated. If X-Okapi-Permissions includes mod-settings.users.write.SCOPE, then a setting with a userId may be updated. If X-Okapi-Permissions includes mod-settings.owner.write.SCOPE, then a setting with userId = current-user may be updated.
| id required | string <uuid> Settings entry identifier |
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
| id required | string <uuid> Identifier |
| scope required | string Scope for this entry (normally a module) |
| key required | string Key within scope for this setting |
| value required | any Settings value (any type) |
| userId | string <uuid> Owner of this setting (optional) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "string",
- "key": "string",
- "value": null,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}Delete setting. If X-Okapi-Permissions includes mod-settings.global.write.SCOPE, then a setting without a userId may be deleted. If X-Okapi-Permissions includes mod-settings.users.write.SCOPE, then a setting with a userId may be deleted. If X-Okapi-Permissions includes mod-settings.owner.write.SCOPE, then a setting with userId = current-user may be deleted.
| id required | string <uuid> Settings entry identifier |
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
Upload settings. The entries are inserted or updated depending on whether key, scope, userId already. Each entry gets a unique identifier assigned if it's a new setting. The id must not be supplied. If X-Okapi-Permissions includes mod-settings.global.write.SCOPE, then a setting without a userId may be created/updated. If X-Okapi-Permissions includes mod-settings.users.write.SCOPE, then a setting with a userId may be created/updated. If X-Okapi-Permissions includes mod-settings.owner.write.SCOPE, then a setting with userId = current-user may be created/updated.
| X-Okapi-Permissions required | string A JSON array with client permissions |
| X-Okapi-Tenant required | string^[_a-z][_a-z0-9]*$ Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| X-Okapi-User-Id | string Okapi user identifier |
| scope required | string Scope for this entry (normally a module) |
| key required | string Key within scope for this setting |
| value required | any Settings value (any type) |
| userId | string <uuid> Owner of this setting (optional) |
[- {
- "scope": "string",
- "key": "string",
- "value": null,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}
]{- "inserted": 0,
- "updated": 0
}