Skip to content

Commit 94aaa96

Browse files
Update OpenAPI Description (#58416)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
1 parent 166f36f commit 94aaa96

File tree

17 files changed

+270
-11
lines changed

17 files changed

+270
-11
lines changed

content/rest/projects/drafts.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: REST API endpoints for draft Project items
3+
shortTitle: Draft Project items
4+
intro: Use the REST API to manage draft items in Projects.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
topics:
9+
- API
10+
autogenerated: rest
11+
allowTitleToDifferFromFilename: true
12+
---
13+
14+
<!-- Content after this section is automatically generated -->

content/rest/projects/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ topics:
55
autogenerated: rest
66
allowTitleToDifferFromFilename: true
77
children:
8+
- /drafts
89
- /fields
910
- /items
1011
- /projects

src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,6 +2325,15 @@
23252325
"additional-permissions": false,
23262326
"access": "read"
23272327
},
2328+
{
2329+
"category": "projects",
2330+
"slug": "create-draft-item-for-organization-owned-project",
2331+
"subcategory": "drafts",
2332+
"verb": "post",
2333+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2334+
"additional-permissions": false,
2335+
"access": "write"
2336+
},
23282337
{
23292338
"category": "projects",
23302339
"slug": "list-project-fields-for-organization",

src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3790,6 +3790,12 @@
37903790
"verb": "get",
37913791
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
37923792
},
3793+
{
3794+
"slug": "create-draft-item-for-organization-owned-project",
3795+
"subcategory": "drafts",
3796+
"verb": "post",
3797+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
3798+
},
37933799
{
37943800
"slug": "list-project-fields-for-organization",
37953801
"subcategory": "fields",

src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2917,6 +2917,17 @@
29172917
"server-to-server": true,
29182918
"additional-permissions": false
29192919
},
2920+
{
2921+
"category": "projects",
2922+
"slug": "create-draft-item-for-organization-owned-project",
2923+
"subcategory": "drafts",
2924+
"verb": "post",
2925+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2926+
"access": "write",
2927+
"user-to-server": true,
2928+
"server-to-server": true,
2929+
"additional-permissions": false
2930+
},
29202931
{
29212932
"category": "projects",
29222933
"slug": "list-project-fields-for-organization",

src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3886,6 +3886,12 @@
38863886
"verb": "get",
38873887
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
38883888
},
3889+
{
3890+
"slug": "create-draft-item-for-organization-owned-project",
3891+
"subcategory": "drafts",
3892+
"verb": "post",
3893+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
3894+
},
38893895
{
38903896
"slug": "list-project-fields-for-organization",
38913897
"subcategory": "fields",

src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4366,6 +4366,12 @@
43664366
"verb": "get",
43674367
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
43684368
},
4369+
{
4370+
"slug": "create-draft-item-for-organization-owned-project",
4371+
"subcategory": "drafts",
4372+
"verb": "post",
4373+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
4374+
},
43694375
{
43704376
"slug": "list-project-fields-for-organization",
43714377
"subcategory": "fields",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,6 +2946,15 @@
29462946
"additional-permissions": false,
29472947
"access": "read"
29482948
},
2949+
{
2950+
"category": "projects",
2951+
"slug": "create-draft-item-for-organization-owned-project",
2952+
"subcategory": "drafts",
2953+
"verb": "post",
2954+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2955+
"additional-permissions": false,
2956+
"access": "write"
2957+
},
29492958
{
29502959
"category": "projects",
29512960
"slug": "list-project-fields-for-organization",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4064,6 +4064,12 @@
40644064
"verb": "get",
40654065
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
40664066
},
4067+
{
4068+
"slug": "create-draft-item-for-organization-owned-project",
4069+
"subcategory": "drafts",
4070+
"verb": "post",
4071+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
4072+
},
40674073
{
40684074
"slug": "list-project-fields-for-organization",
40694075
"subcategory": "fields",

src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4171,6 +4171,17 @@
41714171
"server-to-server": true,
41724172
"additional-permissions": false
41734173
},
4174+
{
4175+
"category": "projects",
4176+
"slug": "create-draft-item-for-organization-owned-project",
4177+
"subcategory": "drafts",
4178+
"verb": "post",
4179+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
4180+
"access": "write",
4181+
"user-to-server": true,
4182+
"server-to-server": true,
4183+
"additional-permissions": false
4184+
},
41744185
{
41754186
"category": "projects",
41764187
"slug": "list-project-fields-for-organization",

0 commit comments

Comments
 (0)