{"meta":{"title":"REST-API-Endpunkte für Projektentwürfe","intro":"Verwenden Sie die REST-API, um Entwurfselemente in Projekten zu verwalten.","product":"REST-API","breadcrumbs":[{"href":"/de/rest","title":"REST-API"},{"href":"/de/rest/projects","title":"Projekte"},{"href":"/de/rest/projects/drafts","title":"Projektentwurfselemente"}],"documentType":"article"},"body":"# REST-API-Endpunkte für Projektentwürfe\n\nVerwenden Sie die REST-API, um Entwurfselemente in Projekten zu verwalten.\n\n> [!NOTE]\n> Most endpoints use `Authorization: Bearer <YOUR-TOKEN>` and `Accept: application/vnd.github+json` headers, plus `X-GitHub-Api-Version: 2026-03-10`. Curl examples below omit these standard headers for brevity.\n\n## Create draft item for organization owned project\n\n```\nPOST /orgs/{org}/projectsV2/{project_number}/drafts\n```\n\nCreate draft issue item for the specified organization owned project.\n\n### Parameters\n\n#### Headers\n\n- **`accept`** (string)\n  Setting to `application/vnd.github+json` is recommended.\n\n#### Path and query parameters\n\n- **`org`** (string) (required)\n  The organization name. The name is not case sensitive.\n\n- **`project_number`** (integer) (required)\n  The project's number.\n\n#### Body parameters\n\n- **`title`** (string) (required)\n  The title of the draft issue item to create in the project.\n\n- **`body`** (string)\n  The body content of the draft issue item to create in the project.\n\n### HTTP response status codes\n\n- **201** - Created\n\n- **304** - Not modified\n\n- **401** - Requires authentication\n\n- **403** - Forbidden\n\n## Create draft item for user owned project\n\n```\nPOST /user/{user_id}/projectsV2/{project_number}/drafts\n```\n\nCreate draft issue item for the specified user owned project.\n\n### Parameters\n\n#### Headers\n\n- **`accept`** (string)\n  Setting to `application/vnd.github+json` is recommended.\n\n#### Path and query parameters\n\n- **`user_id`** (string) (required)\n  The unique identifier of the user.\n\n- **`project_number`** (integer) (required)\n  The project's number.\n\n#### Body parameters\n\n- **`title`** (string) (required)\n  The title of the draft issue item to create in the project.\n\n- **`body`** (string)\n  The body content of the draft issue item to create in the project.\n\n### HTTP response status codes\n\n- **201** - Created\n\n- **304** - Not modified\n\n- **401** - Requires authentication\n\n- **403** - Forbidden"}