Project (classic) 열에 대한 REST API 엔드포인트
REST API를 사용하여 프로젝트(클래식)에서 열을 만들고 관리합니다.
Get a project column
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"Get a project column"에 대한 세분화된 액세스 토큰
이 엔드포인트는 다음 세분화된 토큰 형식에서 작동합니다.:
세분화된 토큰에는 다음 권한 집합 중 하나 이상이 있어야 합니다.:
- "Projects" repository permissions (read)
 - "Projects" organization permissions (read)
 
공용 리소스만 요청되는 경우 인증 또는 앞서 언급한 권한 없이 이 엔드포인트를 사용할 수 있습니다.
"Get a project column"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
column_id integer RequiredThe unique identifier of the column.  | 
"Get a project column"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
200 | OK  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
404 | Resource not found  | 
"Get a project column"에 대한 코드 샘플
요청 예제
curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/columns/COLUMN_IDResponse
Status: 200{
  "url": "https://HOSTNAME/projects/columns/367",
  "project_url": "https://HOSTNAME/projects/120",
  "cards_url": "https://HOSTNAME/projects/columns/367/cards",
  "id": 367,
  "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=",
  "name": "To Do",
  "created_at": "2016-09-05T14:18:44Z",
  "updated_at": "2016-09-05T14:22:28Z"
}Update an existing project column
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"Update an existing project column"에 대한 세분화된 액세스 토큰
이 엔드포인트는 다음 세분화된 토큰 형식에서 작동합니다.:
세분화된 토큰에는 다음 권한 집합 중 하나 이상이 있어야 합니다.:
- "Projects" repository permissions (write)
 - "Projects" organization permissions (write)
 
"Update an existing project column"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
column_id integer RequiredThe unique identifier of the column.  | 
| 속성, 형식, 설명 | 
|---|
name string RequiredName of the project column  | 
"Update an existing project column"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
200 | OK  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
"Update an existing project column"에 대한 코드 샘플
요청 예제
curl -L \
  -X PATCH \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/columns/COLUMN_ID \
  -d '{"name":"To Do"}'Response
Status: 200{
  "url": "https://HOSTNAME/projects/columns/367",
  "project_url": "https://HOSTNAME/projects/120",
  "cards_url": "https://HOSTNAME/projects/columns/367/cards",
  "id": 367,
  "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=",
  "name": "To Do",
  "created_at": "2016-09-05T14:18:44Z",
  "updated_at": "2016-09-05T14:22:28Z"
}Delete a project column
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"Delete a project column"에 대한 세분화된 액세스 토큰
이 엔드포인트는 다음 세분화된 토큰 형식에서 작동합니다.:
세분화된 토큰에는 다음 권한 집합 중 하나 이상이 있어야 합니다.:
- "Projects" repository permissions (write)
 - "Projects" organization permissions (write)
 
"Delete a project column"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
column_id integer RequiredThe unique identifier of the column.  | 
"Delete a project column"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
204 | No Content  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
"Delete a project column"에 대한 코드 샘플
요청 예제
curl -L \
  -X DELETE \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/columns/COLUMN_IDResponse
Status: 204Move a project column
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"Move a project column"에 대한 세분화된 액세스 토큰
이 엔드포인트는 다음 세분화된 토큰 형식에서 작동합니다.:
세분화된 토큰에는 다음 권한 집합 중 하나 이상이 있어야 합니다.:
- "Projects" repository permissions (write)
 - "Projects" organization permissions (write)
 
"Move a project column"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
column_id integer RequiredThe unique identifier of the column.  | 
| 속성, 형식, 설명 | 
|---|
position string RequiredThe position of the column in a project. Can be one of:   | 
"Move a project column"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
201 | Created  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
422 | Validation failed, or the endpoint has been spammed.  | 
"Move a project column"에 대한 코드 샘플
요청 예제
curl -L \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/columns/COLUMN_ID/moves \
  -d '{"position":"last"}'Response
Status: 201List project columns
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"List project columns"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
project_id integer RequiredThe unique identifier of the project.  | 
| 속성, 형식, 설명 | 
|---|
per_page integer The number of results per page (max 100). For more information, see "Using pagination in the REST API." 기본값:   | 
page integer The page number of the results to fetch. For more information, see "Using pagination in the REST API." 기본값:   | 
"List project columns"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
200 | OK  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
"List project columns"에 대한 코드 샘플
요청 예제
curl -L \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/PROJECT_ID/columnsResponse
Status: 200[
  {
    "url": "https://HOSTNAME/projects/columns/367",
    "project_url": "https://HOSTNAME/projects/120",
    "cards_url": "https://HOSTNAME/projects/columns/367/cards",
    "id": 367,
    "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=",
    "name": "To Do",
    "created_at": "2016-09-05T14:18:44Z",
    "updated_at": "2016-09-05T14:22:28Z"
  }
]Create a project column
Warning
Closing down notice: Projects (classic) is being deprecated in favor of the new Projects experience. See the changelog for more information.
"Create a project column"에 대한 매개 변수
| 속성, 형식, 설명 | 
|---|
accept string Setting to   | 
| 속성, 형식, 설명 | 
|---|
project_id integer RequiredThe unique identifier of the project.  | 
| 속성, 형식, 설명 | 
|---|
name string RequiredName of the project column  | 
"Create a project column"에 대한 HTTP 응답 상태 코드
| 상태 코드 | 설명 | 
|---|---|
201 | Created  | 
304 | Not modified  | 
401 | Requires authentication  | 
403 | Forbidden  | 
422 | Validation failed, or the endpoint has been spammed.  | 
"Create a project column"에 대한 코드 샘플
요청 예제
curl -L \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer <YOUR-TOKEN>" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  http(s)://HOSTNAME/api/v3/projects/PROJECT_ID/columns \
  -d '{"name":"Remaining tasks"}'Response
Status: 201{
  "url": "https://HOSTNAME/projects/columns/367",
  "project_url": "https://HOSTNAME/projects/120",
  "cards_url": "https://HOSTNAME/projects/columns/367/cards",
  "id": 367,
  "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=",
  "name": "To Do",
  "created_at": "2016-09-05T14:18:44Z",
  "updated_at": "2016-09-05T14:22:28Z"
}