Update Product Version Catalog Patches

Update Product Version Catalog Patches

Internal API to update product version catalog patches.

Request
URI
PATCH
https://{api_host}/v1/product-version-catalogs
COPY
Request Body
ProductVersionCatalogWithSignatureSpec of type(s) application/json
Required
{
    "productVersionCatalogFilePath": "string",
    "signatureFilePath": "string"
}
string
productVersionCatalogFilePath
Required

Product version catalog file absolute path on file system

string
signatureFilePath
Required

Product version catalog signature file absolute path on file system

Responses
200

OK

Returns ProductVersionCatalogUploadTask of type(s) application/json
"ProductVersionCatalogUploadTask Object"
string
taskId
Required

ID of the product version catalog upload task

string
description
Required

Description of the product version catalog upload operation

string
status
Required

State of the product version catalog upload after it has completed its execution

object
errorResponse
Optional

Error response containing a minor error code, a localized error message, a localized remediation message and optionally a reference token to correlate the error with the logs


202

Product version catalog update operation has been accepted

Returns ProductVersionCatalogUploadTask of type(s) application/json
"ProductVersionCatalogUploadTask Object"
string
taskId
Required

ID of the product version catalog upload task

string
description
Required

Description of the product version catalog upload operation

string
status
Required

State of the product version catalog upload after it has completed its execution

object
errorResponse
Optional

Error response containing a minor error code, a localized error message, a localized remediation message and optionally a reference token to correlate the error with the logs


204

No content if the patch operation did not result in any updates

Returns ProductVersionCatalogUploadTask of type(s) application/json
"ProductVersionCatalogUploadTask Object"
string
taskId
Required

ID of the product version catalog upload task

string
description
Required

Description of the product version catalog upload operation

string
status
Required

State of the product version catalog upload after it has completed its execution

object
errorResponse
Optional

Error response containing a minor error code, a localized error message, a localized remediation message and optionally a reference token to correlate the error with the logs


400

Bad Request

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
label
Optional

The localized label message

string
remediationUrl
Optional

The URL string for remediation documentation link


500

InternalServerError

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
label
Optional

The localized label message

string
remediationUrl
Optional

The URL string for remediation documentation link


Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"productVersionCatalogFilePath:"string","signatureFilePath:"string"}'