getWebhookMetadata
get
/ccadmin/v1/metadata-catalog/webhook
Get Webhook Metadata. Returns webhoook metadata catalog. Returns metadata catalog. Returns Swagger webhook metadata catalog when 'Accept' request header is specified as 'application/swagger+json' else will return json hyper schema docs. The **JSON hyper schema** being served is **deprecated**. Use Swagger.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
- application/swagger+json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getWebhookMetadata_response
Type:
object- basePath
-
Type:
stringThe base path on which the API is served, which is relative to the host. - definitions
-
Type:
objectdefinitions - host
-
Type:
stringThe host (name or ip) serving the API. - info
-
Type:
objectinfo - paths
-
Type:
objectpaths - schemes
-
Type:
arrayschemes - swagger
-
Type:
stringSpecifies the Swagger Specification version being used. - tags
-
Type:
arraytags
Nested Schema : definitions
Type:
object- EntityDefinition
-
Type:
objectEntityDefinition
Nested Schema : info
Type:
object- description
-
Type:
stringA short description of the application. - title
-
Type:
stringThe title of the application. - version
-
Type:
stringProvides the version of the application API
Nested Schema : paths
Type:
object- /path1/path2
-
Type:
object/path1/path2
Nested Schema : schemes
Type:
array-
Type:
stringThe transfer protocol of the API.
Nested Schema : EntityDefinition
Type:
objectNested Schema : /path1/path2
Type:
objectDefault Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|13101|METADATA INTERNAL ERROR|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAn optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code