下書きプロジェクト項目の REST API エンドポイント
REST API を使用して、プロジェクトの下書きアイテムを管理します。
Create draft item for organization owned project
Create draft issue item for the specified organization owned project.
"Create draft item for organization owned project" のきめ細かいアクセス トークン
このエンドポイントは、次の粒度の細かいトークンの種類で動作します:
粒度の細かいトークンには次のアクセス許可セットが設定されている必要があります:
- "Projects" organization permissions (write)
このエンドポイントは、パブリック リソースのみが要求される場合は、認証または前述メンションアクセス許可なしで使用できます。
"Create draft item for organization owned project" のパラメーター
| 名前, タイプ, 説明 |
|---|
accept string Setting to |
| 名前, タイプ, 説明 |
|---|
org string 必須The organization name. The name is not case sensitive. |
project_number integer 必須The project's number. |
| 名前, タイプ, 説明 |
|---|
title string 必須The title of the draft issue item to create in the project. |
body string The body content of the draft issue item to create in the project. |
"Create draft item for organization owned project" の HTTP 応答状態コード
| 状態コード | 説明 |
|---|---|
201 | Created |
304 | Not modified |
401 | Requires authentication |
403 | Forbidden |
Create draft item for user owned project
Create draft issue item for the specified user owned project.
"Create draft item for user owned project" のきめ細かいアクセス トークン
このエンドポイントは、GitHub アプリのユーザー アクセス トークン、GitHub アプリのインストール アクセス トークン、またはきめ細かい個人用アクセス トークンでは機能しません。
"Create draft item for user owned project" のパラメーター
| 名前, タイプ, 説明 |
|---|
accept string Setting to |
| 名前, タイプ, 説明 |
|---|
user_id string 必須The unique identifier of the user. |
project_number integer 必須The project's number. |
| 名前, タイプ, 説明 |
|---|
title string 必須The title of the draft issue item to create in the project. |
body string The body content of the draft issue item to create in the project. |
"Create draft item for user owned project" の HTTP 応答状態コード
| 状態コード | 説明 |
|---|---|
201 | Created |
304 | Not modified |
401 | Requires authentication |
403 | Forbidden |