Skip to main content
Skip to content

리포지토리

리포지토리 범주의 GraphQL 스키마 형식에 대한 참조 설명서입니다.

이 기사에서

Queries

repository

Query

Lookup a given repository by the owner and repository name.

유형: Repository

repository 의 인수

이름설명

followRenames (Boolean)

Follow repository renames. If disabled, a repository referenced by its old name will return an error.

The default value is true.

name (String!)

The name of the repository.

owner (String!)

The login field of a user or organization.

repositoryOwner

Query

Lookup a repository owner (ie. either a User or an Organization) by login.

유형: RepositoryOwner

repositoryOwner 의 인수

이름설명

login (String!)

The username to lookup the owner by.

topic

Query

Look up a topic by name.

유형: Topic

topic 의 인수

이름설명

name (String!)

The topic's name.

Mutations

acceptTopicSuggestion

Mutation

Applies a suggested topic to the repository.

acceptTopicSuggestion에 대한 입력 필드

acceptTopicSuggestion에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

topic (Topic)

The accepted topic.

경고

topic is deprecated.

Suggested topics are no longer supported Removal on 2024-04-01 UTC.

archiveRepository

Mutation

Marks a repository as archived.

archiveRepository에 대한 입력 필드

archiveRepository에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that was marked as archived.

cloneTemplateRepository

Mutation

Create a new repository with the same files and directory structure as a template repository.

cloneTemplateRepository에 대한 입력 필드

cloneTemplateRepository에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The new repository.

createRepository

Mutation

Create a new repository.

createRepository에 대한 입력 필드

createRepository에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The new repository.

createRepositoryCustomProperty

Mutation

Create a repository custom property.

createRepositoryCustomProperty에 대한 입력 필드

createRepositoryCustomProperty에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The newly created repository custom property.

createRepositoryRuleset

Mutation

Create a repository ruleset.

createRepositoryRuleset에 대한 입력 필드

createRepositoryRuleset에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

ruleset (RepositoryRuleset)

The newly created Ruleset.

declineTopicSuggestion

Mutation

Rejects a suggested topic for the repository.

declineTopicSuggestion에 대한 입력 필드

declineTopicSuggestion에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

topic (Topic)

The declined topic.

경고

topic is deprecated.

Suggested topics are no longer supported Removal on 2024-04-01 UTC.

deleteRepositoryCustomProperty

Mutation

Delete a repository custom property.

deleteRepositoryCustomProperty에 대한 입력 필드

deleteRepositoryCustomProperty에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The deleted custom property.

deleteRepositoryRuleset

Mutation

Delete a repository ruleset.

deleteRepositoryRuleset에 대한 입력 필드

deleteRepositoryRuleset에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

promoteRepositoryCustomProperty

Mutation

Promote a repository custom property to the enterprise level.

promoteRepositoryCustomProperty에 대한 입력 필드

promoteRepositoryCustomProperty에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repositoryCustomProperty (RepositoryCustomProperty)

The repository custom property that has been promoted.

setRepositoryCustomPropertyValues

Mutation

Set repository custom property values for a repository.

setRepositoryCustomPropertyValues에 대한 입력 필드

setRepositoryCustomPropertyValues에 대한 반환 필드

이름설명

clientMutationId (String)

A unique identifier for the client performing the mutation.

repository (Repository)

The repository that the custom properties were set for.

setRepositoryInteractionLimit

Mutation

Sets an interaction limit setting for a repository.

setRepositoryInteractionLimit에 대한 입력 필드

setRepositoryInteractionLimit에 대한 반환 필드

이름설명