gitlab-org--gitlab-foss/spec/requests/api/project_attributes.yml

174 lines
4.5 KiB
YAML

---
itself: # project
unexposed_attributes:
- bfg_object_map
- delete_error
- detected_repository_languages
- disable_overriding_approvers_per_merge_request
- external_authorization_classification_label
- external_webhook_token
- has_external_issue_tracker
- has_external_wiki
- hidden
- import_source
- jobs_cache_index
- last_repository_check_at
- last_repository_check_failed
- last_repository_updated_at
- marked_for_deletion_at
- marked_for_deletion_by_user_id
- max_artifacts_size
- max_pages_size
- merge_requests_author_approval
- merge_requests_disable_committers_approval
- merge_requests_rebase_enabled
- mirror_last_successful_update_at
- mirror_last_update_at
- mirror_overwrites_diverged_branches
- mirror_trigger_builds
- mirror_user_id
- only_mirror_protected_branches
- pages_https_only
- pending_delete
- pool_repository_id
- project_namespace_id
- pull_mirror_available_overridden
- pull_mirror_branch_prefix
- remote_mirror_available_overridden
- repository_read_only
- repository_size_limit
- require_password_to_approve
- reset_approvals_on_push
- runners_token_encrypted
- storage_version
- topic_list
- updated_at
remapped_attributes:
avatar: avatar_url
build_allow_git_fetch: build_git_strategy
merge_requests_ff_only_enabled: merge_method
namespace_id: namespace
public_builds: public_jobs
visibility_level: visibility
computed_attributes:
- _links
- can_create_merge_request_in
- compliance_frameworks
- container_expiration_policy
- container_registry_enabled
- container_registry_image_prefix
- default_branch
- empty_repo
- forks_count
- http_url_to_repo
- import_status
- import_url
- name_with_namespace
- open_issues_count
- owner
- path_with_namespace
- permissions
- readme_url
- shared_with_groups
- ssh_url_to_repo
- tag_list
- topics
- web_url
build_auto_devops: # auto_devops
unexposed_attributes:
- id
- project_id
- created_at
- updated_at
remapped_attributes:
enabled: auto_devops_enabled
deploy_strategy: auto_devops_deploy_strategy
ci_cd_settings:
unexposed_attributes:
- id
- project_id
- group_runners_enabled
- merge_trains_enabled
- merge_pipelines_enabled
- auto_rollback_enabled
- inbound_job_token_scope_enabled
remapped_attributes:
default_git_depth: ci_default_git_depth
forward_deployment_enabled: ci_forward_deployment_enabled
job_token_scope_enabled: ci_job_token_scope_enabled
separated_caches: ci_separated_caches
opt_in_jwt: ci_opt_in_jwt
allow_fork_pipelines_to_run_in_parent_project: ci_allow_fork_pipelines_to_run_in_parent_project
build_import_state: # import_state
unexposed_attributes:
- id
- project_id
- retry_count
- last_update_started_at
- last_update_scheduled_at
- next_execution_timestamp
- jid
- last_update_at
- last_successful_update_at
- correlation_id_value
remapped_attributes:
status: import_status
last_error: import_error
project_feature:
unexposed_attributes:
- id
- created_at
- metrics_dashboard_access_level
- package_registry_access_level
- monitor_access_level
- infrastructure_access_level
- feature_flags_access_level
- environments_access_level
- project_id
- updated_at
computed_attributes:
- issues_enabled
- jobs_enabled
- merge_requests_enabled
- requirements_enabled
- security_and_compliance_enabled
- snippets_enabled
- wiki_enabled
project_setting:
unexposed_attributes:
- created_at
- has_confluence
- has_shimo
- has_vulnerabilities
- legacy_open_source_license_available
- prevent_merge_without_jira_issue
- only_allow_merge_if_all_status_checks_passed
- warn_about_potentially_unwanted_characters
- previous_default_branch
- project_id
- push_rule_id
- show_default_award_emojis
- show_diff_preview_in_email
- updated_at
- cve_id_request_enabled
- mr_default_target_self
- target_platforms
- selective_code_owner_removals
- show_diff_preview_in_email
- suggested_reviewers_enabled
- jitsu_key
- mirror_branch_regex
build_service_desk_setting: # service_desk_setting
unexposed_attributes:
- project_id
- issue_template_key
- file_template_project_id
- outgoing_name
remapped_attributes:
project_key: service_desk_address