Required. The parent which owns this collection of dependency resources. Format: projects/{project}/locations/{location}
Query parameters
Parameters
filter
string
Optional. An expression that filters the list of Dependencies.
A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. Allowed comparison operator is =. Filters are not case sensitive.
The following fields in the Dependency are eligible for filtering:
consumer.operation_resource_name - The operation resource name for the consumer entity involved in a dependency. Allowed comparison operators: =.
consumer.external_api_resource_name - The external api resource name for the consumer entity involved in a dependency. Allowed comparison operators: =.
supplier.operation_resource_name - The operation resource name for the supplier entity involved in a dependency. Allowed comparison operators: =.
supplier.external_api_resource_name - The external api resource name for the supplier entity involved in a dependency. Allowed comparison operators: =.
Expressions are combined with either AND logic operator or OR logical operator but not both of them together i.e. only one of the AND or OR operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then INVALID_ARGUMENT error is returned by the API.
For example, consumer.operation_resource_name =
\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\" OR
supplier.operation_resource_name =
\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\" - The dependencies with either consumer or supplier operation resource name as projects/p1/locations/global/apis/a1/versions/v1/operations/o1.
pageSize
integer
Optional. The maximum number of dependency resources to return. The service may return fewer than this value. If unspecified, at most 50 dependencies will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
pageToken
string
Optional. A page token, received from a previous dependencies.list call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to dependencies.list must match the call that provided the page token.
[[["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 endpoint retrieves a list of dependencies within a specified project and location using a \u003ccode\u003eGET\u003c/code\u003e request to the provided URL.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter the dependencies list using specific criteria such as consumer or supplier operation/external API resource names, and the filter supports \u003ccode\u003eAND\u003c/code\u003e or \u003ccode\u003eOR\u003c/code\u003e logical operators, but not both together in one string.\u003c/p\u003e\n"],["\u003cp\u003ePagination is supported, allowing you to retrieve results in pages using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters for large dependency lists.\u003c/p\u003e\n"],["\u003cp\u003eThe response body contains an array of \u003ccode\u003edependencies\u003c/code\u003e and a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving subsequent pages, or its absence to signify the last page.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003eapihub.dependencies.list\u003c/code\u003e on the parent resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.dependencies.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListDependenciesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nList dependencies based on the provided filter and pagination parameters.\n\n### HTTP request\n\n`GET https://apihub.googleapis.com/v1/{parent=projects/*/locations/*}/dependencies`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe [dependencies.list](/apigee/docs/reference/apis/apihub/rest/v1/projects.locations.dependencies/list#google.cloud.apihub.v1.ApiHubDependencies.ListDependencies) method's response.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `apihub.dependencies.list`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]