Version 4.0.24.20 (latest)
Create A Project
dev mode required.
- Call
update_session
to select the 'dev' workspace.
name
is required.
git_remote_url
is not allowed. To configure Git for the newly created project, follow the instructions in update_project
.
Request
POST
/projects
Datatype
Description
Request
body
Expand HTTP Body definition...
body
Project
Expand Project definition...
can
lock
Operations the current user is able to perform on this object
id
lock
Project Id
name
Project display name
uses_git
lock
If true the project is configured with a git repository
git_remote_url
Git remote repository url
git_username
Git username for HTTPS authentication. (For production only, if using user attributes.)
git_password
(Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.)
git_production_branch_name
Git production branch name. Defaults to master. Supported only in Looker 21.0 and higher.
use_git_cookie_auth
If true, the project uses a git cookie for authentication.
git_username_user_attribute
User attribute name for username in per-user HTTPS authentication.
git_password_user_attribute
User attribute name for password in per-user HTTPS authentication.
git_service_name
Name of the git service provider
git_application_server_http_port
Port that HTTP(S) application server is running on (for PRs, file browsing, etc.)
git_application_server_http_scheme
Scheme that is running on application server (for PRs, file browsing, etc.)
deploy_secret
(Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated.
unset_deploy_secret
(Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint.
pull_request_mode
The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required".
validation_required
Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository
git_release_mgmt_enabled
If true, advanced git release management is enabled for this project
allow_warnings
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
lock
If true the project is an example project and cannot be modified
dependency_status
Status of dependencies in your manifest & lockfile
Response
200: Project
Datatype
Description
(object)
can
lock
Operations the current user is able to perform on this object
id
lock
Project Id
name
Project display name
uses_git
lock
If true the project is configured with a git repository
git_remote_url
Git remote repository url
git_username
Git username for HTTPS authentication. (For production only, if using user attributes.)
git_password
(Write-Only) Git password for HTTPS authentication. (For production only, if using user attributes.)
git_production_branch_name
Git production branch name. Defaults to master. Supported only in Looker 21.0 and higher.
use_git_cookie_auth
If true, the project uses a git cookie for authentication.
git_username_user_attribute
User attribute name for username in per-user HTTPS authentication.
git_password_user_attribute
User attribute name for password in per-user HTTPS authentication.
git_service_name
Name of the git service provider
git_application_server_http_port
Port that HTTP(S) application server is running on (for PRs, file browsing, etc.)
git_application_server_http_scheme
Scheme that is running on application server (for PRs, file browsing, etc.)
deploy_secret
(Write-Only) Optional secret token with which to authenticate requests to the webhook deploy endpoint. If not set, endpoint is unauthenticated.
unset_deploy_secret
(Write-Only) When true, unsets the deploy secret to allow unauthenticated access to the webhook deploy endpoint.
pull_request_mode
The git pull request policy for this project. Valid values are: "off", "links", "recommended", "required".
validation_required
Validation policy: If true, the project must pass validation checks before project changes can be committed to the git repository
git_release_mgmt_enabled
If true, advanced git release management is enabled for this project
allow_warnings
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
lock
If true the project is an example project and cannot be modified
dependency_status
Status of dependencies in your manifest & lockfile
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
409: Resource Already Exists
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link