OCAPI 19.1 changes since 18.7

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

Resources added, modified, or removed since 18.7

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
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.7

Document Name Change API Details
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
Product Changed Shop API More
Site Changed Data API More
SiteArchiveExportConfiguration Added Data API N/A
User Changed Data API More

Details about modified resources

The following requests have been modified since 18.7.

POST /roles/{id}/user_search

Element Change API 18.7 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.7 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.7 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.7.

Product

Element Change API 18.7 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:

Site

Element Change API 18.7 19.1
Property Added Data N/A

Name: cartridges

Type: String

Description: The cartridge Path of the site

Constraints:

User

Element Change API 18.7 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: