How do I archive a repository via Githubs GraphQL API?

时间:2017-12-18 08:28:48

标签: github-api github-graphql

I found out that you can do this via the REST API, but ideally I want to stick to the GraphQL API in my program. I've been scouring the API Documentation but I am also pretty shaky and new to GraphQL so I can not seem to find a way to mutate the repository and set the archive state.

I only need to archive, no need for un-archive.

1 个答案:

答案 0 :(得分:1)

目前无法实现,但您可以通过使用标记custom.BuildId创建新帖here来请求该功能。