Add project board card move API
Some checks failed
cron-lock / action (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
cron-translations / crowdin-push (push) Has been cancelled
cron-licenses / cron-licenses (push) Has been cancelled

This commit is contained in:
Mikhail Kilin
2026-05-31 04:19:15 +03:00
parent ee3b2ac09d
commit f4963a22e2
4 changed files with 198 additions and 0 deletions

View File

@@ -3227,6 +3227,91 @@
]
}
},
"/projects/{projectId}/boards/{boardId}/cards": {
"get": {
"produces": [
"application/json"
],
"tags": [
"board"
],
"summary": "Get project board cards",
"operationId": "boardGetProjectBoardCards",
"parameters": [
{
"type": "string",
"description": "id of the project",
"name": "projectId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "id of the board",
"name": "boardId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Project board cards"
},
"403": {
"$ref": "#/responses/forbidden"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/projects/{projectId}/boards/{boardId}/cards/{cardId}/move": {
"post": {
"produces": [
"application/json"
],
"tags": [
"board"
],
"summary": "Move project board card to another board",
"operationId": "boardMoveProjectBoardCard",
"parameters": [
{
"type": "string",
"description": "id of the project",
"name": "projectId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "id of the target board",
"name": "boardId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "internal id of the issue card to move",
"name": "cardId",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"description": "Project board card moved"
},
"403": {
"$ref": "#/responses/forbidden"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/repos/issues/search": {
"get": {
"produces": [