getLintStatus

get

/ccadminx/v1/lintStatus/{id}

Get Lint Status. Returns the status of a given lint job from the extension server.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
The id of the job to return the status of. Job Id is the date time the job was created in the format of yyyyMMddHHmm.
Query Parameters
extensionName
Type: string
Required: true
The name of the extension that the lint job was executed against.

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getLintStatus_response
Example application/json

{
    "completedPercentage":100,
    "intervalToPoll":250,
    "progress":"succeeded",
    "startTime":"2016-12-20T09:25:11.559Z",
    "links":[
        {
            "rel":"self",
            "href":"/ccadminx/custom/v1/lintStatus/201612200925?extensionName=externalShippingCalculator"
        },
        {
            "rel":"related",
            "href":"/ccadminx/custom/v1/lintJobs/201612200925?extensionName=externalShippingCalculator"
        }
    ],
    "completed":true,
    "endTime":"2016-12-20T09:25:11.788Z",
    "message":"Job completed successfully.",
    "requestStatus":202
}
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:

{
  "completedPercentage": 100,
  "intervalToPoll": 250,
  "progress": "succeeded",
  "startTime": "2016-12-20T09:25:11.559Z",
  "links": [
    {
      "rel": "self",
      "href": "/ccadminx/custom/v1/lintStatus/201612200925?extensionName=externalShippingCalculator"
    },
    {
      "rel": "related",
      "href": "/ccadminx/custom/v1/lintJobs/201612200925?extensionName=externalShippingCalculator"
    }
  ],
  "completed": true,
  "endTime": "2016-12-20T09:25:11.788Z",
  "message": "Job completed successfully.",
  "requestStatus": 202
}