getLintJobResults

get

/ccadminx/v1/lintJobs/{id}

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

Request

Supported Media Types
Path Parameters
  • The id of the job to return the results for. Job Id is the date time the job was created in the format of yyyyMMddHHmm.
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getLintJobResults_response
Type: object
Show Source
Nested Schema : jsHintResults
Type: array
An array of JS Hint errors.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : errors
Type: array
An array of JS Hint errors.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "extensionName":"externalShippingCalculator",
        "jobId":"201612201113",
        "jsHintResults":[
            {
                "filename":"extensions\\extracted\\externalShippingCalculator\\js\\calculate-shipping-app.js",
                "totalErrors":1,
                "errors":[
                    {
                        "reason":"Missing \"use strict\" statement.",
                        "character":3,
                        "code":"E007",
                        "line":8
                    }
                ]
            },
            {
                "filename":"extensions\\extracted\\externalShippingCalculator\\tests\\calculate-shipping-test.js",
                "totalErrors":2,
                "errors":[
                    {
                        "reason":"'fs' is defined but never used.",
                        "character":5,
                        "code":"W098",
                        "line":3
                    },
                    {
                        "reason":"'path' is defined but never used.",
                        "character":5,
                        "code":"W098",
                        "line":4
                    }
                ]
            },
            {
                "filename":"extensions\\extracted\\externalShippingCalculator\\js\\lib\\calculate-shipping-demo.js",
                "totalErrors":1,
                "errors":[
                    {
                        "reason":"Strings must use singlequote.",
                        "character":35,
                        "code":"W109",
                        "line":4
                    }
                ]
            }
        ],
        "status":"succeeded"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top