mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 14:45:11 -05:00
6799 lines
182 KiB
YAML
6799 lines
182 KiB
YAML
swagger: '2.0'
|
|
info:
|
|
title: Wekan REST API
|
|
version: v10.21
|
|
description: |
|
|
The REST API allows you to control and extend Wekan with ease.
|
|
|
|
If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.
|
|
|
|
> All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.
|
|
|
|
# Production Security Concerns
|
|
When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:
|
|
|
|
* Only call via HTTPS
|
|
* Implement a timed authorization token expiration strategy
|
|
* Ensure the calling user only has permissions for what they are calling and no more
|
|
|
|
schemes:
|
|
- http
|
|
|
|
securityDefinitions:
|
|
UserSecurity:
|
|
type: apiKey
|
|
in: header
|
|
name: Authorization
|
|
|
|
paths:
|
|
/users/login:
|
|
post:
|
|
operationId: login
|
|
summary: Login with REST API
|
|
consumes:
|
|
- application/json
|
|
- application/x-www-form-urlencoded
|
|
tags:
|
|
- Login
|
|
parameters:
|
|
- name: loginRequest
|
|
in: body
|
|
required: true
|
|
description: Login credentials
|
|
schema:
|
|
type: object
|
|
required:
|
|
- username
|
|
- password
|
|
properties:
|
|
username:
|
|
description: |
|
|
Your username
|
|
type: string
|
|
password:
|
|
description: |
|
|
Your password
|
|
type: string
|
|
format: password
|
|
responses:
|
|
200:
|
|
description: |-
|
|
Successful authentication
|
|
schema:
|
|
type: object
|
|
required:
|
|
- id
|
|
- token
|
|
- tokenExpires
|
|
properties:
|
|
id:
|
|
type: string
|
|
description: User ID
|
|
token:
|
|
type: string
|
|
description: |
|
|
Authentication token
|
|
tokenExpires:
|
|
type: string
|
|
format: date-time
|
|
description: |
|
|
Token expiration date
|
|
400:
|
|
description: |
|
|
Error in authentication
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
reason:
|
|
type: string
|
|
default:
|
|
description: |
|
|
Error in authentication
|
|
/users/register:
|
|
post:
|
|
operationId: register
|
|
summary: Register with REST API
|
|
description: |
|
|
Notes:
|
|
- You will need to provide the token for any of the authenticated methods.
|
|
consumes:
|
|
- application/x-www-form-urlencoded
|
|
- application/json
|
|
tags:
|
|
- Login
|
|
parameters:
|
|
- name: username
|
|
in: formData
|
|
required: true
|
|
description: |
|
|
Your username
|
|
type: string
|
|
- name: password
|
|
in: formData
|
|
required: true
|
|
description: |
|
|
Your password
|
|
type: string
|
|
format: password
|
|
- name: email
|
|
in: formData
|
|
required: true
|
|
description: |
|
|
Your email
|
|
type: string
|
|
responses:
|
|
200:
|
|
description: |-
|
|
Successful registration
|
|
schema:
|
|
items:
|
|
properties:
|
|
id:
|
|
type: string
|
|
token:
|
|
type: string
|
|
tokenExpires:
|
|
type: string
|
|
400:
|
|
description: |
|
|
Error in registration
|
|
schema:
|
|
items:
|
|
properties:
|
|
error:
|
|
type: number
|
|
reason:
|
|
type: string
|
|
default:
|
|
description: |
|
|
Error in registration
|
|
|
|
/api/admin/attachment-settings:
|
|
get:
|
|
operationId: get_attachment_settings
|
|
summary: Get the attachment storage / upload-block settings (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. Returns the Admin Panel >
|
|
Attachments settings document, including `limitSettings.attachmentsUploadBlocked`
|
|
and `limitSettings.avatarsUploadBlocked` plus the size limits. Cloud-storage
|
|
secret keys (S3 secretAccessKey, Azure accountKey/connectionString, GCS
|
|
credentials) are masked and never returned; a boolean `<field>Set` marker
|
|
shows whether a value exists.
|
|
tags:
|
|
- AttachmentStorageSettings
|
|
- Settings
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: Object
|
|
put:
|
|
operationId: update_attachment_settings
|
|
summary: Update the attachment storage / upload-block settings (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. The request body is a
|
|
partial settings object (for example
|
|
`{"limitSettings": {"avatarsUploadBlocked": true}}`). It is applied through
|
|
the same update path as the `updateAttachmentStorageSettings` Meteor method,
|
|
so validation and `$set` semantics are identical: cloud-storage secrets left
|
|
blank are preserved. The masked, updated settings document is returned.
|
|
tags:
|
|
- AttachmentStorageSettings
|
|
- Settings
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: Object
|
|
/api/admin/domains:
|
|
get:
|
|
operationId: get_admin_domains
|
|
summary: List email domains with their user counts (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. Counts every user by the
|
|
domain part of their primary email address (the first address in `emails`),
|
|
mirroring the Admin Panel > People domain grouping. Domains are returned
|
|
sorted by descending count, then alphabetically.
|
|
tags:
|
|
- Users
|
|
- Users
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
domain:
|
|
type: string
|
|
count:
|
|
type: number
|
|
/api/admin/orgs:
|
|
get:
|
|
operationId: get_admin_orgs
|
|
summary: List organizations with their feature toggles (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. Returns every organization
|
|
with its identifying fields and the per-org feature toggles shown as columns
|
|
in Admin Panel > People > Organizations.
|
|
tags:
|
|
- Org
|
|
- Organizations
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
orgDisplayName:
|
|
type: string
|
|
orgShortName:
|
|
type: string
|
|
orgSharedTemplates:
|
|
type: boolean
|
|
orgPropagateMembersToBoards:
|
|
type: boolean
|
|
orgSyncMembersFromAuth:
|
|
type: boolean
|
|
/api/admin/orgs/{org}/features:
|
|
put:
|
|
operationId: update_admin_org_features
|
|
summary: Set feature toggles on one organization (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. The request body may
|
|
contain any of `orgSharedTemplates`, `orgPropagateMembersToBoards` and
|
|
`orgSyncMembersFromAuth` (booleans); only those whitelisted fields are
|
|
`$set` on the organization. Returns the updated organization.
|
|
tags:
|
|
- Org
|
|
- Organizations
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: org
|
|
in: path
|
|
description: |
|
|
the ID of the organization
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: Object
|
|
/api/admin/orgs/features:
|
|
put:
|
|
operationId: update_all_admin_org_features
|
|
summary: Set one feature toggle on all organizations (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. The request body is
|
|
`{ field, value }` where `field` is one of `orgSharedTemplates`,
|
|
`orgPropagateMembersToBoards` or `orgSyncMembersFromAuth` and `value` is a
|
|
boolean. The field is `$set` on ALL organizations. Returns the number of
|
|
organizations updated.
|
|
tags:
|
|
- Org
|
|
- Organizations
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
updated:
|
|
type: number
|
|
/api/admin/teams:
|
|
get:
|
|
operationId: get_admin_teams
|
|
summary: List teams with their feature toggles (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. Returns every team with
|
|
its identifying fields and the per-team feature toggles shown as columns in
|
|
Admin Panel > People > Teams.
|
|
tags:
|
|
- Team
|
|
- Teams
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
teamDisplayName:
|
|
type: string
|
|
teamShortName:
|
|
type: string
|
|
teamSharedTemplates:
|
|
type: boolean
|
|
teamPropagateMembersToBoards:
|
|
type: boolean
|
|
teamSyncMembersFromAuth:
|
|
type: boolean
|
|
/api/admin/teams/{team}/features:
|
|
put:
|
|
operationId: update_admin_team_features
|
|
summary: Set feature toggles on one team (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. The request body may
|
|
contain any of `teamSharedTemplates`, `teamPropagateMembersToBoards` and
|
|
`teamSyncMembersFromAuth` (booleans); only those whitelisted fields are
|
|
`$set` on the team. Returns the updated team.
|
|
tags:
|
|
- Team
|
|
- Teams
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: team
|
|
in: path
|
|
description: |
|
|
the ID of the team
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: Object
|
|
/api/admin/teams/features:
|
|
put:
|
|
operationId: update_all_admin_team_features
|
|
summary: Set one feature toggle on all teams (GlobalAdmin)
|
|
description: |
|
|
Only the global admin can call this. The request body is
|
|
`{ field, value }` where `field` is one of `teamSharedTemplates`,
|
|
`teamPropagateMembersToBoards` or `teamSyncMembersFromAuth` and `value` is a
|
|
boolean. The field is `$set` on ALL teams. Returns the number of teams
|
|
updated.
|
|
tags:
|
|
- Team
|
|
- Teams
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
updated:
|
|
type: number
|
|
/api/boards:
|
|
get:
|
|
operationId: get_boards
|
|
tags:
|
|
- Boards
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_boards
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}:
|
|
get:
|
|
operationId: get_board
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/attachments:
|
|
get:
|
|
operationId: get_board_attachments
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/attachments/{attachment}/export:
|
|
get:
|
|
operationId: exportJson
|
|
summary: This route is used to export a attachement to a json file format.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
"authToken": '/api/boards/:boardId/attachments/:attachmentId/export?authToken=:token'
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
- name: attachment
|
|
in: path
|
|
description: |
|
|
the ID of the attachment we are exporting
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cardSettings:
|
|
get:
|
|
operationId: get_board_cardSettings
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_cardSettings
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: key
|
|
in: formData
|
|
description: the key value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/checklists:
|
|
get:
|
|
operationId: get_board_card_checklists
|
|
tags:
|
|
- Checklists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_card_checklists
|
|
tags:
|
|
- Checklists
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: items
|
|
in: formData
|
|
description: the items value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/checklists/{checklist}:
|
|
get:
|
|
operationId: get_board_card_checklist
|
|
tags:
|
|
- Checklists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_card_checklist
|
|
tags:
|
|
- Checklists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/checklists/{checklist}/items:
|
|
post:
|
|
operationId: post_board_card_checklist_items
|
|
tags:
|
|
- ChecklistItems
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}:
|
|
get:
|
|
operationId: get_board_card_checklist_item
|
|
tags:
|
|
- ChecklistItems
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
- name: item
|
|
in: path
|
|
description: the item value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_card_checklist_item
|
|
tags:
|
|
- ChecklistItems
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
- name: item
|
|
in: path
|
|
description: the item value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_card_checklist_item
|
|
tags:
|
|
- ChecklistItems
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: checklist
|
|
in: path
|
|
description: the checklist value
|
|
type: string
|
|
required: true
|
|
- name: item
|
|
in: path
|
|
description: the item value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/comments:
|
|
get:
|
|
operationId: get_board_card_comments
|
|
tags:
|
|
- CardComments
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_card_comments
|
|
tags:
|
|
- CardComments
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/comments/{comment}:
|
|
get:
|
|
operationId: get_board_card_comment
|
|
tags:
|
|
- CardComments
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: comment
|
|
in: path
|
|
description: the comment value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_card_comment
|
|
tags:
|
|
- CardComments
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: comment
|
|
in: path
|
|
description: the comment value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/{card}/dependencies:
|
|
get:
|
|
operationId: get_card_dependencies
|
|
summary: Get one card's dependencies
|
|
tags:
|
|
- Dependencies
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: |
|
|
the card ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
cardId:
|
|
type: string
|
|
type:
|
|
type: string
|
|
color:
|
|
type: string
|
|
icon:
|
|
type: string
|
|
post:
|
|
operationId: new_card_dependency
|
|
summary: Add (or update) a typed dependency line from a card to another card
|
|
description: |
|
|
The target card must be on the same board. If the dependency
|
|
already exists, its type/color/icon are updated.
|
|
tags:
|
|
- Dependencies
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: cardId
|
|
in: formData
|
|
description: |
|
|
the source card ID
|
|
type: string
|
|
required: true
|
|
- name: dependsOn
|
|
in: formData
|
|
description: the dependsOn value
|
|
type: string
|
|
required: true
|
|
- name: type
|
|
in: formData
|
|
description: |
|
|
relation type: related-to | blocks | is-blocked-by | fixes | is-fixed-by
|
|
type: string
|
|
required: false
|
|
- name: color
|
|
in: formData
|
|
description: |
|
|
line/badge color, any CSS color e.g. "#eb144c"
|
|
type: string
|
|
required: false
|
|
- name: icon
|
|
in: formData
|
|
description: |
|
|
FontAwesome icon name without the "fa-" prefix
|
|
type: string
|
|
required: false
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: |
|
|
the source card ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
cardId:
|
|
type: string
|
|
type:
|
|
type: string
|
|
color:
|
|
type: string
|
|
icon:
|
|
type: string
|
|
/api/boards/{board}/cards/{card}/dependencies/{target}:
|
|
put:
|
|
operationId: edit_card_dependency
|
|
summary: Edit a dependency line's type, color or icon
|
|
tags:
|
|
- Dependencies
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: type
|
|
in: formData
|
|
description: |
|
|
relation type: related-to | blocks | is-blocked-by | fixes | is-fixed-by
|
|
type: string
|
|
required: false
|
|
- name: key
|
|
in: formData
|
|
description: the key value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: |
|
|
the source card ID
|
|
type: string
|
|
required: true
|
|
- name: target
|
|
in: path
|
|
description: |
|
|
the target card ID of the dependency
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
delete:
|
|
operationId: delete_card_dependency
|
|
summary: Remove a dependency line from a card
|
|
tags:
|
|
- Dependencies
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: |
|
|
the source card ID
|
|
type: string
|
|
required: true
|
|
- name: target
|
|
in: path
|
|
description: |
|
|
the target card ID of the dependency to remove
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
/api/boards/{board}/cards/bulk:
|
|
delete:
|
|
operationId: delete_board_cards_bulk
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards/labels:
|
|
post:
|
|
operationId: post_board_cards_labels
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: cardIds
|
|
in: formData
|
|
description: the cardIds value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}:
|
|
get:
|
|
operationId: get_board_customFieldValue
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
- name: customFieldValue
|
|
in: path
|
|
description: the customFieldValue value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/cards_count:
|
|
get:
|
|
operationId: get_board_cards_count
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/copy:
|
|
post:
|
|
operationId: post_board_copy
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: title
|
|
in: formData
|
|
description: the title value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/custom-fields:
|
|
get:
|
|
operationId: get_board_custom-fields
|
|
tags:
|
|
- CustomFields
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_custom-fields
|
|
tags:
|
|
- CustomFields
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/custom-fields/{customField}:
|
|
get:
|
|
operationId: get_board_customField
|
|
tags:
|
|
- CustomFields
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_customField
|
|
tags:
|
|
- CustomFields
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_customField
|
|
tags:
|
|
- CustomFields
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/custom-fields/{customField}/dropdown-items:
|
|
post:
|
|
operationId: post_board_customField_dropdown-items
|
|
tags:
|
|
- CustomFields
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: items
|
|
in: formData
|
|
description: the items value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/custom-fields/{customField}/dropdown-items/{dropdownItem}:
|
|
put:
|
|
operationId: put_board_customField_dropdownItem
|
|
tags:
|
|
- CustomFields
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: name
|
|
in: formData
|
|
description: the name value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
- name: dropdownItem
|
|
in: path
|
|
description: the dropdownItem value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_customField_dropdownItem
|
|
tags:
|
|
- CustomFields
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
- name: dropdownItem
|
|
in: path
|
|
description: the dropdownItem value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/dependencies:
|
|
get:
|
|
operationId: get_board_dependencies
|
|
summary: Get all card dependency lines ("Red Strings") of a board
|
|
tags:
|
|
- Dependencies
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
from:
|
|
type: string
|
|
fromTitle:
|
|
type: string
|
|
fromCardNumber:
|
|
type: number
|
|
to:
|
|
type: string
|
|
toTitle:
|
|
type: string
|
|
toCardNumber:
|
|
type: number
|
|
type:
|
|
type: string
|
|
color:
|
|
type: string
|
|
icon:
|
|
type: string
|
|
/api/boards/{board}/domains:
|
|
get:
|
|
operationId: get_board_domains
|
|
summary: Get the email domains a board is shared with
|
|
description: |
|
|
#5850: returns the `domains` array of a board. Each entry is an
|
|
object `{ domain: "example.com", isActive: true }`. Anyone able to read the
|
|
board may list its domains. Requires the caller to be authenticated.
|
|
tags:
|
|
- Boards
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
domain:
|
|
type: string
|
|
isActive:
|
|
type: boolean
|
|
post:
|
|
operationId: add_board_domain
|
|
summary: Share a board with an email domain
|
|
description: |
|
|
#5850: add a single email domain to a board's `domains` array
|
|
with `isActive: true`, leaving any existing domains in place. The domain is
|
|
trimmed and lowercased and must look like a domain (contain a '.', no '@' and
|
|
no whitespace); it is added only if not already present. Requires the caller
|
|
to be a board admin (or site admin). Returns the updated domains array.
|
|
tags:
|
|
- Boards
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: domain
|
|
in: formData
|
|
description: |
|
|
the email domain to add, e.g. "example.com"
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
domain:
|
|
type: string
|
|
isActive:
|
|
type: boolean
|
|
/api/boards/{board}/domains/{domain}:
|
|
delete:
|
|
operationId: delete_board_domain
|
|
summary: Stop sharing a board with an email domain
|
|
description: |
|
|
#5850: remove a single email domain from a board's `domains`
|
|
array. The domain in the path is trimmed and lowercased before matching.
|
|
Requires the caller to be a board admin (or site admin). Returns the updated
|
|
domains array.
|
|
tags:
|
|
- Boards
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: domain
|
|
in: path
|
|
description: |
|
|
the email domain to remove, e.g. "example.com"
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
domain:
|
|
type: string
|
|
isActive:
|
|
type: boolean
|
|
/api/boards/{board}/export:
|
|
get:
|
|
operationId: exportJson
|
|
summary: This route is used to export the board to a json file format.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
"authToken": '/api/boards/:boardId/export?authToken=:token'
|
|
|
|
See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
|
|
for detailed explanations
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/export/{format}:
|
|
get:
|
|
operationId: exportExternal
|
|
summary: Export the board as a NextCloud Deck / OpenProject / GitHub / GitLab / Gitea / Forgejo style JSON.
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
- name: format
|
|
in: path
|
|
description: the format value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/export/csv:
|
|
get:
|
|
operationId: exportCSV/TSV
|
|
summary: This route is used to export the board to a CSV or TSV file format.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
|
|
See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
|
|
for detailed explanations
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/export/kanboard:
|
|
get:
|
|
operationId: exportKanboard
|
|
summary: Export the board as a Kanboard-style JSON (columns + tasks).
|
|
description: |
|
|
Pass the loginToken as the `authToken` query param for private
|
|
boards: `/api/boards/:boardId/export/kanboard?authToken=:token`.
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/exportExcel:
|
|
get:
|
|
operationId: exportExcel
|
|
summary: This route is used to export the board Excel.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
"authToken": '/api/boards/:boardId/exportExcel?authToken=:token'
|
|
|
|
See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
|
|
for detailed explanations
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/exportPDF:
|
|
get:
|
|
operationId: exportBoardPDF
|
|
summary: Export a whole board to PDF (board title, lists and their cards).
|
|
description: |
|
|
Pass the loginToken as the `authToken` query param for private
|
|
boards: `/api/boards/:boardId/exportPDF?authToken=:token`.
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board to export
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/integrations:
|
|
get:
|
|
operationId: get_board_integrations
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_integrations
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/integrations/{int}:
|
|
get:
|
|
operationId: get_board_int
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: int
|
|
in: path
|
|
description: the int value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_int
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: int
|
|
in: path
|
|
description: the int value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_int
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: int
|
|
in: path
|
|
description: the int value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/integrations/{int}/activities:
|
|
delete:
|
|
operationId: delete_board_int_activities
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: int
|
|
in: path
|
|
description: the int value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_int_activities
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: activities
|
|
in: formData
|
|
description: the activities value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: int
|
|
in: path
|
|
description: the int value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/labels:
|
|
put:
|
|
operationId: put_board_labels
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists:
|
|
get:
|
|
operationId: get_board_lists
|
|
tags:
|
|
- Lists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_lists
|
|
tags:
|
|
- Lists
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}:
|
|
get:
|
|
operationId: get_board_list
|
|
tags:
|
|
- Lists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_list
|
|
tags:
|
|
- Lists
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_list
|
|
tags:
|
|
- Lists
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards:
|
|
get:
|
|
operationId: get_board_list_cards
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_list_cards
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: linkedId
|
|
in: formData
|
|
description: the linkedId value
|
|
type: string
|
|
required: true
|
|
- name: dateField
|
|
in: formData
|
|
description: the dateField value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}:
|
|
get:
|
|
operationId: get_board_list_card
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_list_card
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: title
|
|
in: formData
|
|
description: the title value
|
|
type: string
|
|
required: true
|
|
- name: sort
|
|
in: formData
|
|
description: the sort value
|
|
type: string
|
|
required: true
|
|
- name: parentId
|
|
in: formData
|
|
description: the parentId value
|
|
type: string
|
|
required: true
|
|
- name: description
|
|
in: formData
|
|
description: the description value
|
|
type: string
|
|
required: true
|
|
- name: color
|
|
in: formData
|
|
description: the color value
|
|
type: string
|
|
required: true
|
|
- name: vote
|
|
in: formData
|
|
description: the vote value
|
|
type: string
|
|
required: true
|
|
- name: poker
|
|
in: formData
|
|
description: the poker value
|
|
type: string
|
|
required: true
|
|
- name: labelIds
|
|
in: formData
|
|
description: the labelIds value
|
|
type: string
|
|
required: true
|
|
- name: requestedBy
|
|
in: formData
|
|
description: the requestedBy value
|
|
type: string
|
|
required: true
|
|
- name: assignedBy
|
|
in: formData
|
|
description: the assignedBy value
|
|
type: string
|
|
required: true
|
|
- name: spentTime
|
|
in: formData
|
|
description: the spentTime value
|
|
type: string
|
|
required: true
|
|
- name: isOverTime
|
|
in: formData
|
|
description: the isOverTime value
|
|
type: string
|
|
required: true
|
|
- name: customFields
|
|
in: formData
|
|
description: the customFields value
|
|
type: string
|
|
required: true
|
|
- name: members
|
|
in: formData
|
|
description: the members value
|
|
type: string
|
|
required: true
|
|
- name: assignees
|
|
in: formData
|
|
description: the assignees value
|
|
type: string
|
|
required: true
|
|
- name: stickers
|
|
in: formData
|
|
description: the stickers value
|
|
type: string
|
|
required: true
|
|
- name: locations
|
|
in: formData
|
|
description: the locations value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_list_card
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/archive:
|
|
post:
|
|
operationId: post_board_list_card_archive
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/assignees/{assignee}:
|
|
post:
|
|
operationId: post_board_list_card_assignee
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: assignee
|
|
in: path
|
|
description: the assignee value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_list_card_assignee
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: assignee
|
|
in: path
|
|
description: the assignee value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/copy:
|
|
post:
|
|
operationId: post_board_list_card_copy
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: toBoardId
|
|
in: formData
|
|
description: the toBoardId value
|
|
type: string
|
|
required: true
|
|
- name: toSwimlaneId
|
|
in: formData
|
|
description: the toSwimlaneId value
|
|
type: string
|
|
required: true
|
|
- name: toListId
|
|
in: formData
|
|
description: the toListId value
|
|
type: string
|
|
required: true
|
|
- name: position
|
|
in: formData
|
|
description: the position value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/customFields/{customField}:
|
|
post:
|
|
operationId: post_board_list_card_customField
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: value
|
|
in: formData
|
|
description: the value value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: customField
|
|
in: path
|
|
description: the customField value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/exportExcel:
|
|
get:
|
|
operationId: exportExcelCard
|
|
summary: Export a single card to Excel (.xlsx), formatted for DIN A4 Portrait printing.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
"authToken": '/api/boards/:boardId/lists/:listId/cards/:cardId/exportExcel?authToken=:token'
|
|
|
|
Optional query param "fields" is a comma-separated list of sections to include.
|
|
Valid values: people, board-info, dates, description, checklists, subtasks, comments
|
|
Omitting "fields" includes all sections.
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: |
|
|
the ID of the list
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: |
|
|
the ID of the card to export
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/exportPDF:
|
|
get:
|
|
operationId: exportExcel
|
|
summary: This route is used to export the board Excel.
|
|
description: |
|
|
If user is already logged-in, pass loginToken as param
|
|
"authToken": '/api/boards/:boardId/exportExcel?authToken=:token'
|
|
|
|
See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
|
|
for detailed explanations
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the ID of the board we are exporting
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/members/{member}:
|
|
post:
|
|
operationId: post_board_list_card_member
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: member
|
|
in: path
|
|
description: the member value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_list_card_member
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
- name: member
|
|
in: path
|
|
description: the member value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/{card}/unarchive:
|
|
post:
|
|
operationId: post_board_list_card_unarchive
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards/bulk:
|
|
post:
|
|
operationId: post_board_list_cards_bulk
|
|
tags:
|
|
- Cards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: cards
|
|
in: formData
|
|
description: the cards value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/cards_count:
|
|
get:
|
|
operationId: get_board_list_cards_count
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/copy:
|
|
post:
|
|
operationId: post_board_list_copy
|
|
tags:
|
|
- Lists
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: toBoardId
|
|
in: formData
|
|
description: the toBoardId value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/lists/{list}/move:
|
|
post:
|
|
operationId: post_board_list_move
|
|
tags:
|
|
- Lists
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: toBoardId
|
|
in: formData
|
|
description: the toBoardId value
|
|
type: string
|
|
required: true
|
|
- name: toSwimlaneId
|
|
in: formData
|
|
description: the toSwimlaneId value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: list
|
|
in: path
|
|
description: the list value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/members/{member}:
|
|
post:
|
|
operationId: post_board_member
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: role
|
|
in: formData
|
|
description: the role value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: member
|
|
in: path
|
|
description: the member value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/members/{user}/add:
|
|
post:
|
|
operationId: post_board_user_add
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: action
|
|
in: formData
|
|
description: the action value
|
|
type: string
|
|
required: true
|
|
- name: role
|
|
in: formData
|
|
description: the role value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/members/{user}/remove:
|
|
post:
|
|
operationId: post_board_user_remove
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: action
|
|
in: formData
|
|
description: the action value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/rules:
|
|
get:
|
|
operationId: get_board_rules
|
|
summary: Get the list of automation rules of a board
|
|
tags:
|
|
- Rules
|
|
- Rules
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
title:
|
|
type: string
|
|
trigger:
|
|
type: object
|
|
action:
|
|
type: object
|
|
post:
|
|
operationId: new_board_rule
|
|
summary: Add an automation rule to a board
|
|
description: |
|
|
The trigger and action are embedded inline. See the Rules
|
|
documentation for the available trigger activityTypes and action actionTypes.
|
|
Trigger matching fields that are omitted (e.g. userId, listName,
|
|
swimlaneName, cardTitle) default to the '*' wildcard, so e.g. issue #2674's
|
|
"remove a member when a card is moved away from a list" only needs
|
|
trigger {activityType: 'moveCard', oldListName: '...'} and
|
|
action {actionType: 'removeMember', username: '...'}.
|
|
tags:
|
|
- Rules
|
|
- Rules
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: title
|
|
in: formData
|
|
description: |
|
|
the rule title
|
|
type: string
|
|
required: true
|
|
- name: trigger
|
|
in: formData
|
|
description: |
|
|
the trigger document (must include activityType)
|
|
type: object
|
|
required: true
|
|
- name: action
|
|
in: formData
|
|
description: |
|
|
the action document (must include actionType)
|
|
type: object
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
triggerId:
|
|
type: string
|
|
actionId:
|
|
type: string
|
|
/api/boards/{board}/rules/{rule}:
|
|
get:
|
|
operationId: get_board_rule
|
|
summary: Get a single automation rule
|
|
tags:
|
|
- Rules
|
|
- Rules
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: rule
|
|
in: path
|
|
description: |
|
|
the rule ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
title:
|
|
type: string
|
|
trigger:
|
|
type: object
|
|
action:
|
|
type: object
|
|
put:
|
|
operationId: edit_board_rule
|
|
summary: Edit an automation rule
|
|
description: |
|
|
Any of title, trigger and action may be supplied; the trigger
|
|
and action documents are replaced ($set) when present. A supplied trigger
|
|
that includes an activityType gets its missing matching fields defaulted
|
|
to the '*' wildcard, like on creation.
|
|
tags:
|
|
- Rules
|
|
- Rules
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: title
|
|
in: formData
|
|
description: |
|
|
the new rule title
|
|
type: string
|
|
required: false
|
|
- name: trigger
|
|
in: formData
|
|
description: |
|
|
the new trigger document
|
|
type: object
|
|
required: false
|
|
- name: action
|
|
in: formData
|
|
description: |
|
|
the new action document
|
|
type: object
|
|
required: false
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: rule
|
|
in: path
|
|
description: |
|
|
the rule ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
delete:
|
|
operationId: delete_board_rule
|
|
summary: Remove an automation rule (and its trigger and action)
|
|
tags:
|
|
- Rules
|
|
- Rules
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
required: true
|
|
- name: rule
|
|
in: path
|
|
description: |
|
|
the rule ID
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
/api/boards/{board}/swimlanes:
|
|
get:
|
|
operationId: get_board_swimlanes
|
|
tags:
|
|
- Swimlanes
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_board_swimlanes
|
|
tags:
|
|
- Swimlanes
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/swimlanes/{swimlane}:
|
|
get:
|
|
operationId: get_board_swimlane
|
|
tags:
|
|
- Swimlanes
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_board_swimlane
|
|
tags:
|
|
- Swimlanes
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_board_swimlane
|
|
tags:
|
|
- Swimlanes
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/swimlanes/{swimlane}/cards:
|
|
get:
|
|
operationId: get_board_swimlane_cards
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/swimlanes/{swimlane}/copy:
|
|
post:
|
|
operationId: post_board_swimlane_copy
|
|
tags:
|
|
- Swimlanes
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: toBoardId
|
|
in: formData
|
|
description: the toBoardId value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/swimlanes/{swimlane}/move:
|
|
post:
|
|
operationId: post_board_swimlane_move
|
|
tags:
|
|
- Swimlanes
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: toBoardId
|
|
in: formData
|
|
description: the toBoardId value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
- name: swimlane
|
|
in: path
|
|
description: the swimlane value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/{board}/title:
|
|
put:
|
|
operationId: put_board_title
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: title
|
|
in: formData
|
|
description: the title value
|
|
type: string
|
|
required: true
|
|
- name: board
|
|
in: path
|
|
description: the board value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/boards/import:
|
|
post:
|
|
operationId: import_board
|
|
summary: Import a whole board (with its lists, cards, swimlanes, custom fields and automation rules) from a WeKan board export
|
|
description: |
|
|
Accepts a WeKan board export JSON (the body returned by
|
|
`GET /api/boards/:boardId/export`) and recreates the board — including its
|
|
**rules / triggers / actions (workflows)** and other data — in the
|
|
authenticated user's account. Combined with the export endpoint, this allows
|
|
migrating all boards (and their workflows) from another WeKan instance over the
|
|
REST API: list the remote boards, export each, then POST each here. An optional
|
|
`membersMapping` ({ sourceUserId: localUserId }) maps members; unmapped members
|
|
are simply not added.
|
|
tags:
|
|
- Boards
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: board
|
|
in: formData
|
|
description: |
|
|
the WeKan board export object
|
|
type: object
|
|
required: true
|
|
- name: membersMapping
|
|
in: formData
|
|
description: |
|
|
map of source user id -> local user id
|
|
type: object
|
|
required: false
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
/api/boards/import/{source}:
|
|
post:
|
|
operationId: import_board_from
|
|
summary: Import a board from another tool's export
|
|
description: |
|
|
Generalized import: `:source` is one of `trello`, `wekan`, `csv`,
|
|
`jira`, `kanboard`, `excel`, `deck` (NextCloud Deck), `openproject`, `github`,
|
|
`gitlab`, `gitea`, `forgejo`, `asana`, `zenkit`. The request body is that
|
|
tool's export JSON (sent directly, or wrapped as `{ "board": <export> }`);
|
|
an optional `membersMapping` maps members. Reuses the same import engine as
|
|
the UI.
|
|
tags:
|
|
- Boards
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: source
|
|
in: path
|
|
description: |
|
|
the import source
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
/api/boards_count:
|
|
get:
|
|
operationId: get_boards_count
|
|
tags:
|
|
- Boards
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/cards/{card}:
|
|
get:
|
|
operationId: get_card
|
|
tags:
|
|
- Cards
|
|
parameters:
|
|
- name: card
|
|
in: path
|
|
description: the card value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/createtoken/{user}:
|
|
post:
|
|
operationId: post_user
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/deletetoken:
|
|
post:
|
|
operationId: post_deletetoken
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: userId
|
|
in: formData
|
|
description: the userId value
|
|
type: string
|
|
required: true
|
|
- name: token
|
|
in: formData
|
|
description: the token value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/settings:
|
|
get:
|
|
operationId: get_global_settings
|
|
summary: Get the global Admin Panel settings
|
|
description: |
|
|
Only the global admin can call this. SMTP/mail-server
|
|
credentials are never returned.
|
|
tags:
|
|
- Settings
|
|
- Settings
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
$ref: "#/definitions/Settings"
|
|
put:
|
|
operationId: update_global_settings
|
|
summary: Update the global Admin Panel settings
|
|
description: |
|
|
Only the global admin can call this. The request body is an
|
|
object whose keys are settings fields to update (see get_global_settings for
|
|
the list). Unknown keys and `mailServer` are ignored.
|
|
tags:
|
|
- Settings
|
|
- Settings
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
$ref: "#/definitions/Settings"
|
|
/api/user:
|
|
get:
|
|
operationId: get_user
|
|
tags:
|
|
- Users
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/user/cards:
|
|
get:
|
|
operationId: get_user_cards
|
|
tags:
|
|
- Cards
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/users:
|
|
get:
|
|
operationId: get_users
|
|
tags:
|
|
- Users
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
post:
|
|
operationId: post_users
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: username
|
|
in: formData
|
|
description: the username value
|
|
type: string
|
|
required: true
|
|
- name: email
|
|
in: formData
|
|
description: the email value
|
|
type: string
|
|
required: true
|
|
- name: password
|
|
in: formData
|
|
description: the password value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/users/{user}:
|
|
get:
|
|
operationId: get_user
|
|
tags:
|
|
- Users
|
|
parameters:
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
put:
|
|
operationId: put_user
|
|
tags:
|
|
- Users
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
- name: action
|
|
in: formData
|
|
description: the action value
|
|
type: string
|
|
required: true
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
delete:
|
|
operationId: delete_user
|
|
tags:
|
|
- Users
|
|
parameters:
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
/api/users/{user}/boards:
|
|
get:
|
|
operationId: get_user_boards
|
|
tags:
|
|
- Boards
|
|
parameters:
|
|
- name: user
|
|
in: path
|
|
description: the user value
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
# Attachment / file API (server/routes/attachmentApi.js)
|
|
#
|
|
# These endpoints are registered with `WebApp.handlers.use('/api/attachment/...')`
|
|
# rather than the `WebApp.handlers.get/post/put/delete(...)` form, so they are
|
|
# not auto-discovered by openapi/generate_openapi.py and are documented here by
|
|
# hand. Keep this file in sync with server/routes/attachmentApi.js.
|
|
#
|
|
# Authentication: send the login token in the `Authorization: Bearer <token>`
|
|
# header (same UserSecurity scheme as the rest of the API). The legacy
|
|
# `X-User-Id` + `X-Auth-Token` header pair is also accepted.
|
|
#
|
|
# Permissions: read operations (download, list, info) require active membership
|
|
# of the board. Write operations (upload, copy, move, delete) require write
|
|
# access to the board — active members who are read-only, comment-only,
|
|
# no-comments, worker or assigned-only are rejected; global site admins are
|
|
# always allowed. Upload/copy additionally require the board to allow
|
|
# attachments, and honour the admin API transfer limits (apiUpload*/apiDownload*).
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
/api/attachment/upload:
|
|
post:
|
|
operationId: upload_attachment
|
|
summary: Upload a file as a card attachment
|
|
description: |
|
|
Upload a file to a card. The file content is sent base64-encoded in the
|
|
JSON body. The maximum size is bounded by the admin Attachment Storage
|
|
Settings (`apiUploadMaxBytes`) and a hard server safety cap (64 MB).
|
|
|
|
Permissions: requires a valid auth token, write access to the target
|
|
board (read-only / comment-only / worker members are rejected), and the
|
|
board must allow attachments.
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
required:
|
|
- boardId
|
|
- swimlaneId
|
|
- listId
|
|
- cardId
|
|
- fileData
|
|
- fileName
|
|
properties:
|
|
boardId:
|
|
type: string
|
|
description: ID of the board the card belongs to
|
|
swimlaneId:
|
|
type: string
|
|
description: ID of the card's swimlane (must match the card)
|
|
listId:
|
|
type: string
|
|
description: ID of the card's list (must match the card)
|
|
cardId:
|
|
type: string
|
|
description: ID of the card to attach the file to
|
|
fileName:
|
|
type: string
|
|
description: Name to store the file under
|
|
fileType:
|
|
type: string
|
|
description: MIME type of the file (optional)
|
|
fileData:
|
|
type: string
|
|
description: Base64-encoded file contents
|
|
responses:
|
|
'200':
|
|
description: Attachment uploaded successfully
|
|
'400':
|
|
description: Missing/invalid parameters or card/board/list/swimlane mismatch
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Uploads disabled, not a board member, or attachments not allowed on this board
|
|
'404':
|
|
description: Card or board not found
|
|
'413':
|
|
description: Attachment exceeds the API upload limit
|
|
/api/attachment/upload-background:
|
|
post:
|
|
operationId: upload_board_background
|
|
summary: Upload a board background image
|
|
description: |
|
|
Upload an image and set it as the board's active background. The file
|
|
content is sent base64-encoded in the JSON body and stored using the
|
|
current Admin Panel / Attachments / Default Storage backend (the same
|
|
storage used by card attachment uploads). Board-admin is required.
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
required:
|
|
- boardId
|
|
- fileData
|
|
- fileName
|
|
properties:
|
|
boardId:
|
|
type: string
|
|
description: ID of the board
|
|
fileName:
|
|
type: string
|
|
description: Name to store the image under
|
|
fileType:
|
|
type: string
|
|
description: MIME type of the image (optional, defaults to image/png)
|
|
fileData:
|
|
type: string
|
|
description: Base64-encoded image contents
|
|
responses:
|
|
'200':
|
|
description: Background uploaded and set as the board background
|
|
'400':
|
|
description: Missing or invalid parameters
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Uploads disabled or caller is not a board admin
|
|
'404':
|
|
description: Board not found
|
|
'413':
|
|
description: Background exceeds the API upload limit
|
|
/api/attachment/download-background/{boardId}:
|
|
get:
|
|
operationId: download_board_background
|
|
summary: Download the board's current background image as base64
|
|
description: |
|
|
Returns the board's active background image metadata together with the
|
|
image bytes base64-encoded in `base64Data`. Requires board membership.
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: ID of the board
|
|
responses:
|
|
'200':
|
|
description: Background image returned
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Downloads disabled or caller is not a board member
|
|
'404':
|
|
description: Board has no background, or board not found
|
|
'413':
|
|
description: Background exceeds the API download limit
|
|
/api/attachment/download/{attachmentId}:
|
|
get:
|
|
operationId: download_attachment
|
|
summary: Download an attachment as base64
|
|
description: |
|
|
Returns the attachment metadata together with the file contents
|
|
base64-encoded in `base64Data`. The maximum size is bounded by the admin
|
|
Attachment Storage Settings (`apiDownloadMaxBytes`).
|
|
|
|
Permissions: requires active membership of the attachment's board.
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: attachmentId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: ID of the attachment to download
|
|
responses:
|
|
'200':
|
|
description: Attachment contents returned (base64Data)
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Downloads disabled, or not a member of the attachment's board
|
|
'404':
|
|
description: Attachment or stored file not found
|
|
'413':
|
|
description: Attachment exceeds the API download limit
|
|
/api/attachment/info/{attachmentId}:
|
|
get:
|
|
operationId: get_attachment_info
|
|
summary: Get attachment metadata
|
|
description: |
|
|
Returns attachment metadata (name, size, type, storage backend, board /
|
|
swimlane / list / card IDs and available versions) without the file
|
|
contents.
|
|
|
|
Permissions: requires active membership of the attachment's board.
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: attachmentId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: ID of the attachment
|
|
responses:
|
|
'200':
|
|
description: Attachment metadata returned
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the attachment's board
|
|
'404':
|
|
description: Attachment not found
|
|
/api/attachment/list/{boardId}:
|
|
get:
|
|
operationId: list_board_attachments
|
|
summary: List all attachments of a board
|
|
description: |
|
|
List every attachment on a board. Use the swimlane / list / card
|
|
variants of this path to narrow the result.
|
|
|
|
Permissions: requires active membership of the board.
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: ID of the board
|
|
responses:
|
|
'200':
|
|
description: List of attachments with metadata
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the board
|
|
/api/attachment/list/{boardId}/{swimlaneId}:
|
|
get:
|
|
operationId: list_swimlane_attachments
|
|
summary: List attachments of a board filtered by swimlane
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: swimlaneId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: List of attachments with metadata
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the board
|
|
/api/attachment/list/{boardId}/{swimlaneId}/{listId}:
|
|
get:
|
|
operationId: list_list_attachments
|
|
summary: List attachments of a board filtered by swimlane and list
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: swimlaneId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: listId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: List of attachments with metadata
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the board
|
|
/api/attachment/list/{boardId}/{swimlaneId}/{listId}/{cardId}:
|
|
get:
|
|
operationId: list_card_attachments
|
|
summary: List attachments of a single card
|
|
description: |
|
|
List attachments filtered down to one card. The card must belong to the
|
|
given board.
|
|
|
|
Permissions: requires active membership of the board.
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: swimlaneId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: listId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: cardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: List of attachments with metadata
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the board
|
|
'404':
|
|
description: Card not found or does not belong to the board
|
|
/api/attachment/copy:
|
|
post:
|
|
operationId: copy_attachment
|
|
summary: Copy an attachment to another card
|
|
description: |
|
|
Copy an existing attachment to a target card, creating a new attachment.
|
|
|
|
Permissions: requires membership of the source board (to read it) and
|
|
write access to the target board, which must allow attachments. Honours
|
|
the admin API upload limits.
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
required:
|
|
- attachmentId
|
|
- targetBoardId
|
|
- targetSwimlaneId
|
|
- targetListId
|
|
- targetCardId
|
|
properties:
|
|
attachmentId:
|
|
type: string
|
|
description: ID of the source attachment
|
|
targetBoardId:
|
|
type: string
|
|
targetSwimlaneId:
|
|
type: string
|
|
targetListId:
|
|
type: string
|
|
targetCardId:
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: Attachment copied (newAttachmentId returned)
|
|
'400':
|
|
description: Target card/board/list/swimlane mismatch
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of source or target board, or attachments not allowed
|
|
'404':
|
|
description: Source attachment, target card, or stored file not found
|
|
/api/attachment/move:
|
|
post:
|
|
operationId: move_attachment
|
|
summary: Move an attachment to another card
|
|
description: |
|
|
Move an existing attachment to a target card by updating its metadata.
|
|
|
|
Permissions: requires write access to both the source board (the
|
|
attachment is removed from it) and the target board, which must allow
|
|
attachments.
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
required:
|
|
- attachmentId
|
|
- targetBoardId
|
|
- targetSwimlaneId
|
|
- targetListId
|
|
- targetCardId
|
|
properties:
|
|
attachmentId:
|
|
type: string
|
|
description: ID of the attachment to move
|
|
targetBoardId:
|
|
type: string
|
|
targetSwimlaneId:
|
|
type: string
|
|
targetListId:
|
|
type: string
|
|
targetCardId:
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: Attachment moved
|
|
'400':
|
|
description: Target card/board/list/swimlane mismatch
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of source or target board, or attachments not allowed
|
|
'404':
|
|
description: Source attachment or target card not found
|
|
/api/attachment/delete/{attachmentId}:
|
|
delete:
|
|
operationId: delete_attachment
|
|
summary: Delete an attachment
|
|
description: |
|
|
Delete an attachment.
|
|
|
|
Permissions: requires write access to the attachment's board (read-only /
|
|
comment-only / worker members are rejected).
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Attachments
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: attachmentId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: ID of the attachment to delete
|
|
responses:
|
|
'200':
|
|
description: Attachment deleted
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'403':
|
|
description: Not a member of the attachment's board
|
|
'404':
|
|
description: Attachment not found
|
|
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
# Board card settings (server/models/boards.js)
|
|
#
|
|
# Registered with WebApp.handlers.get/put but the body fields are read in a
|
|
# loop, so they are documented here by hand. Boolean keys are the board card
|
|
# display toggles (allows*). Numeric keys configure card aging (#3984):
|
|
# cardAging (bool) plus cardAgingDays1/2/3 (fade-tier day thresholds).
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
/api/boards/{boardId}/cardSettings:
|
|
get:
|
|
operationId: get_board_card_settings
|
|
summary: Get a board's card settings (display toggles + card aging)
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Boards
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: Card settings returned
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'404':
|
|
description: Board not found
|
|
put:
|
|
operationId: edit_board_card_settings
|
|
summary: Update a board's card settings (display toggles + card aging)
|
|
description: |
|
|
Boolean keys (the allows* display toggles and `cardAging`) accept true/false.
|
|
Numeric keys `cardAgingDays1`, `cardAgingDays2`, `cardAgingDays3` set the
|
|
three card-aging fade-tier day thresholds (default 7 / 14 / 28).
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Boards
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
properties:
|
|
cardAging:
|
|
type: boolean
|
|
description: Enable visual card aging on the board
|
|
cardAgingDays1:
|
|
type: integer
|
|
description: Idle days for the first (lightest) fade tier
|
|
cardAgingDays2:
|
|
type: integer
|
|
description: Idle days for the second fade tier
|
|
cardAgingDays3:
|
|
type: integer
|
|
description: Idle days for the third (heaviest) fade tier
|
|
responses:
|
|
'200':
|
|
description: Updated card settings returned
|
|
'400':
|
|
description: No recognized card settings in body
|
|
'401':
|
|
description: Missing or invalid authentication
|
|
'404':
|
|
description: Board not found
|
|
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
# iCalendar (.ics) import (server/methods/icsImport.js)
|
|
#
|
|
# Registered with `WebApp.handlers.post(...)` in server/methods/ which is not
|
|
# one of the directories scanned by openapi/generate_openapi.py, so it is
|
|
# documented here by hand. Keep in sync with server/methods/icsImport.js.
|
|
# See WeKan issue #6323. Import-only; two-way calendar sync is not provided.
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
/api/boards/{boardId}/swimlanes/{swimlaneId}/lists/{listId}/ics:
|
|
post:
|
|
operationId: import_ics
|
|
summary: Import an iCalendar (.ics) file into a board as cards
|
|
description: |
|
|
Parses the supplied iCalendar text and creates one card per VEVENT on the
|
|
given board / list / swimlane, populating each card's `startAt` (DTSTART)
|
|
and `dueAt` (DTEND, or DTSTART when there is no DTEND) so the imported
|
|
events appear on the Calendar and Gantt views.
|
|
|
|
Permissions: requires a valid auth token and write access to the board
|
|
(read-only / comment-only / worker members are rejected; site admins are
|
|
allowed).
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
tags:
|
|
- Cards
|
|
security:
|
|
- UserSecurity: []
|
|
parameters:
|
|
- name: boardId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: the board ID
|
|
- name: swimlaneId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: the swimlane ID the cards are created in
|
|
- name: listId
|
|
in: path
|
|
required: true
|
|
type: string
|
|
description: the list ID the cards are created in
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
required:
|
|
- ics
|
|
properties:
|
|
ics:
|
|
type: string
|
|
description: the raw .ics (iCalendar) file contents
|
|
responses:
|
|
'200':
|
|
description: |
|
|
Import succeeded. Returns the number of cards created and their ids,
|
|
e.g. `{ "created": 3, "cardIds": ["abc", "def", "ghi"] }`.
|
|
'400':
|
|
description: Missing or empty `ics` body field
|
|
'401':
|
|
description: Missing or invalid authentication, or no write access to the board
|
|
'404':
|
|
description: Board, list or swimlane not found
|
|
definitions:
|
|
AttachmentStorageSettings:
|
|
type: object
|
|
properties:
|
|
defaultStorage:
|
|
type: string
|
|
enum:
|
|
- fs
|
|
- gridfs
|
|
- s3
|
|
- azure
|
|
- gcs
|
|
storageConfig:
|
|
$ref: "#/definitions/AttachmentStorageSettingsStorageconfig"
|
|
x-nullable: true
|
|
uploadSettings:
|
|
$ref: "#/definitions/AttachmentStorageSettingsUploadsettings"
|
|
x-nullable: true
|
|
limitSettings:
|
|
$ref: "#/definitions/AttachmentStorageSettingsLimitsettings"
|
|
x-nullable: true
|
|
migrationSettings:
|
|
$ref: "#/definitions/AttachmentStorageSettingsMigrationsettings"
|
|
x-nullable: true
|
|
createdAt:
|
|
type: string
|
|
updatedAt:
|
|
type: string
|
|
createdBy:
|
|
type: string
|
|
x-nullable: true
|
|
updatedBy:
|
|
type: string
|
|
x-nullable: true
|
|
required:
|
|
- defaultStorage
|
|
- createdAt
|
|
- updatedAt
|
|
AttachmentStorageSettingsLimitsettings:
|
|
type: object
|
|
properties:
|
|
attachmentsUploadMaxBytes:
|
|
type: number
|
|
attachmentsUploadBlocked:
|
|
type: boolean
|
|
avatarsUploadBlocked:
|
|
type: boolean
|
|
attachmentsDownloadMaxBytes:
|
|
type: number
|
|
attachmentsDownloadBlocked:
|
|
type: boolean
|
|
apiUploadMaxBytes:
|
|
type: number
|
|
apiUploadBlocked:
|
|
type: boolean
|
|
apiDownloadMaxBytes:
|
|
type: number
|
|
apiDownloadBlocked:
|
|
type: boolean
|
|
AttachmentStorageSettingsMigrationsettings:
|
|
type: object
|
|
properties:
|
|
autoMigrate:
|
|
type: boolean
|
|
batchSize:
|
|
type: number
|
|
delayMs:
|
|
type: number
|
|
cpuThreshold:
|
|
type: number
|
|
required:
|
|
- autoMigrate
|
|
- batchSize
|
|
- delayMs
|
|
- cpuThreshold
|
|
AttachmentStorageSettingsStorageconfig:
|
|
type: object
|
|
properties:
|
|
filesystem:
|
|
$ref: "#/definitions/AttachmentStorageSettingsStorageconfigFilesystem"
|
|
gridfs:
|
|
$ref: "#/definitions/AttachmentStorageSettingsStorageconfigGridfs"
|
|
s3:
|
|
type: object
|
|
azure:
|
|
type: object
|
|
gcs:
|
|
type: object
|
|
AttachmentStorageSettingsStorageconfigFilesystem:
|
|
type: object
|
|
properties:
|
|
enabled:
|
|
type: boolean
|
|
read:
|
|
type: boolean
|
|
write:
|
|
type: boolean
|
|
path:
|
|
type: string
|
|
required:
|
|
- enabled
|
|
- read
|
|
- write
|
|
AttachmentStorageSettingsStorageconfigGridfs:
|
|
type: object
|
|
properties:
|
|
enabled:
|
|
type: boolean
|
|
read:
|
|
type: boolean
|
|
write:
|
|
type: boolean
|
|
required:
|
|
- enabled
|
|
- read
|
|
- write
|
|
AttachmentStorageSettingsUploadsettings:
|
|
type: object
|
|
properties:
|
|
maxFileSize:
|
|
type: number
|
|
allowedMimeTypes:
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
AttachmentStorageSettingsUploadsettingsAllowedmimetypes:
|
|
type: object
|
|
Boards:
|
|
type: object
|
|
description: This is a Board.
|
|
properties:
|
|
title:
|
|
description: |
|
|
The title of the board
|
|
type: string
|
|
slug:
|
|
description: |
|
|
The title slugified.
|
|
type: string
|
|
archived:
|
|
description: |
|
|
Is the board archived?
|
|
type: boolean
|
|
archivedAt:
|
|
description: |
|
|
Latest archiving time of the board
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
Creation time of the board
|
|
type: string
|
|
modifiedAt:
|
|
description: |
|
|
Last modification time of the board
|
|
type: string
|
|
x-nullable: true
|
|
stars:
|
|
description: |
|
|
How many stars the board has
|
|
type: number
|
|
labels:
|
|
description: |
|
|
List of labels attached to a board
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/BoardsLabels"
|
|
x-nullable: true
|
|
members:
|
|
description: |
|
|
List of members of a board
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/BoardsMembers"
|
|
permission:
|
|
description: |
|
|
visibility of the board
|
|
type: string
|
|
enum:
|
|
- public
|
|
- private
|
|
orgs:
|
|
description: |
|
|
the list of organizations that a board belongs to
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/BoardsOrgs"
|
|
x-nullable: true
|
|
teams:
|
|
description: |
|
|
the list of teams that a board belongs to
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/BoardsTeams"
|
|
x-nullable: true
|
|
domains:
|
|
description: |
|
|
#5850: the list of email-address domains a board is shared with. Every
|
|
user whose primary email is in one of these domains gets board access.
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/BoardsDomains"
|
|
x-nullable: true
|
|
importUsernames:
|
|
description: |
|
|
Usernames of imported (e.g. Trello) board members that were not mapped
|
|
to an existing WeKan user during import. Kept so an admin can map them
|
|
to real users later (People panel -> user -> Imported Usernames), after
|
|
which future imports of this board auto-map.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
color:
|
|
description: |
|
|
The color of the board.
|
|
type: string
|
|
enum:
|
|
customThemeColors:
|
|
description: |
|
|
Optional custom colors for the "flat" (1 color) and "clear" (2 colors,
|
|
a color slide) theme categories — see docs/Theme/Theme.md. Each entry is a
|
|
#rrggbb hex validated on the server; dark/special themes never store these.
|
|
Absent = the named `color` theme's stock colors.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
backgroundImageURL:
|
|
description: |
|
|
The background image URL of the board.
|
|
type: string
|
|
x-nullable: true
|
|
backgroundImageId:
|
|
description: |
|
|
The id of the active board background attachment (a board-level
|
|
Attachment with meta.source === 'board-background'), when the active
|
|
background is an uploaded/imported image rather than an external URL.
|
|
type: string
|
|
x-nullable: true
|
|
allowsCardCounterList:
|
|
description: |
|
|
Show card counter per list
|
|
type: boolean
|
|
cardAging:
|
|
description: |
|
|
#3984: Visually fade cards that have not been touched for a while
|
|
(Trello-style "card aging"), based on the card's dateLastActivity.
|
|
type: boolean
|
|
showDependencies:
|
|
description: |
|
|
#3392: PI Program Board "Red Strings". When true, draw colored
|
|
connection lines between cards that have cardDependencies, SAFe
|
|
PI-planning program board style.
|
|
type: boolean
|
|
cardAgingDays1:
|
|
type: number
|
|
cardAgingDays2:
|
|
type: number
|
|
cardAgingDays3:
|
|
type: number
|
|
allowsBoardMemberList:
|
|
description: |
|
|
Show board member list
|
|
type: boolean
|
|
description:
|
|
description: |
|
|
The description of the board
|
|
type: string
|
|
x-nullable: true
|
|
subtasksDefaultBoardId:
|
|
description: |
|
|
The default board ID assigned to subtasks.
|
|
type: string
|
|
x-nullable: true
|
|
migrationVersion:
|
|
description: |
|
|
The migration version of the board structure.
|
|
New boards are created with the latest version and don't need migration.
|
|
type: number
|
|
subtasksDefaultListId:
|
|
description: |
|
|
The default List ID assigned to subtasks.
|
|
type: string
|
|
x-nullable: true
|
|
dateSettingsDefaultBoardId:
|
|
type: string
|
|
x-nullable: true
|
|
dateSettingsDefaultListId:
|
|
type: string
|
|
x-nullable: true
|
|
allowsSubtasks:
|
|
description: |
|
|
Does the board allows subtasks?
|
|
type: boolean
|
|
allowsSubtasksOnMinicard:
|
|
description: |
|
|
Does the board allows subtasks on minicard?
|
|
type: boolean
|
|
allowsAttachments:
|
|
description: |
|
|
Does the board allows attachments?
|
|
type: boolean
|
|
allowsAttachmentsOnMinicard:
|
|
description: |
|
|
Does the board allows attachments on minicard?
|
|
type: boolean
|
|
allowsChecklists:
|
|
description: |
|
|
Does the board allows checklists?
|
|
type: boolean
|
|
allowsChecklistsOnMinicard:
|
|
description: |
|
|
Does the board allows checklists on minicard?
|
|
type: boolean
|
|
allowsChecklistCountBadgeOnMinicard:
|
|
description: |
|
|
Does the board show the compact checklist item-count badge
|
|
(finished/total, e.g. "0/156") on minicards? Issue #6431: opt-in and
|
|
OFF by default so the (potentially expensive) checklist counting only
|
|
runs when this is enabled in Card Settings > Show on Minicard.
|
|
type: boolean
|
|
allowsComments:
|
|
description: |
|
|
Does the board allows comments?
|
|
type: boolean
|
|
allowsDescriptionTitle:
|
|
description: |
|
|
Does the board allows description title?
|
|
type: boolean
|
|
allowsDescriptionTitleOnMinicard:
|
|
description: |
|
|
Does the board allows description title on minicard?
|
|
type: boolean
|
|
allowsDescriptionText:
|
|
description: |
|
|
Does the board allows description text?
|
|
type: boolean
|
|
allowsDescriptionTextOnMinicard:
|
|
description: |
|
|
Does the board allows description text on minicard?
|
|
type: boolean
|
|
allowsCoverAttachmentOnMinicard:
|
|
description: |
|
|
Does the board allows cover attachment on minicard?
|
|
type: boolean
|
|
allowsCoverAttachmentOnCard:
|
|
description: |
|
|
Does the board show the cover image on the opened card? Opt-in, OFF by
|
|
default (new Card Settings option).
|
|
type: boolean
|
|
allowsBadgeAttachmentOnMinicard:
|
|
description: |
|
|
Does the board allows badge attachment on minicard?
|
|
type: boolean
|
|
allowsAttachmentCountOnCard:
|
|
description: |
|
|
Does the board show the attachment count on the opened card? Opt-in,
|
|
OFF by default (new Card Settings option).
|
|
type: boolean
|
|
allowsChecklistCountBadgeOnCard:
|
|
description: |
|
|
Does the board show the checklist item-count total (finished/total)
|
|
above all checklists on the opened card? Opt-in, OFF by default so the
|
|
checklist counting only runs when enabled (new Card Settings option).
|
|
type: boolean
|
|
allowsCardSortingByNumberOnMinicard:
|
|
description: |
|
|
Does the board allows card sorting by number on minicard?
|
|
type: boolean
|
|
allowsCardNumber:
|
|
description: |
|
|
Does the board allows card numbers?
|
|
type: boolean
|
|
allowsCardNumberOnMinicard:
|
|
description: |
|
|
Does the board allows card numbers on minicard?
|
|
type: boolean
|
|
allowsActivities:
|
|
description: |
|
|
Does the board allows comments?
|
|
type: boolean
|
|
allowsLabels:
|
|
description: |
|
|
Does the board allows labels?
|
|
type: boolean
|
|
allowsLabelsOnMinicard:
|
|
description: |
|
|
Does the board allows labels on minicard?
|
|
type: boolean
|
|
allowsCreator:
|
|
description: |
|
|
Does the board allow creator?
|
|
type: boolean
|
|
allowsCreatorOnMinicard:
|
|
description: |
|
|
Does the board allow creator?
|
|
type: boolean
|
|
allowsAssignee:
|
|
description: |
|
|
Does the board allows assignee?
|
|
type: boolean
|
|
allowsAssigneeOnMinicard:
|
|
description: |
|
|
Does the board allows assignee on minicard?
|
|
type: boolean
|
|
allowsMembers:
|
|
description: |
|
|
Does the board allows members?
|
|
type: boolean
|
|
allowsMembersOnMinicard:
|
|
description: |
|
|
Does the board allows members on minicard?
|
|
type: boolean
|
|
allowsRequestedBy:
|
|
description: |
|
|
Does the board allows requested by?
|
|
type: boolean
|
|
allowsRequestedByOnMinicard:
|
|
description: |
|
|
Does the board allows requested by on minicard?
|
|
type: boolean
|
|
allowsCardSortingByNumber:
|
|
description: |
|
|
Does the board allows card sorting by number?
|
|
type: boolean
|
|
allowsShowLists:
|
|
description: |
|
|
Does the board allows show lists on the card?
|
|
type: boolean
|
|
allowsAssignedBy:
|
|
description: |
|
|
Does the board allows requested by?
|
|
type: boolean
|
|
allowsAssignedByOnMinicard:
|
|
description: |
|
|
Does the board allows requested by on minicard?
|
|
type: boolean
|
|
allowsShowListsOnMinicard:
|
|
description: |
|
|
Does the board allow showing list names on all minicards?
|
|
type: boolean
|
|
allowsChecklistAtMinicard:
|
|
description: |
|
|
Does the board allow showing checklists on all minicards?
|
|
type: boolean
|
|
allowsReceivedDate:
|
|
description: |
|
|
Does the board allows received date?
|
|
type: boolean
|
|
restrictCommentEditing:
|
|
description: |
|
|
When true, board admins can NOT edit or delete comments authored by
|
|
other users (only the comment's author can). Default false keeps the
|
|
historical behaviour where board admins may moderate any comment.
|
|
type: boolean
|
|
allowsPersonalListWidth:
|
|
description: |
|
|
List-width scope for this board (#6409).
|
|
- false (default): list widths are SHARED — stored in `lists.width`,
|
|
the same layout for everyone; only members with write access may
|
|
change them.
|
|
- true: list widths are PERSONAL — each user keeps their own widths in
|
|
their profile (or localStorage when not logged in).
|
|
type: boolean
|
|
autoWidth:
|
|
description: |
|
|
Shared (per-board) auto-width for all lists (#6409). When true, lists
|
|
fit their content instead of using a fixed width. Used when the board
|
|
is in SHARED list-width mode (allowsPersonalListWidth = false); in
|
|
PERSONAL mode each user's own profile.autoWidthBoards value is used
|
|
instead.
|
|
type: boolean
|
|
x-nullable: true
|
|
allowsReceivedDateOnMinicard:
|
|
description: |
|
|
Does the board allows received date on minicard?
|
|
type: boolean
|
|
allowsStartDate:
|
|
description: |
|
|
Does the board allows start date?
|
|
type: boolean
|
|
allowsStartDateOnMinicard:
|
|
description: |
|
|
Does the board allows start date on minicard?
|
|
type: boolean
|
|
allowsEndDate:
|
|
description: |
|
|
Does the board allows end date?
|
|
type: boolean
|
|
allowsEndDateOnMinicard:
|
|
description: |
|
|
Does the board allows end date on minicard?
|
|
type: boolean
|
|
allowsDueDate:
|
|
description: |
|
|
Does the board allows due date?
|
|
type: boolean
|
|
allowsDueDateOnMinicard:
|
|
description: |
|
|
Does the board allows due date on minicard?
|
|
type: boolean
|
|
allowsDueComplete:
|
|
description: |
|
|
Does the board show the "Mark as complete" toggle on cards?
|
|
Issue #6381: opt-in, hidden by default.
|
|
type: boolean
|
|
allowsDueCompleteOnMinicard:
|
|
description: |
|
|
Does the board show the "Mark as complete" toggle on minicards?
|
|
Separate from the card-details toggle (allowsDueComplete): opt-in,
|
|
hidden by default so it is not shown on minicards unless enabled.
|
|
type: boolean
|
|
presentParentTask:
|
|
description: |
|
|
Controls how to present the parent task:
|
|
|
|
- `prefix-with-full-path`: add a prefix with the full path
|
|
- `prefix-with-parent`: add a prefisx with the parent name
|
|
- `subtext-with-full-path`: add a subtext with the full path
|
|
- `subtext-with-parent`: add a subtext with the parent name
|
|
- `no-parent`: does not show the parent at all
|
|
type: string
|
|
enum:
|
|
- prefix-with-full-path
|
|
- prefix-with-parent
|
|
- subtext-with-full-path
|
|
- subtext-with-parent
|
|
- no-parent
|
|
x-nullable: true
|
|
receivedAt:
|
|
description: |
|
|
Date the card was received
|
|
type: string
|
|
x-nullable: true
|
|
startAt:
|
|
description: |
|
|
Starting date of the board.
|
|
type: string
|
|
x-nullable: true
|
|
dueAt:
|
|
description: |
|
|
Due date of the board.
|
|
type: string
|
|
x-nullable: true
|
|
endAt:
|
|
description: |
|
|
End date of the board.
|
|
type: string
|
|
x-nullable: true
|
|
spentTime:
|
|
description: |
|
|
Time spent in the board.
|
|
type: number
|
|
x-nullable: true
|
|
isOvertime:
|
|
description: |
|
|
Is the board overtimed?
|
|
type: boolean
|
|
x-nullable: true
|
|
type:
|
|
description: |
|
|
The type of board
|
|
possible values: board, template-board, template-container
|
|
type: string
|
|
enum:
|
|
- board
|
|
- template-board
|
|
- template-container
|
|
sort:
|
|
description: |
|
|
Sort value
|
|
type: number
|
|
showActivities:
|
|
type: boolean
|
|
required:
|
|
- title
|
|
- slug
|
|
- archived
|
|
- createdAt
|
|
- stars
|
|
- members
|
|
- permission
|
|
- color
|
|
- allowsCardCounterList
|
|
- cardAging
|
|
- showDependencies
|
|
- cardAgingDays1
|
|
- cardAgingDays2
|
|
- cardAgingDays3
|
|
- allowsBoardMemberList
|
|
- migrationVersion
|
|
- allowsSubtasks
|
|
- allowsSubtasksOnMinicard
|
|
- allowsAttachments
|
|
- allowsAttachmentsOnMinicard
|
|
- allowsChecklists
|
|
- allowsChecklistsOnMinicard
|
|
- allowsChecklistCountBadgeOnMinicard
|
|
- allowsComments
|
|
- allowsDescriptionTitle
|
|
- allowsDescriptionTitleOnMinicard
|
|
- allowsDescriptionText
|
|
- allowsDescriptionTextOnMinicard
|
|
- allowsCoverAttachmentOnMinicard
|
|
- allowsCoverAttachmentOnCard
|
|
- allowsBadgeAttachmentOnMinicard
|
|
- allowsAttachmentCountOnCard
|
|
- allowsChecklistCountBadgeOnCard
|
|
- allowsCardSortingByNumberOnMinicard
|
|
- allowsCardNumber
|
|
- allowsCardNumberOnMinicard
|
|
- allowsActivities
|
|
- allowsLabels
|
|
- allowsLabelsOnMinicard
|
|
- allowsCreator
|
|
- allowsCreatorOnMinicard
|
|
- allowsAssignee
|
|
- allowsAssigneeOnMinicard
|
|
- allowsMembers
|
|
- allowsMembersOnMinicard
|
|
- allowsRequestedBy
|
|
- allowsRequestedByOnMinicard
|
|
- allowsCardSortingByNumber
|
|
- allowsShowLists
|
|
- allowsAssignedBy
|
|
- allowsAssignedByOnMinicard
|
|
- allowsShowListsOnMinicard
|
|
- allowsChecklistAtMinicard
|
|
- allowsReceivedDate
|
|
- restrictCommentEditing
|
|
- allowsPersonalListWidth
|
|
- allowsReceivedDateOnMinicard
|
|
- allowsStartDate
|
|
- allowsStartDateOnMinicard
|
|
- allowsEndDate
|
|
- allowsEndDateOnMinicard
|
|
- allowsDueDate
|
|
- allowsDueDateOnMinicard
|
|
- allowsDueComplete
|
|
- allowsDueCompleteOnMinicard
|
|
- type
|
|
- sort
|
|
- showActivities
|
|
BoardsLabels:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
description: |
|
|
Unique id of a label
|
|
type: string
|
|
name:
|
|
description: |
|
|
Name of a label
|
|
type: string
|
|
color:
|
|
description: |
|
|
color of a label.
|
|
|
|
Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
|
|
`blue`, `sky`, `lime`, `pink`, `black`,
|
|
`silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
|
|
`slateblue`, `magenta`, `gold`, `navy`, `gray`,
|
|
`saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
|
|
|
|
Since #5514 a label color may also be a custom '#rrggbb' hex chosen
|
|
from the color wheel, in addition to the named palette colors above.
|
|
type: string
|
|
required:
|
|
- _id
|
|
- color
|
|
BoardsMembers:
|
|
type: object
|
|
properties:
|
|
userId:
|
|
description: |
|
|
The uniq ID of the member
|
|
type: string
|
|
isAdmin:
|
|
description: |
|
|
Is the member an admin of the board?
|
|
type: boolean
|
|
isActive:
|
|
description: |
|
|
Is the member active?
|
|
type: boolean
|
|
isNoComments:
|
|
description: |
|
|
Is the member not allowed to make comments
|
|
type: boolean
|
|
isCommentOnly:
|
|
description: |
|
|
Is the member only allowed to comment on the board
|
|
type: boolean
|
|
isWorker:
|
|
description: |
|
|
Is the member only allowed to move card, assign himself to card and comment
|
|
type: boolean
|
|
isNormalAssignedOnly:
|
|
description: |
|
|
Is the member only allowed to see assigned cards (Normal permission)
|
|
type: boolean
|
|
isCommentAssignedOnly:
|
|
description: |
|
|
Is the member only allowed to comment on assigned cards
|
|
type: boolean
|
|
isReadOnly:
|
|
description: |
|
|
Is the member only allowed to read the board (no comments, no editing)
|
|
type: boolean
|
|
isReadAssignedOnly:
|
|
description: |
|
|
Is the member only allowed to read assigned cards (no comments, no editing)
|
|
type: boolean
|
|
required:
|
|
- userId
|
|
- isAdmin
|
|
- isActive
|
|
BoardsOrgs:
|
|
type: object
|
|
properties:
|
|
orgId:
|
|
description: |
|
|
The uniq ID of the organization
|
|
type: string
|
|
orgDisplayName:
|
|
description: |
|
|
The display name of the organization
|
|
type: string
|
|
isActive:
|
|
description: |
|
|
Is the organization active?
|
|
type: boolean
|
|
required:
|
|
- orgId
|
|
- orgDisplayName
|
|
- isActive
|
|
BoardsTeams:
|
|
type: object
|
|
properties:
|
|
teamId:
|
|
description: |
|
|
The uniq ID of the team
|
|
type: string
|
|
teamDisplayName:
|
|
description: |
|
|
The display name of the team
|
|
type: string
|
|
isActive:
|
|
description: |
|
|
Is the team active?
|
|
type: boolean
|
|
required:
|
|
- teamId
|
|
- teamDisplayName
|
|
- isActive
|
|
BoardsDomains:
|
|
type: object
|
|
properties:
|
|
domain:
|
|
description: |
|
|
The email-address domain, e.g. example.com
|
|
type: string
|
|
isActive:
|
|
description: |
|
|
Is the domain share active?
|
|
type: boolean
|
|
required:
|
|
- domain
|
|
- isActive
|
|
BoardsImportusernames:
|
|
type: object
|
|
BoardsCustomthemecolors:
|
|
type: object
|
|
CardComments:
|
|
type: object
|
|
description: A comment on a card
|
|
properties:
|
|
boardId:
|
|
description: |
|
|
the board ID
|
|
type: string
|
|
cardId:
|
|
description: |
|
|
the card ID
|
|
type: string
|
|
text:
|
|
description: |
|
|
the text of the comment
|
|
type: string
|
|
parentId:
|
|
description: |
|
|
the _id of the comment this comment is a reply to (threaded replies).
|
|
Optional: top-level comments have no parentId.
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
when was the comment created
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
userId:
|
|
description: |
|
|
the author ID of the comment
|
|
type: string
|
|
required:
|
|
- boardId
|
|
- cardId
|
|
- text
|
|
- createdAt
|
|
- modifiedAt
|
|
- userId
|
|
Cards:
|
|
type: object
|
|
properties:
|
|
title:
|
|
description: |
|
|
the title of the card
|
|
type: string
|
|
x-nullable: true
|
|
archived:
|
|
description: |
|
|
is the card archived
|
|
type: boolean
|
|
archivedAt:
|
|
description: |
|
|
latest archiving date
|
|
type: string
|
|
x-nullable: true
|
|
deletedAt:
|
|
type: string
|
|
x-nullable: true
|
|
deletedBy:
|
|
type: string
|
|
x-nullable: true
|
|
deleteBatchId:
|
|
type: string
|
|
x-nullable: true
|
|
parentId:
|
|
description: |
|
|
ID of the parent card
|
|
type: string
|
|
x-nullable: true
|
|
listId:
|
|
description: |
|
|
List ID where the card is
|
|
type: string
|
|
x-nullable: true
|
|
swimlaneId:
|
|
description: |
|
|
Swimlane ID where the card is
|
|
type: string
|
|
boardId:
|
|
description: |
|
|
Board ID of the card
|
|
type: string
|
|
x-nullable: true
|
|
coverId:
|
|
description: |
|
|
Cover ID of the card
|
|
type: string
|
|
x-nullable: true
|
|
color:
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
customFields:
|
|
description: |
|
|
list of custom fields
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/CardsCustomfields"
|
|
x-nullable: true
|
|
dateLastActivity:
|
|
description: |
|
|
Date of last activity
|
|
type: string
|
|
description:
|
|
description: |
|
|
description of the card
|
|
type: string
|
|
x-nullable: true
|
|
requestedBy:
|
|
description: |
|
|
who requested the card (ID of the user)
|
|
type: string
|
|
x-nullable: true
|
|
assignedBy:
|
|
description: |
|
|
who assigned the card (ID of the user)
|
|
type: string
|
|
x-nullable: true
|
|
labelIds:
|
|
description: |
|
|
list of labels ID the card has
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
members:
|
|
description: |
|
|
list of members (user IDs)
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
assignees:
|
|
description: |
|
|
who is assignee of the card (user ID),
|
|
maximum one ID of assignee in array.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
receivedAt:
|
|
description: |
|
|
Date the card was received
|
|
type: string
|
|
x-nullable: true
|
|
startAt:
|
|
description: |
|
|
Date the card was started to be worked on
|
|
type: string
|
|
x-nullable: true
|
|
dueAt:
|
|
description: |
|
|
Date the card is due
|
|
type: string
|
|
x-nullable: true
|
|
endAt:
|
|
description: |
|
|
Date the card ended
|
|
type: string
|
|
x-nullable: true
|
|
dueComplete:
|
|
description: |
|
|
Has the due date been marked complete? Imported from Trello
|
|
(card.dueComplete) and toggled by the minicard due checkbox.
|
|
type: boolean
|
|
x-nullable: true
|
|
stickers:
|
|
description: |
|
|
list of stickers shown on the card (imported from Trello)
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/CardsStickers"
|
|
x-nullable: true
|
|
locationName:
|
|
description: |
|
|
human readable location name of the card (imported from Trello)
|
|
type: string
|
|
x-nullable: true
|
|
locationAddress:
|
|
description: |
|
|
street address of the card location (imported from Trello)
|
|
type: string
|
|
x-nullable: true
|
|
locationLatitude:
|
|
description: |
|
|
latitude of the card location (imported from Trello)
|
|
type: number
|
|
x-nullable: true
|
|
locationLongitude:
|
|
description: |
|
|
longitude of the card location (imported from Trello)
|
|
type: number
|
|
x-nullable: true
|
|
locations:
|
|
description: |
|
|
list of locations attached to the card. Supports multiple locations,
|
|
each with an optional name, address and coordinates. A legacy single
|
|
location stored in the locationName/Address/Latitude/Longitude fields
|
|
is surfaced through getLocations() for backwards compatibility.
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/CardsLocations"
|
|
x-nullable: true
|
|
spentTime:
|
|
description: |
|
|
How much time has been spent on this
|
|
type: number
|
|
x-nullable: true
|
|
isOvertime:
|
|
description: |
|
|
is the card over time?
|
|
type: boolean
|
|
x-nullable: true
|
|
userId:
|
|
description: |
|
|
user ID of the author of the card
|
|
type: string
|
|
sort:
|
|
description: |
|
|
Sort value
|
|
type: number
|
|
x-nullable: true
|
|
subtaskSort:
|
|
description: |
|
|
subtask sort value
|
|
type: number
|
|
x-nullable: true
|
|
type:
|
|
description: |
|
|
type of the card
|
|
type: string
|
|
linkedId:
|
|
description: |
|
|
ID of the linked card
|
|
type: string
|
|
x-nullable: true
|
|
cardDependencies:
|
|
description: |
|
|
#3392: PI Program Board "Red Strings". Typed card-to-card dependencies.
|
|
Each entry is { cardId, type, color, icon } where cardId points at
|
|
another card (drawn when on the same board), type is one of
|
|
DEPENDENCY_TYPE_IDS, color is the connection line / badge color and icon
|
|
is a FontAwesome name. See models/metadata/dependencies.js.
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/CardsCarddependencies"
|
|
x-nullable: true
|
|
vote:
|
|
description: |
|
|
vote object, see below
|
|
$ref: "#/definitions/CardsVote"
|
|
x-nullable: true
|
|
poker:
|
|
description: |
|
|
poker object, see below
|
|
$ref: "#/definitions/CardsPoker"
|
|
x-nullable: true
|
|
targetId_gantt:
|
|
description: |
|
|
ID of card which is the child link in gantt view
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
linkType_gantt:
|
|
description: |
|
|
ID of card which is the parent link in gantt view
|
|
type: array
|
|
items:
|
|
type: number
|
|
x-nullable: true
|
|
x-nullable: true
|
|
linkId_gantt:
|
|
description: |
|
|
ID of card which is the parent link in gantt view
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
cardNumber:
|
|
description: |
|
|
A boardwise sequentially increasing number that is assigned
|
|
to every newly created card
|
|
type: number
|
|
x-nullable: true
|
|
showActivities:
|
|
type: boolean
|
|
showListOnMinicard:
|
|
description: |
|
|
show list name on minicard?
|
|
type: boolean
|
|
x-nullable: true
|
|
showChecklistAtMinicard:
|
|
description: |
|
|
show checklist on minicard?
|
|
type: boolean
|
|
x-nullable: true
|
|
hideFinishedChecklistIfItemsAreHidden:
|
|
description: |
|
|
hide completed checklist sections when checklist items are hidden?
|
|
type: boolean
|
|
x-nullable: true
|
|
required:
|
|
- archived
|
|
- swimlaneId
|
|
- createdAt
|
|
- modifiedAt
|
|
- dateLastActivity
|
|
- userId
|
|
- type
|
|
- showActivities
|
|
CardsPoker:
|
|
type: object
|
|
properties:
|
|
question:
|
|
type: boolean
|
|
one:
|
|
description: |
|
|
poker card one
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
two:
|
|
description: |
|
|
poker card two
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
three:
|
|
description: |
|
|
poker card three
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
five:
|
|
description: |
|
|
poker card five
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
eight:
|
|
description: |
|
|
poker card eight
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
thirteen:
|
|
description: |
|
|
poker card thirteen
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
twenty:
|
|
description: |
|
|
poker card twenty
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
forty:
|
|
description: |
|
|
poker card forty
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
oneHundred:
|
|
description: |
|
|
poker card oneHundred
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
unsure:
|
|
description: |
|
|
poker card unsure
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
end:
|
|
type: string
|
|
allowNonBoardMembers:
|
|
type: boolean
|
|
estimation:
|
|
description: |
|
|
poker estimation value
|
|
type: number
|
|
CardsVote:
|
|
type: object
|
|
properties:
|
|
question:
|
|
type: string
|
|
positive:
|
|
description: |
|
|
list of members (user IDs)
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
negative:
|
|
description: |
|
|
list of members (user IDs)
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
end:
|
|
type: string
|
|
public:
|
|
type: boolean
|
|
allowNonBoardMembers:
|
|
type: boolean
|
|
required:
|
|
- question
|
|
- public
|
|
- allowNonBoardMembers
|
|
CardsCustomfields:
|
|
type: object
|
|
CardsLabelids:
|
|
type: object
|
|
CardsMembers:
|
|
type: object
|
|
CardsAssignees:
|
|
type: object
|
|
CardsStickers:
|
|
type: object
|
|
CardsLocations:
|
|
type: object
|
|
CardsCarddependencies:
|
|
type: object
|
|
CardsVotePositive:
|
|
type: object
|
|
CardsVoteNegative:
|
|
type: object
|
|
CardsPokerOne:
|
|
type: object
|
|
CardsPokerTwo:
|
|
type: object
|
|
CardsPokerThree:
|
|
type: object
|
|
CardsPokerFive:
|
|
type: object
|
|
CardsPokerEight:
|
|
type: object
|
|
CardsPokerThirteen:
|
|
type: object
|
|
CardsPokerTwenty:
|
|
type: object
|
|
CardsPokerForty:
|
|
type: object
|
|
CardsPokerOnehundred:
|
|
type: object
|
|
CardsPokerUnsure:
|
|
type: object
|
|
CardsTargetid_gantt:
|
|
type: object
|
|
CardsLinktype_gantt:
|
|
type: object
|
|
CardsLinkid_gantt:
|
|
type: object
|
|
ChecklistItems:
|
|
type: object
|
|
description: An item in a checklist
|
|
properties:
|
|
title:
|
|
description: |
|
|
the text of the item
|
|
type: string
|
|
sort:
|
|
description: |
|
|
the sorting field of the item
|
|
type: number
|
|
isFinished:
|
|
description: |
|
|
Is the item checked?
|
|
type: boolean
|
|
checklistId:
|
|
description: |
|
|
the checklist ID the item is attached to
|
|
type: string
|
|
cardId:
|
|
description: |
|
|
the card ID the item is attached to
|
|
type: string
|
|
boardId:
|
|
description: |
|
|
The ID of the board the item's card is on. Denormalized from the card
|
|
so the board publication can publish checklist items with a single
|
|
reactive cursor filtered by boardId. Kept in sync on insert, on the
|
|
item / its checklist moving to another card, and when the card moves to
|
|
another board.
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
type: string
|
|
x-nullable: true
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- title
|
|
- sort
|
|
- isFinished
|
|
- checklistId
|
|
- cardId
|
|
- modifiedAt
|
|
Checklists:
|
|
type: object
|
|
description: A Checklist
|
|
properties:
|
|
cardId:
|
|
description: |
|
|
The ID of the card the checklist is in
|
|
type: string
|
|
boardId:
|
|
description: |
|
|
The ID of the board the checklist's card is on. Denormalized from the
|
|
card so the board publication can publish checklists with a single
|
|
reactive cursor filtered by boardId (a new checklist on a new card then
|
|
publishes reactively). Kept in sync on insert, on checklist move to
|
|
another card, and when the card moves to another board.
|
|
type: string
|
|
x-nullable: true
|
|
title:
|
|
description: |
|
|
the title of the checklist
|
|
type: string
|
|
finishedAt:
|
|
description: |
|
|
When was the checklist finished
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
Creation date of the checklist
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
sort:
|
|
description: |
|
|
sorting value of the checklist
|
|
type: number
|
|
hideCheckedChecklistItems:
|
|
description: |
|
|
hide the checked checklist-items?
|
|
type: boolean
|
|
x-nullable: true
|
|
hideAllChecklistItems:
|
|
description: |
|
|
hide all checklist items ?
|
|
type: boolean
|
|
x-nullable: true
|
|
showChecklistAtMinicard:
|
|
description: |
|
|
show this checklist on minicard?
|
|
type: boolean
|
|
required:
|
|
- cardId
|
|
- title
|
|
- createdAt
|
|
- modifiedAt
|
|
- sort
|
|
- showChecklistAtMinicard
|
|
CustomFields:
|
|
type: object
|
|
description: A custom field on a card in the board
|
|
properties:
|
|
boardIds:
|
|
description: |
|
|
the ID of the board
|
|
type: array
|
|
items:
|
|
type: string
|
|
name:
|
|
description: |
|
|
name of the custom field
|
|
type: string
|
|
type:
|
|
description: |
|
|
type of the custom field
|
|
type: string
|
|
enum:
|
|
- text
|
|
- number
|
|
- date
|
|
- dropdown
|
|
- checkbox
|
|
- currency
|
|
- stringtemplate
|
|
settings:
|
|
description: |
|
|
settings of the custom field
|
|
$ref: "#/definitions/CustomFieldsSettings"
|
|
showOnCard:
|
|
description: |
|
|
should we show on the cards this custom field
|
|
type: boolean
|
|
automaticallyOnCard:
|
|
description: |
|
|
should the custom fields automatically be added on cards?
|
|
type: boolean
|
|
alwaysOnCard:
|
|
description: |
|
|
should the custom field be automatically added to all cards?
|
|
type: boolean
|
|
showLabelOnMiniCard:
|
|
description: |
|
|
should the label of the custom field be shown on minicards?
|
|
type: boolean
|
|
showSumAtTopOfList:
|
|
description: |
|
|
should the sum of the custom fields be shown at top of list?
|
|
type: boolean
|
|
createdAt:
|
|
type: string
|
|
x-nullable: true
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- boardIds
|
|
- name
|
|
- type
|
|
- settings
|
|
- showOnCard
|
|
- automaticallyOnCard
|
|
- alwaysOnCard
|
|
- showLabelOnMiniCard
|
|
- showSumAtTopOfList
|
|
- modifiedAt
|
|
CustomFieldsSettings:
|
|
type: object
|
|
properties:
|
|
currencyCode:
|
|
type: string
|
|
dropdownItems:
|
|
description: |
|
|
list of drop down items objects
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/CustomFieldsSettingsDropdownitems"
|
|
stringtemplateFormat:
|
|
type: string
|
|
stringtemplateSeparator:
|
|
type: string
|
|
CustomFieldsBoardids:
|
|
type: object
|
|
CustomFieldsSettingsDropdownitems:
|
|
type: object
|
|
Lists:
|
|
type: object
|
|
description: A list (column) in the Wekan board.
|
|
properties:
|
|
title:
|
|
description: |
|
|
the title of the list
|
|
type: string
|
|
starred:
|
|
description: |
|
|
if a list is stared
|
|
then we put it on the top
|
|
type: boolean
|
|
x-nullable: true
|
|
archived:
|
|
description: |
|
|
is the list archived
|
|
type: boolean
|
|
archivedAt:
|
|
description: |
|
|
latest archiving date
|
|
type: string
|
|
x-nullable: true
|
|
deletedAt:
|
|
type: string
|
|
x-nullable: true
|
|
deletedBy:
|
|
type: string
|
|
x-nullable: true
|
|
deleteBatchId:
|
|
type: string
|
|
x-nullable: true
|
|
boardId:
|
|
description: |
|
|
the board associated to this list
|
|
type: string
|
|
swimlaneId:
|
|
description: |
|
|
the swimlane associated to this list. Optional for backward compatibility
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date
|
|
type: string
|
|
sort:
|
|
description: |
|
|
is the list sorted
|
|
type: number
|
|
x-nullable: true
|
|
updatedAt:
|
|
description: |
|
|
last update of the list
|
|
type: string
|
|
x-nullable: true
|
|
modifiedAt:
|
|
type: string
|
|
wipLimit:
|
|
description: |
|
|
WIP object, see below
|
|
$ref: "#/definitions/ListsWiplimit"
|
|
x-nullable: true
|
|
color:
|
|
description: |
|
|
the color of the list
|
|
type: string
|
|
x-nullable: true
|
|
type:
|
|
description: |
|
|
The type of list
|
|
type: string
|
|
width:
|
|
description: |
|
|
The width of the list in pixels (100-1000).
|
|
#6465: default width is 220 pixels (was 272) so more lists fit on
|
|
screen; kept in sync with DEFAULT_LIST_WIDTH in models/lib/listWidth.js.
|
|
type: number
|
|
x-nullable: true
|
|
required:
|
|
- title
|
|
- archived
|
|
- boardId
|
|
- createdAt
|
|
- modifiedAt
|
|
- type
|
|
ListsWiplimit:
|
|
type: object
|
|
properties:
|
|
value:
|
|
description: |
|
|
value of the WIP
|
|
type: number
|
|
enabled:
|
|
description: |
|
|
is the WIP enabled
|
|
type: boolean
|
|
soft:
|
|
description: |
|
|
is the WIP a soft or hard requirement
|
|
type: boolean
|
|
required:
|
|
- value
|
|
- enabled
|
|
- soft
|
|
Org:
|
|
type: object
|
|
description: A Organization in Wekan. A Enterprise in Trello.
|
|
properties:
|
|
orgDisplayName:
|
|
description: |
|
|
the name to display for the organization
|
|
type: string
|
|
x-nullable: true
|
|
orgDesc:
|
|
description: |
|
|
the description the organization
|
|
type: string
|
|
x-nullable: true
|
|
orgShortName:
|
|
description: |
|
|
short name of the organization
|
|
type: string
|
|
x-nullable: true
|
|
orgAutoAddUsersWithDomainName:
|
|
description: |
|
|
automatically add users with domain name
|
|
type: string
|
|
x-nullable: true
|
|
orgWebsite:
|
|
description: |
|
|
website of the organization
|
|
type: string
|
|
x-nullable: true
|
|
orgIsActive:
|
|
description: |
|
|
status of the organization
|
|
type: boolean
|
|
x-nullable: true
|
|
orgSharedTemplates:
|
|
description: |
|
|
#5850: members may drag personal Template Boards onto this org to share
|
|
(per-org form of "Shared Templates for Organizations"). Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
orgPropagateMembersToBoards:
|
|
description: |
|
|
#4737: add this org's members to the boards that list this org. Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
orgSyncMembersFromAuth:
|
|
description: |
|
|
#4737: this org's membership is maintained by the authentication
|
|
provider's group/membership sync (LDAP, OAuth2/OIDC, SAML, etc.). Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date of the organization
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- createdAt
|
|
- modifiedAt
|
|
Rules:
|
|
type: object
|
|
properties:
|
|
title:
|
|
type: string
|
|
triggerId:
|
|
type: string
|
|
actionId:
|
|
type: string
|
|
boardId:
|
|
type: string
|
|
buttonType:
|
|
type: string
|
|
enum:
|
|
- card
|
|
- board
|
|
x-nullable: true
|
|
buttonLabel:
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
type: string
|
|
x-nullable: true
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- title
|
|
- triggerId
|
|
- actionId
|
|
- boardId
|
|
- modifiedAt
|
|
Settings:
|
|
type: object
|
|
properties:
|
|
disableRegistration:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableForgotPassword:
|
|
type: boolean
|
|
x-nullable: true
|
|
renderLinksAsPlainText:
|
|
type: boolean
|
|
x-nullable: true
|
|
alwaysShowCodeAsText:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableActivities:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableNotifications:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableWatch:
|
|
type: boolean
|
|
x-nullable: true
|
|
enablePermanentDelete:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableAllExport:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableAllImport:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableExportAvatars:
|
|
type: boolean
|
|
x-nullable: true
|
|
disableImportAvatars:
|
|
type: boolean
|
|
x-nullable: true
|
|
anonymizeExportUsers:
|
|
type: boolean
|
|
x-nullable: true
|
|
anonymizeImportUsers:
|
|
type: boolean
|
|
x-nullable: true
|
|
mailServer:
|
|
$ref: "#/definitions/SettingsMailserver"
|
|
x-nullable: true
|
|
productName:
|
|
type: string
|
|
x-nullable: true
|
|
displayAuthenticationMethod:
|
|
type: boolean
|
|
x-nullable: true
|
|
defaultAuthenticationMethod:
|
|
type: string
|
|
spinnerName:
|
|
type: string
|
|
x-nullable: true
|
|
hideLogo:
|
|
type: boolean
|
|
x-nullable: true
|
|
hideCardCounterList:
|
|
type: boolean
|
|
x-nullable: true
|
|
cardsLoading:
|
|
type: string
|
|
enum:
|
|
- all
|
|
- lazy
|
|
x-nullable: true
|
|
hideBoardMemberList:
|
|
type: boolean
|
|
x-nullable: true
|
|
customLoginLogoImageUrl:
|
|
type: string
|
|
x-nullable: true
|
|
customLoginLogoLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
customHelpLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
textBelowCustomLoginLogo:
|
|
type: string
|
|
x-nullable: true
|
|
automaticLinkedUrlSchemes:
|
|
type: string
|
|
x-nullable: true
|
|
customTopLeftCornerLogoImageUrl:
|
|
type: string
|
|
x-nullable: true
|
|
customTopLeftCornerLogoLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
customTopLeftCornerLogoHeight:
|
|
type: string
|
|
x-nullable: true
|
|
oidcBtnText:
|
|
type: string
|
|
x-nullable: true
|
|
mailDomainName:
|
|
type: string
|
|
x-nullable: true
|
|
legalNotice:
|
|
type: string
|
|
x-nullable: true
|
|
customHeadEnabled:
|
|
type: boolean
|
|
x-nullable: true
|
|
customHeadMetaTags:
|
|
type: string
|
|
x-nullable: true
|
|
customHeadLinkTags:
|
|
type: string
|
|
x-nullable: true
|
|
customManifestEnabled:
|
|
type: boolean
|
|
x-nullable: true
|
|
customManifestContent:
|
|
type: string
|
|
x-nullable: true
|
|
customAssetLinksEnabled:
|
|
type: boolean
|
|
x-nullable: true
|
|
customAssetLinksContent:
|
|
type: string
|
|
x-nullable: true
|
|
accessibilityPageEnabled:
|
|
type: boolean
|
|
x-nullable: true
|
|
accessibilityTitle:
|
|
type: string
|
|
x-nullable: true
|
|
accessibilityContent:
|
|
type: string
|
|
x-nullable: true
|
|
supportPopupText:
|
|
type: string
|
|
x-nullable: true
|
|
supportPageEnabled:
|
|
type: boolean
|
|
x-nullable: true
|
|
supportPagePublic:
|
|
type: boolean
|
|
x-nullable: true
|
|
boardMembersFromSameOrgOrTeamOnly:
|
|
type: boolean
|
|
x-nullable: true
|
|
supportTitle:
|
|
type: string
|
|
x-nullable: true
|
|
supportPageText:
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- defaultAuthenticationMethod
|
|
- createdAt
|
|
- modifiedAt
|
|
SettingsMailserver:
|
|
type: object
|
|
properties:
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
host:
|
|
type: string
|
|
port:
|
|
type: string
|
|
enableTLS:
|
|
type: boolean
|
|
from:
|
|
type: string
|
|
Swimlanes:
|
|
type: object
|
|
description: A swimlane is an line in the kaban board.
|
|
properties:
|
|
title:
|
|
description: |
|
|
the title of the swimlane
|
|
type: string
|
|
archived:
|
|
description: |
|
|
is the swimlane archived?
|
|
type: boolean
|
|
archivedAt:
|
|
description: |
|
|
latest archiving date of the swimlane
|
|
type: string
|
|
x-nullable: true
|
|
boardId:
|
|
description: |
|
|
the ID of the board the swimlane is attached to
|
|
type: string
|
|
createdAt:
|
|
description: |
|
|
creation date of the swimlane
|
|
type: string
|
|
sort:
|
|
description: |
|
|
the sort value of the swimlane
|
|
type: number
|
|
x-nullable: true
|
|
color:
|
|
description: |
|
|
the color of the swimlane
|
|
type: string
|
|
x-nullable: true
|
|
updatedAt:
|
|
description: |
|
|
when was the swimlane last edited
|
|
type: string
|
|
x-nullable: true
|
|
modifiedAt:
|
|
type: string
|
|
type:
|
|
description: |
|
|
The type of swimlane
|
|
type: string
|
|
height:
|
|
description: |
|
|
The height of the swimlane in pixels.
|
|
-1 = auto-height (default)
|
|
50-2000 = fixed height in pixels
|
|
type: number
|
|
x-nullable: true
|
|
required:
|
|
- title
|
|
- archived
|
|
- boardId
|
|
- createdAt
|
|
- modifiedAt
|
|
- type
|
|
Team:
|
|
type: object
|
|
description: A Team in Wekan. Organization in Trello.
|
|
properties:
|
|
teamDisplayName:
|
|
description: |
|
|
the name to display for the team
|
|
type: string
|
|
x-nullable: true
|
|
teamDesc:
|
|
description: |
|
|
the description the team
|
|
type: string
|
|
x-nullable: true
|
|
teamShortName:
|
|
description: |
|
|
short name of the team
|
|
type: string
|
|
x-nullable: true
|
|
teamWebsite:
|
|
description: |
|
|
website of the team
|
|
type: string
|
|
x-nullable: true
|
|
teamIsActive:
|
|
description: |
|
|
status of the team
|
|
type: boolean
|
|
x-nullable: true
|
|
teamSharedTemplates:
|
|
description: |
|
|
#5850: members may drag personal Template Boards onto this team to share
|
|
(per-team form of "Shared Templates for Teams"). Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
teamPropagateMembersToBoards:
|
|
description: |
|
|
#4737: add this team's members to the boards that list this team. Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
teamSyncMembersFromAuth:
|
|
description: |
|
|
#4737: this team's membership is maintained by the authentication
|
|
provider's group/membership sync (LDAP, OAuth2/OIDC, SAML, etc.). Off by default.
|
|
type: boolean
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date of the team
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- createdAt
|
|
- modifiedAt
|
|
Users:
|
|
type: object
|
|
description: A User in wekan
|
|
properties:
|
|
username:
|
|
description: |
|
|
the username of the user
|
|
type: string
|
|
x-nullable: true
|
|
orgs:
|
|
description: |
|
|
the list of organizations that a user belongs to
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersOrgs"
|
|
x-nullable: true
|
|
teams:
|
|
description: |
|
|
the list of teams that a user belongs to
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersTeams"
|
|
x-nullable: true
|
|
emails:
|
|
description: |
|
|
the list of emails attached to a user
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersEmails"
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date of the user
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
profile:
|
|
description: |
|
|
profile settings
|
|
$ref: "#/definitions/UsersProfile"
|
|
x-nullable: true
|
|
services:
|
|
description: |
|
|
services field of the user
|
|
type: object
|
|
x-nullable: true
|
|
heartbeat:
|
|
description: |
|
|
last time the user has been seen
|
|
type: string
|
|
x-nullable: true
|
|
isAdmin:
|
|
description: |
|
|
is the user an admin of the board?
|
|
type: boolean
|
|
x-nullable: true
|
|
createdThroughApi:
|
|
description: |
|
|
was the user created through the API?
|
|
type: boolean
|
|
x-nullable: true
|
|
loginDisabled:
|
|
description: |
|
|
loginDisabled field of the user
|
|
type: boolean
|
|
x-nullable: true
|
|
authenticationMethod:
|
|
description: |
|
|
authentication method of the user
|
|
type: string
|
|
sessionData:
|
|
description: |
|
|
profile settings
|
|
$ref: "#/definitions/UsersSessiondata"
|
|
x-nullable: true
|
|
importUsernames:
|
|
description: |
|
|
username for imported
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
lastConnectionDate:
|
|
type: string
|
|
x-nullable: true
|
|
required:
|
|
- createdAt
|
|
- modifiedAt
|
|
- authenticationMethod
|
|
UsersProfile:
|
|
type: object
|
|
properties:
|
|
avatarUrl:
|
|
description: |
|
|
URL of the avatar of the user
|
|
type: string
|
|
emailBuffer:
|
|
description: |
|
|
list of email buffers of the user
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
fullname:
|
|
description: |
|
|
full name of the user
|
|
type: string
|
|
showDesktopDragHandles:
|
|
description: |
|
|
does the user want to show desktop drag handles?
|
|
type: boolean
|
|
submitOnEnter:
|
|
description: |
|
|
per-user preference: in multi-line editors (card title/description and
|
|
other inlined forms) submit on plain Enter (Shift+Enter for a newline)
|
|
instead of the default Ctrl/Cmd+Enter. Off by default. See #4236/#6480.
|
|
type: boolean
|
|
GreyIcons:
|
|
description: |
|
|
per-user preference to render unicode icons in grey
|
|
type: boolean
|
|
globalThemeColor:
|
|
description: |
|
|
#5778: optional per-user GLOBAL theme color override. When set to one of
|
|
the board color names, that color theme is applied to the WHOLE UI (All
|
|
Boards, Search, Admin Panel, My Cards, etc.) via a `board-color-<name>`
|
|
class on <body> and the header — letting a user pick e.g. a dark theme
|
|
everywhere. Absent = no override (default appearance). A specific board
|
|
still shows its own Board Settings color while you are on that board.
|
|
type: string
|
|
globalThemeCustomColors:
|
|
description: |
|
|
Custom colors for the global theme when it is a flat (1 color) or clear
|
|
(2 colors) theme — see docs/Theme/Theme.md. Each is a validated #rrggbb hex.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
uiFont:
|
|
description: |
|
|
Member Settings / Font (#4759): the user's chosen UI font — one of the
|
|
curated UI_FONTS (models/lib/uiFonts.js) detected as installed in their
|
|
browser. Plain text, validated on the server; absent = default font.
|
|
type: string
|
|
uiFontSize:
|
|
description: |
|
|
Member Settings / Font / Size (#4759): a named preset size key (one of
|
|
UI_FONT_SIZES, e.g. 'large'), never a free number. Absent / 'default' =
|
|
the stock size. Validated on the server.
|
|
type: string
|
|
uiTextColor:
|
|
description: |
|
|
Member Settings / Font / Color (#4759): custom UI text color, chosen from a
|
|
color wheel. A validated #rrggbb hex; absent = default text color.
|
|
type: string
|
|
uiTextBgColor:
|
|
description: |
|
|
Member Settings / Font / Color (#4759): custom UI text background color.
|
|
A validated #rrggbb hex; absent = default (transparent) background.
|
|
type: string
|
|
dismissedAnnouncementVersion:
|
|
description: |
|
|
version string of the global announcement the user has permanently
|
|
dismissed (#6051). When the admin changes the announcement text its
|
|
version changes, so the banner reappears for everyone.
|
|
type: string
|
|
cardMaximized:
|
|
description: |
|
|
has user clicked maximize card?
|
|
type: boolean
|
|
cardCollapsed:
|
|
description: |
|
|
has user collapsed the card details?
|
|
type: boolean
|
|
showActivities:
|
|
description: |
|
|
does the user want to show activities in card details?
|
|
type: boolean
|
|
customFieldsGrid:
|
|
description: |
|
|
has user at card Custom Fields have Grid (false) or one per row (true) layout?
|
|
type: boolean
|
|
trelloApiSaved:
|
|
description: |
|
|
Has the user saved Trello API credentials (key + token) for importing?
|
|
The credentials themselves are stored server-side only (never published
|
|
to the client); this is just the published "saved" indicator.
|
|
type: boolean
|
|
hiddenMinicardLabelText:
|
|
description: |
|
|
does the user want to hide minicard label texts?
|
|
type: boolean
|
|
initials:
|
|
description: |
|
|
initials of the user
|
|
type: string
|
|
boardWorkspacesTree:
|
|
description: |
|
|
Per-user spaces tree for All Boards page
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersProfileBoardworkspacestree"
|
|
boardWorkspaceAssignments:
|
|
description: |
|
|
Per-user map of boardId -> spaceId
|
|
type: object
|
|
invitedBoards:
|
|
description: |
|
|
board IDs the user has been invited to
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
language:
|
|
description: |
|
|
language of the user
|
|
type: string
|
|
mapProvider:
|
|
description: |
|
|
which map service the card "Open in map" links use, grouped by region:
|
|
USA: 'google', 'bing', 'apple', 'waze';
|
|
Europe: 'openstreetmap' (default), 'here', 'yandex', 'mapy', '2gis';
|
|
Asia: 'baidu', 'amap'.
|
|
type: string
|
|
enum:
|
|
- openstreetmap
|
|
- google
|
|
- bing
|
|
- apple
|
|
moveAndCopyDialog:
|
|
description: |
|
|
move and copy card dialog
|
|
type: object
|
|
moveChecklistDialog:
|
|
description: |
|
|
move checklist dialog
|
|
type: object
|
|
copyChecklistDialog:
|
|
description: |
|
|
copy checklist dialog
|
|
type: object
|
|
notifications:
|
|
description: |
|
|
enabled notifications for the user
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersProfileNotifications"
|
|
rescueCardDescription:
|
|
description: |
|
|
show dialog for saving card description on unintentional card closing
|
|
type: boolean
|
|
showCardsCountAt:
|
|
description: |
|
|
showCardCountAt field of the user
|
|
type: number
|
|
startDayOfWeek:
|
|
description: |
|
|
startDayOfWeek field of the user
|
|
type: number
|
|
starredBoards:
|
|
description: |
|
|
list of starred board IDs
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
defaultBoardId:
|
|
description: |
|
|
#2220: the board that opens automatically after logging in (the user's
|
|
"home" board). Empty/unset means land on the All Boards page as before.
|
|
type: string
|
|
icode:
|
|
description: |
|
|
icode
|
|
type: string
|
|
boardView:
|
|
description: |
|
|
boardView field of the user
|
|
type: string
|
|
enum:
|
|
- board-view-swimlanes
|
|
- board-view-lists
|
|
- board-view-cal
|
|
- board-view-gantt
|
|
- board-view-table
|
|
- board-view-stats
|
|
listSortBy:
|
|
description: |
|
|
default sort list for user
|
|
type: string
|
|
enum:
|
|
- -modifiedat
|
|
- modifiedat
|
|
- -title
|
|
- title
|
|
- -sort
|
|
- sort
|
|
allBoardsSortBy:
|
|
description: |
|
|
How the All Boards page is sorted for this user (#5799):
|
|
'custom' keeps the manual drag order (default), 'title-asc' / 'title-desc'
|
|
sort boards alphabetically by title.
|
|
type: string
|
|
enum:
|
|
- custom
|
|
- title-asc
|
|
- title-desc
|
|
templatesBoardId:
|
|
description: |
|
|
Reference to the templates board
|
|
type: string
|
|
cardTemplatesSwimlaneId:
|
|
description: |
|
|
Reference to the card templates swimlane Id
|
|
type: string
|
|
listTemplatesSwimlaneId:
|
|
description: |
|
|
Reference to the list templates swimlane Id
|
|
type: string
|
|
boardTemplatesSwimlaneId:
|
|
description: |
|
|
Reference to the board templates swimlane Id
|
|
type: string
|
|
sidebarWidth:
|
|
description: |
|
|
User-specified width (px) of the right board sidebar, set by dragging its
|
|
left edge (desktop only; mobile is always full width). Unset = CSS default.
|
|
type: number
|
|
listWidths:
|
|
description: |
|
|
User-specified width of each list (or nothing if default).
|
|
profile[boardId][listId] = width;
|
|
type: object
|
|
listConstraints:
|
|
description: |
|
|
User-specified constraint of each list (or nothing if default).
|
|
profile[boardId][listId] = constraint;
|
|
type: object
|
|
autoWidthBoards:
|
|
description: |
|
|
User-specified flag for enabling auto-width for boards (false is the default).
|
|
profile[boardId][listId] = constraint;
|
|
type: object
|
|
fixedListWidthBoards:
|
|
description: |
|
|
#5729 Per-user flag enabling "same width for all lists" (fixed width)
|
|
mode for a board (false is the default).
|
|
profile.fixedListWidthBoards[boardId] = true|false
|
|
type: object
|
|
fixedListWidths:
|
|
description: |
|
|
#5729 Per-user single width applied to every list of a board when fixed
|
|
width mode is enabled.
|
|
profile.fixedListWidths[boardId] = width
|
|
type: object
|
|
swimlaneHeights:
|
|
description: |
|
|
User-specified heights of each swimlane (or nothing if default).
|
|
profile[boardId][swimlaneId] = height;
|
|
type: object
|
|
collapsedLists:
|
|
description: |
|
|
Per-user collapsed state for lists.
|
|
profile[boardId][listId] = true|false
|
|
type: object
|
|
collapsedSwimlanes:
|
|
description: |
|
|
Per-user collapsed state for swimlanes.
|
|
profile[boardId][swimlaneId] = true|false
|
|
type: object
|
|
keyboardShortcuts:
|
|
description: |
|
|
User-specified state of keyboard shortcut activation.
|
|
type: boolean
|
|
verticalScrollbars:
|
|
description: |
|
|
User-specified state of vertical scrollbars visibility.
|
|
type: boolean
|
|
showWeekOfYear:
|
|
description: |
|
|
User-specified state of week-of-year in date displays.
|
|
type: boolean
|
|
dateFormat:
|
|
description: |
|
|
User-specified date format for displaying dates (includes time HH:MM).
|
|
type: string
|
|
enum:
|
|
- yyyy-mm-dd
|
|
- dd-mm-yyyy
|
|
- mm-dd-yyyy
|
|
zoomLevel:
|
|
description: |
|
|
User-specified zoom level for board view (1.0 = 100%, 1.5 = 150%, etc.)
|
|
type: number
|
|
mobileMode:
|
|
description: |
|
|
User-specified mobile/desktop mode toggle.
|
|
#6419: must be OPTIONAL with NO default. A defaultValue of false set
|
|
mobileMode=false on every user, so Utils.getMobileMode() always returned
|
|
the profile value and the viewport-based auto-detection below it never
|
|
ran — every user was locked to desktop-mode even on a phone. Left unset,
|
|
it stays undefined until the user explicitly toggles, so phones
|
|
auto-detect mobile mode.
|
|
type: boolean
|
|
cardZoom:
|
|
description: |
|
|
User-specified zoom level for card details (1.0 = 100%, 1.5 = 150%, etc.)
|
|
type: number
|
|
required:
|
|
- listWidths
|
|
- listConstraints
|
|
- autoWidthBoards
|
|
- fixedListWidthBoards
|
|
- fixedListWidths
|
|
- swimlaneHeights
|
|
- collapsedLists
|
|
- collapsedSwimlanes
|
|
- keyboardShortcuts
|
|
- verticalScrollbars
|
|
- showWeekOfYear
|
|
- zoomLevel
|
|
- cardZoom
|
|
UsersSessiondata:
|
|
type: object
|
|
properties:
|
|
totalHits:
|
|
description: |
|
|
Total hits from last searchquery['members.userId'] = Meteor.userId();
|
|
last hit that was returned
|
|
type: number
|
|
UsersOrgs:
|
|
type: object
|
|
properties:
|
|
orgId:
|
|
description: |
|
|
The uniq ID of the organization
|
|
type: string
|
|
orgDisplayName:
|
|
description: |
|
|
The display name of the organization
|
|
type: string
|
|
required:
|
|
- orgId
|
|
- orgDisplayName
|
|
UsersTeams:
|
|
type: object
|
|
properties:
|
|
teamId:
|
|
description: |
|
|
The uniq ID of the team
|
|
type: string
|
|
teamDisplayName:
|
|
description: |
|
|
The display name of the team
|
|
type: string
|
|
required:
|
|
- teamId
|
|
- teamDisplayName
|
|
UsersEmails:
|
|
type: object
|
|
properties:
|
|
address:
|
|
description: |
|
|
The email address
|
|
type: string
|
|
verified:
|
|
description: |
|
|
Has the email been verified
|
|
type: boolean
|
|
required:
|
|
- address
|
|
- verified
|
|
UsersProfileEmailbuffer:
|
|
type: object
|
|
UsersProfileGlobalthemecustomcolors:
|
|
type: object
|
|
UsersProfileBoardworkspacestree:
|
|
type: object
|
|
UsersProfileInvitedboards:
|
|
type: object
|
|
UsersProfileNotifications:
|
|
type: object
|
|
properties:
|
|
activity:
|
|
description: |
|
|
The id of the activity this notification references
|
|
type: string
|
|
read:
|
|
description: |
|
|
the date on which this notification was read
|
|
type: string
|
|
required:
|
|
- activity
|
|
UsersProfileStarredboards:
|
|
type: object
|
|
UsersImportusernames:
|
|
type: object
|