mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Merge pull request #5826 from Atry/rest-api-custom-field-return-type
fix: correct return type in API documentation for custom fields
This commit is contained in:
commit
84259c5116
2 changed files with 9 additions and 3 deletions
|
@ -4042,7 +4042,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
|
|||
* @param {string} cardId the ID of the card
|
||||
* @param {string} customFieldId the ID of the custom field
|
||||
* @param {string} value the new custom field value
|
||||
* @return_type {_id: string, customFields: object}
|
||||
* @return_type {_id: string, customFields: [{_id: string, value: object}]}
|
||||
*/
|
||||
JsonRoutes.add(
|
||||
'POST',
|
||||
|
|
|
@ -1666,7 +1666,6 @@ paths:
|
|||
adds the label to the board.
|
||||
tags:
|
||||
- Boards
|
||||
- Boards
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
- application/json
|
||||
|
@ -2261,7 +2260,14 @@ paths:
|
|||
_id:
|
||||
type: string
|
||||
customFields:
|
||||
type: object
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
_id:
|
||||
type: string
|
||||
value:
|
||||
type: object
|
||||
/api/boards/{board}/lists/{list}/cards_count:
|
||||
get:
|
||||
operationId: get_list_cards_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue