# Method: projects.locations.fetchFrameworks

- [HTTP request](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.request_body)
- [Response body](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.FetchFrameworksResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations/fetchFrameworks#try-it)

Fetches all frameworks for assessment report.

### HTTP request

`GET https://designcenter.googleapis.com/v1alpha/{parent=projects/*/locations/*}:fetchFrameworks`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent resource name. Format: projects/{project}/locations/{location} |

### Query parameters

| Parameters ||
|---|---|
| `projects[]` | `string` Optional. Projects to fetch frameworks for. Format: projects/{project} |
| `pageSize` | `integer` Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. |
| `pageToken` | `string` Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. |
| `filter` | `string` Optional. Filter for frameworks list. |

### Request body

The request body must be empty.

### Response body

Response for locations.fetchFrameworks rpc

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "frameworks": [ { object (`Framework`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `frameworks[]` | ``object (`Framework`)`` The list of frameworks. |
| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `designcenter.locations.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).