Add REST API endpoint to retrieve a card by ID

This commit is contained in:
Yang, Bo 2025-07-15 21:40:30 +00:00
parent 56700d1d06
commit fc77d0d201
2 changed files with 44 additions and 0 deletions

View file

@ -2612,6 +2612,29 @@ paths:
type: integer
public:
type: integer
/api/cards/{card}:
get:
operationId: get_card_by_id
summary: Get a Card by Card ID
tags:
- Cards
parameters:
- name: card
in: path
description: |
the card ID
type: string
required: true
produces:
- application/json
security:
- UserSecurity: []
responses:
'200':
description: |-
200 response
schema:
$ref: "#/definitions/Cards"
/api/users/{user}/boards:
get:
operationId: get_boards_from_user