getRegistry
get
/ccadmin/v1/registry
Get Registry. Get the endpoint registry.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getRegistry_response
- crossDomainRequestsEnabled
-
Type:
booleanWhether cross domain request enabled. - Endpoint Name
-
Type:
objectEndpoint NameAdditional Properties Allowed:Object of various Oauth Admin end points. - httpPort
-
Type:
integerHttp port. - httpsPort
-
Type:
integerHttps port.
Nested Schema : Endpoint Name
Type:
objectObject of various Oauth Admin end points.
- authRequired
-
Type:
booleanWhether authentication is required or not. - hasDoc
-
Type:
booleanWhether endpoint has the doc or not. - httpsRequired
-
Type:
booleanWhether https is required or not. - method
-
Type:
stringMethod of the service. - requestType
-
Type:
stringType of request, e.g. application/json. - responseType
-
Type:
stringType of response, e.g. application/json. - url
-
Type:
stringurl to trigger the endpoint.
Example application/json
{
"httpPort":9080,
"endpointMap":{
"getEndpointAPIs":{
"responseType":"application/json",
"authRequired":false,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/api",
"httpsRequired":false
},
"getWidgetSourceCode":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/widgets/{}/code",
"httpsRequired":false
},
"listProductInventories":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/products/inventories",
"httpsRequired":false
},
"createProduct":{
"responseType":"application/json",
"authRequired":true,
"requestType":"application/json",
"method":"POST",
"hasDoc":true,
"url":"/ccadmin/v1/products",
"httpsRequired":false
},
"getProfile":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":false,
"url":"/ccadmin/v1/profiles/{}",
"httpsRequired":false
},
"getTaxProcessor":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/taxProcessors/{}",
"httpsRequired":false
},
"listWidgets":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/widgets",
"httpsRequired":false
},
"setSearchSchedule":{
"responseType":"application/json",
"authRequired":true,
"requestType":"application/json",
"method":"POST",
"hasDoc":true,
"url":"/ccadmin/v1/search/schedule",
"httpsRequired":false
},
"listCountries":{
"responseType":"application/json",
"authRequired":true,
"requestType":null,
"method":"GET",
"hasDoc":true,
"url":"/ccadmin/v1/countries",
"httpsRequired":false
}
},
"httpsPort":9443,
"crossDomainRequestsEnabled":false
}
Default Response
The error response
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:
arrayerrorsAdditional Properties Allowed:An 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
Examples
Sample Response Payload returned by endpoint:
{
"httpPort": 9080,
"endpointMap": {
"getEndpointAPIs": {
"responseType": "application/json",
"authRequired": false,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/api",
"httpsRequired": false
},
"getWidgetSourceCode": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/widgets/{}/code",
"httpsRequired": false
},
"listProductInventories": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/products/inventories",
"httpsRequired": false
},
"createProduct": {
"responseType": "application/json",
"authRequired": true,
"requestType": "application/json",
"method": "POST",
"hasDoc": true,
"url": "/ccadmin/v1/products",
"httpsRequired": false
},
"getProfile": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": false,
"url": "/ccadmin/v1/profiles/{}",
"httpsRequired": false
},
"getTaxProcessor": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/taxProcessors/{}",
"httpsRequired": false
},
"listWidgets": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/widgets",
"httpsRequired": false
},
"setSearchSchedule": {
"responseType": "application/json",
"authRequired": true,
"requestType": "application/json",
"method": "POST",
"hasDoc": true,
"url": "/ccadmin/v1/search/schedule",
"httpsRequired": false
},
"listCountries": {
"responseType": "application/json",
"authRequired": true,
"requestType": null,
"method": "GET",
"hasDoc": true,
"url": "/ccadmin/v1/countries",
"httpsRequired": false
}
},
"httpsPort": 9443,
"crossDomainRequestsEnabled": false
}