Required. The name of the definition to retrieve. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Definition.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name resource:
[[["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-07-28 UTC."],[[["\u003cp\u003eThis webpage describes how to retrieve details about a specific API definition using a GET request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ename\u003c/code\u003e parameter in the URL path, following a specific format that includes the project, location, API, version, and definition.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and upon successful retrieval, the response body will contain an instance of a \u003ccode\u003eDefinition\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests require the IAM permission \u003ccode\u003eapihub.definitions.get\u003c/code\u003e on the resource specified by the \u003ccode\u003ename\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]