Lints the requested spec and updates the corresponding API Spec with the lint response. This lint response will be available in all subsequent Get and List Spec calls to Core service.
HTTP request
POST https://apihub.googleapis.com/v1/{name=projects/*/locations/*/apis/*/versions/*/specs/*}:lint
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-16 UTC."],[[["This endpoint lints an API specification and updates it with the lint response, which is then accessible in subsequent calls."],["The endpoint uses a POST request to a specified URL with a required `name` path parameter to identify the spec being linted."],["The request body for linting must be empty, and upon successful completion, the response body will also be an empty JSON object."],["Authorizing this request requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["Performing the lint action also requires the `apihub.specs.lint` IAM permission on the specified resource."]]],[]]