repository

Create a column in a project

Changed on
post/repos/{owner}/{repo}/projects/{id}/columns

Request

  • Base URL
    https://demo.gitea.com/api/v1
  • Auth
    • HTTP basic
    • or API key in query parameter token
    • or API key in query parameter access_token
    • or API key in header Authorization
    • or API key in query parameter sudo
    • or API key in header Sudo
    • or API key in header X-GITEA-OTP

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

idinteger required

id of the project

Request body

colorstring

Column color in 6-digit hex format, e.g. #FF0000

titlestring required

Response

ProjectColumn

colorstring
created_atstring date-time
defaultboolean
idinteger
project_idinteger
sortinginteger
titlestring
updated_atstring date-time

null only for legacy rows that carry no update timestamp

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    1 more change in this revision