getEndpointAPI
get
/ccadmin/v1/api/{id}
Get Endpoint API. Get detailed API doc info for an endpoint by ID. Deprecated
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe ID of the endpoint.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getEndpointAPI_response
- Endpoint Name
-
Type:
objectEndpoint NameAdditional Properties Allowed:Response object.
Nested Schema : Endpoint Name
Type:
objectResponse object.
- description
-
Type:
stringDescription about the endpoint. - pathParams
-
Type:
objectpathParamsAdditional Properties Allowed:Path parameters of the sample request. - request
-
Type:
objectrequestAdditional Properties Allowed:Request parameters to trigger the endpoint. - response
-
Type:
objectresponseAdditional Properties Allowed:Response parameters to trigger the endpoints. - sampleRequest
-
Type:
objectsampleRequestAdditional Properties Allowed:Sample request object to trigger the endpoint. - sampleResponse
-
Type:
objectsampleResponseAdditional Properties Allowed:Sample resonse object after triggering the endpoint.
Nested Schema : pathParams
Type:
objectPath parameters of the sample request.
Nested Schema : request
Type:
objectRequest parameters to trigger the endpoint.
Nested Schema : response
Type:
objectResponse parameters to trigger the endpoints.
Nested Schema : sampleRequest
Type:
objectSample request object to trigger the endpoint.
Nested Schema : sampleResponse
Type:
objectSample resonse object after triggering the endpoint.
Example application/json
{
"pathParams":{
"timeZoneOffset":[
"string",
true,
"offset in minutes between the client time zone and UTC time"
],
"type":[
"string",
true,
"one of Product, Collection or Variant, indicating the type of asset that should be exported"
]
},
"description":"export catalog assets as an xls file. There is no json response for this request. The browser will download the xls file directly from the server.",
"sampleRequest":"GET /ccadmin/v1/asset/export?type=Product&timeZoneOffset=-420"
}
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:
{
"pathParams": {
"timeZoneOffset": [
"string",
true,
"offset in minutes between the client time zone and UTC time"
],
"type": [
"string",
true,
"one of Product, Collection or Variant, indicating the type of asset that should be exported"
]
},
"description": "export catalog assets as an xls file. There is no json response for this request. The browser will download the xls file directly from the server.",
"sampleRequest": "GET /ccadmin/v1/asset/export?type=Product&timeZoneOffset=-420"
}