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: string
Required: true
The ID of the endpoint.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getEndpointAPI_response
Nested Schema : Endpoint Name
Type: object
Response object.
Nested Schema : pathParams
Type: object
Path parameters of the sample request.
Nested Schema : request
Type: object
Request parameters to trigger the endpoint.
Nested Schema : response
Type: object
Response parameters to trigger the endpoints.
Nested Schema : sampleRequest
Type: object
Sample request object to trigger the endpoint.
Nested Schema : sampleResponse
Type: object
Sample 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
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

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"
}