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

150 lines
3.7 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
- import_source
- import_type
- import_url
- 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
- 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
- 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_image_prefix
- default_branch
- empty_repo
- forks_count
- http_url_to_repo
- name_with_namespace
- open_issues_count
- owner
- path_with_namespace
- permissions
- readme_url
- shared_with_groups
- ssh_url_to_repo
- 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
- keep_latest_artifact
- merge_pipelines_enabled
- merge_trains_enabled
- auto_rollback_enabled
remapped_attributes:
default_git_depth: ci_default_git_depth
forward_deployment_enabled: ci_forward_deployment_enabled
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
- project_id
- requirements_access_level
- security_and_compliance_access_level
- container_registry_access_level
- 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:
- allow_editing_commit_messages
- created_at
- has_confluence
- has_vulnerabilities
- prevent_merge_without_jira_issue
- project_id
- push_rule_id
- show_default_award_emojis
- squash_option
- updated_at
- cve_id_request_enabled
build_service_desk_setting: # service_desk_setting
unexposed_attributes:
- project_id
- issue_template_key
- outgoing_name
remapped_attributes:
project_key: service_desk_address