Version 4.0.26.22 (latest)

### Get All Projects

Returns all projects visible to the current user

## Request

GET /projects Datatype Description Request HTTP Request query HTTP Query Expand HTTP Query definition... fields string Requested fields

## Response

### 200: Project

Datatype Description (array) [Project](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Project)\[\] can object Operations the current user is able to perform on this object id string Project Id name string Project display name uses_git boolean If true the project is configured with a git repository is_git_dev_locked boolean If true, the project git repository is locked. git_remote_url string Git remote repository url git_username string Git username for HTTPS authentication. (For production only, if using user attributes.) git_password string (Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.) git_production_branch_name string Git production branch name. Defaults to master. Supported only in Looker 21.0 and higher. use_git_cookie_auth boolean If true, the project uses a git cookie for authentication. git_username_user_attribute string User attribute name for username in per-user HTTPS authentication. git_password_user_attribute string User attribute name for password in per-user HTTPS authentication. git_service_name string Name of the git service provider git_application_server_http_port integer Port that HTTP(S) application server is running on (for PRs, file browsing, etc.) git_application_server_http_scheme string Scheme that is running on application server (for PRs, file browsing, etc.) deploy_secret string (Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated. unset_deploy_secret boolean (Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint. pull_request_mode string The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required". validation_required boolean Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository git_release_mgmt_enabled boolean If true, advanced git release management is enabled for this project allow_warnings boolean Validation policy: If true, the project can be committed with warnings when \`validation_required\` is true. (\`allow_warnings\` does nothing if \`validation_required\` is false). is_example boolean If true the project is an example project and cannot be modified has_production_counterpart boolean If true the project has been pushed to production. dependency_status string Status of dependencies in your manifest \& lockfile

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 403: Permission Denied

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

## Examples

### Ruby


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/all_git_branches.rb](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/all_git_branches.rb#L10 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/all_git_branches.rb") |
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/list_files_per_project.rb](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/list_files_per_project.rb#L11 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/list_files_per_project.rb") |
| [https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/validate_projects.rb](https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/validate_projects.rb#L14 "https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/validate_projects.rb") |

### Kotlin


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestMethods.kt](https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestMethods.kt#L430 "https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestMethods.kt") |

### Swift


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift](https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift#L327 "https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift") |