OCAPI 19.1 changes since 18.6

The following sections describe all changes made to OCAPI since version 18.6.

Resources added, modified, or removed since 18.6

Resource Name Change Http Method URL Template API Details
LogRequests Added GET /log_requests/ecdn/{id} Data N/A
LogRequests Added POST /log_requests/ecdn/{id} Data N/A
Permissions Added GET /permissions Data N/A
Permissions Added GET /permissions/bm Data N/A
Permissions Added GET /permissions/bm/functional Data N/A
Permissions Added GET /permissions/bm/locale Data N/A
Permissions Added GET /permissions/bm/module Data N/A
Permissions Added GET /permissions/bm/webdav Data N/A
Permissions Added GET /permissions/csc Data N/A
Permissions Added GET /permissions/csc/module Data N/A
Roles Added GET /roles/{id}/permissions Data N/A
Roles Added PUT /roles/{id}/permissions Data N/A
Roles Changed POST /roles/{id}/user_search Data More
Sites Added DELETE /sites/{site_id}/cartridges/{cartridge_name} Data N/A
Sites Added POST /sites/{site_id}/cartridges/{cartridge_name} Data N/A
Sites Added PUT /sites/{site_id}/cartridges/{cartridge_name} Data N/A
UserSearch Added POST /user_search Data N/A
Users Added GET /users Data N/A
Users Changed PATCH /users/{login} Data More
Users Changed PUT /users/{login} Data More

Documents added, modified, or removed since 18.6

Document Name Change API Details
ApplicationPermissions Added Data API N/A
BMPermissions Added Data API N/A
CSCPermissions Added Data API N/A
CartridgePathAddRequest Added Data API N/A
CartridgePathApiResponse Added Data API N/A
CartridgePathCreateRequest Added Data API N/A
EcdnLogFetchRequest Added Data API N/A
EcdnLogFetchResponse Added Data API N/A
ExportDataUnitsConfiguration Added Data API N/A
ExportGlobalDataConfiguration Added Data API N/A
ExportSitesConfiguration Added Data API N/A
FunctionalPermission Added Data API N/A
FunctionalPermissions Added Data API N/A
LocalePermission Added Data API N/A
LocalePermissions Added Data API N/A
MenuAction Added Data API N/A
MenuItem Added Data API N/A
ModulePermissions Added Data API N/A
Product Changed Shop API More
Role Changed Data API More
RoleFunctionalPermission Added Data API N/A
RoleFunctionalPermissions Added Data API N/A
RoleLocalePermission Added Data API N/A
RoleLocalePermissions Added Data API N/A
RoleModulePermission Added Data API N/A
RoleModulePermissions Added Data API N/A
RolePermissions Added Data API N/A
RoleWebdavPermission Added Data API N/A
RoleWebdavPermissions Added Data API N/A
Roles Changed Data API More
Site Changed Data API More
SiteArchiveExportConfiguration Added Data API N/A
User Changed Data API More
WebdavPermission Added Data API N/A
WebdavPermissions Added Data API N/A

Details about modified resources

The following requests have been modified since 18.6.

POST /roles/{id}/user_search

Element Change API 18.6 19.1
Fault Added Data N/A

ExternalIdNotAllowedException(400): Thrown if the current server settings do not allow to query the external id or use it as sorting field.

PATCH /users/{login}

Element Change API 18.6 19.1
Fault Added Data N/A

ExternalIdNullException(400): If the external id is explicitly set to null for an externally managed user

Fault Added Data N/A

ExternalIdAlreadyExistsException(400): If another user with the same external id already exists.

Fault Added Data N/A

ExternalIdNotAllowedException(400): If the current server settings do not allow to set an external id.

PUT /users/{login}

Element Change API 18.6 19.1
Fault Added Data N/A

ExternalIdAlreadyExistsException(400): If another user with the same external id already exists.

Fault Added Data N/A

ExternalIdNotAllowedException(400): If the current server settings do not allow to set an external id.

Fault Added Data N/A

LocalUserCreationException(400): If creation of a local Business Manager user is not allowed with the current server settings.

Fault Added Data N/A

InvalidCredentialsException(400): If password or external id of the user are invalid.

Details about modified documents

The following documents have been modified since 18.6.

Product

Element Change API 18.6 19.1
Property Added Shop N/A

Name: valid_from

Type: [DateTime]

Description: The time when product is valid from.

Constraints:

Property Added Shop N/A

Name: valid_to

Type: [DateTime]

Description: The time when product is valid to.

Constraints:

Role

Element Change API 18.6 19.1
Property Added Data N/A

Name: permissions

Type: RolePermissions

Description: The permissions assigned to the access role. Available through expands.

Constraints:

Roles

Element Change API 18.6 19.1
Property Added Data N/A

Name: permissions

Type: RolePermissions

Description: The permissions assigned to the access role. Available through expands.

Constraints:

Site

Element Change API 18.6 19.1
Property Added Data N/A

Name: cartridges

Type: String

Description: The cartridge Path of the site

Constraints:

User

Element Change API 18.6 19.1
Property Added Data N/A

Name: external_id

Type: String

Description: The external id. This attribute is only valid when the user uses centralized authentication.

Constraints: maxLength=256

Property Added Data N/A

Name: link

Type: String

Description: URL that is used to get this instance. This property is computed and cannot be modified.

Constraints: