mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 01:49:41 -05:00
5934 lines
161 KiB
YAML
5934 lines
161 KiB
YAML
swagger: '2.0'
|
|
info:
|
|
title: Wekan REST API
|
|
version: v11.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/{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}/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: sort
|
|
in: formData
|
|
description: the sort 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
|
|
- 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}/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: authorId
|
|
in: formData
|
|
description: the authorId 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/{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}/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}/exportZip:
|
|
get:
|
|
operationId: exportZip
|
|
summary: Export as a .zip - the JSON document, and the attachments as files.
|
|
description: |
|
|
The same export the JSON route produces, with the attachments
|
|
beside it as the files they are instead of base64 inside the document, so a
|
|
board whose attachments are too large for one JSON string still exports.
|
|
Takes the same `fields`, `swimlaneId`, `listId`, `cardId` and `checklistId`
|
|
parameters as every other export.
|
|
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}/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}/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/{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/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/import/zip:
|
|
post:
|
|
operationId: importZip
|
|
summary: Import a .zip export - the document and its attachment files.
|
|
description: |
|
|
POST the .zip as the request body. Takes the same `fields`,
|
|
`swimlaneId`, `listId`, `cardId` and `checklistId` parameters as the
|
|
exports: with one of those ids it imports beside that thing, without one it
|
|
imports the whole document into the board named by `boardId`.
|
|
tags:
|
|
- Boards
|
|
consumes:
|
|
- multipart/form-data
|
|
- application/json
|
|
parameters:
|
|
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:
|
|
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
|
|
summary: Delete a user and confirm that one account was removed
|
|
description: |
|
|
Global administrators receive the deleted id; a missing id
|
|
returns HTTP 404 without reporting a deletion.
|
|
tags:
|
|
- Users
|
|
parameters:
|
|
- name: user
|
|
in: path
|
|
description: |
|
|
the id of the user to delete
|
|
type: string
|
|
required: true
|
|
produces:
|
|
- application/json
|
|
security:
|
|
- UserSecurity: []
|
|
responses:
|
|
'200':
|
|
description: |-
|
|
200 response
|
|
schema:
|
|
type: object
|
|
properties:
|
|
_id:
|
|
type: string
|
|
'404':
|
|
description: |-
|
|
No user matched the requested id.
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
# ───────────────────────────────────────────────────────────────────────────
|
|
# 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
|
|
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: |
|
|
display name entered manually or copied from the selected user
|
|
type: string
|
|
x-nullable: true
|
|
assignedBy:
|
|
description: |
|
|
display name entered manually or copied from the selected 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
|
|
requesters:
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
assigners:
|
|
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
|
|
CardsRequesters:
|
|
type: object
|
|
CardsAssigners:
|
|
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? Unset = follow the board's
|
|
allowsChecklistsOnMinicard default; true/false override it.
|
|
type: boolean
|
|
x-nullable: true
|
|
required:
|
|
- cardId
|
|
- title
|
|
- createdAt
|
|
- modifiedAt
|
|
- sort
|
|
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
|
|
orgDomains:
|
|
description: |
|
|
Multitenancy option D (docs/Design/Multitenancy/Multitenancy.md): the
|
|
hostname(s) this Organization is served on, free text separated by commas,
|
|
semicolons or whitespace - e.g. "a.example.com, kanban.example.org". A
|
|
request whose host matches one of these is that tenant's request, and the
|
|
org's branding below replaces the instance branding for it. Empty (the
|
|
default) means the org is not a tenant and nothing changes.
|
|
Only read when the deployment sets MULTITENANCY=true.
|
|
type: string
|
|
x-nullable: true
|
|
orgProductName:
|
|
description: |
|
|
Per-tenant branding. Each of these overrides the SAME-named instance
|
|
setting of Admin Panel / Settings / Visibility for this tenant's requests,
|
|
and an empty one leaves the instance value alone - so a tenant overrides
|
|
only what it sets. See models/lib/tenants.js BRANDING_FIELDS.
|
|
type: string
|
|
x-nullable: true
|
|
orgThemeColor:
|
|
description: |
|
|
The site theme for this Organization's hosts - the layer between WeKan's
|
|
default theme and a user's own override (docs/Theme/Theme.md). Set in
|
|
Admin Panel / Settings / Visibility / Change color.
|
|
type: string
|
|
x-nullable: true
|
|
orgThemeCustomColors:
|
|
description: |
|
|
The custom colours of that theme, for the flat (1 colour) and clear
|
|
(2 colours, a gradient) categories.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
x-nullable: true
|
|
orgCustomLoginLogoImageUrl:
|
|
type: string
|
|
x-nullable: true
|
|
orgCustomLoginLogoLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
orgTextBelowCustomLoginLogo:
|
|
type: string
|
|
x-nullable: true
|
|
orgCustomTopLeftCornerLogoImageUrl:
|
|
type: string
|
|
x-nullable: true
|
|
orgCustomTopLeftCornerLogoLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
orgCustomHelpLinkUrl:
|
|
type: string
|
|
x-nullable: true
|
|
orgLegalNotice:
|
|
type: string
|
|
x-nullable: true
|
|
createdAt:
|
|
description: |
|
|
creation date of the organization
|
|
type: string
|
|
modifiedAt:
|
|
type: string
|
|
required:
|
|
- createdAt
|
|
- modifiedAt
|
|
OrgOrgthemecustomcolors:
|
|
type: object
|
|
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
|
|
themeColor:
|
|
description: |
|
|
The site theme, set in Admin Panel / Settings / Visibility / Change color.
|
|
It is the layer between WeKan's default theme and a user's own override
|
|
(docs/Theme/Theme.md): whoever has not picked a theme of their own sees
|
|
this one. On a multitenancy host the Organization's own value replaces it
|
|
(models/lib/tenants.js BRANDING_FIELDS).
|
|
type: string
|
|
x-nullable: true
|
|
themeCustomColors:
|
|
description: |
|
|
The custom colours of that theme: one for a flat theme, two for a clear
|
|
(gradient) one.
|
|
type: array
|
|
items:
|
|
type: string
|
|
x-nullable: true
|
|
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
|
|
hideBoardActivitiesOnAllBoards:
|
|
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
|
|
boardMembersFromSameOrgOnly:
|
|
type: boolean
|
|
x-nullable: true
|
|
boardMembersFromSameTeamOnly:
|
|
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
|
|
SettingsThemecustomcolors:
|
|
type: object
|
|
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
|
|
leftMenuCollapsed:
|
|
description: |
|
|
is the left menu of All Boards and the Admin Panel collapsed? One
|
|
setting for both: they are one menu drawn on two pages.
|
|
docs/Features/Page/Left-Menu.md
|
|
type: boolean
|
|
collapsedWorkspaces:
|
|
description: |
|
|
which workspaces of the All Boards left menu are folded, as a map of
|
|
workspace id -> true. Only the folded ones are stored, so a tree of
|
|
fifty workspaces with two folded is two keys.
|
|
docs/Features/Page/Workspaces.md
|
|
type: object
|
|
leftMenuWidth:
|
|
description: |
|
|
user-chosen width (px) of that same left menu, set by dragging its inner
|
|
edge - the right one while reading left to right, the left one under a
|
|
right-to-left language. One width for both pages, like the fold above.
|
|
Unset = the CSS default. docs/Features/Page/Left-Menu.md
|
|
type: number
|
|
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
|
|
openManyCardsAtOnce:
|
|
description: |
|
|
#6531: per-user preference. OFF by default, which is what clicking a card
|
|
has always been expected to do - open THAT card, closing the one that was
|
|
open. Turned on, every clicked card stays open as its own draggable window,
|
|
which is what WeKan did unconditionally and what the issue reported as a
|
|
bug: the previous card simply never closed.
|
|
type: boolean
|
|
allBoardsThemeTiles:
|
|
description: |
|
|
Member Settings / Change color, beside "Default (no override)": paint the
|
|
board tiles on the All Boards page in the THEME's lighter colour instead
|
|
of each board's own colour. Off by default, so All Boards looks as it
|
|
always has - a wall of boards in the colours their owners chose.
|
|
|
|
Turned on, the overview reads as one list rather than a palette, which is
|
|
what #6593 asked for by making every tile white for everybody. It is a
|
|
per-user preference here, because "the tile colours are noise" and "the
|
|
tile colours are how I find my board" are both true, of different people.
|
|
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: |
|
|
REMOVED feature (#4759 "text background color"): nothing sets or reads
|
|
this any more, and `setUiColors` unsets it on every call. The key stays
|
|
in the schema ONLY so that $unset validates against it for the users who
|
|
stored a colour before it was removed - a modifier touching a key the
|
|
schema does not know is rejected, which would leave exactly those
|
|
profiles unable to be cleaned.
|
|
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
|
|
starredPages:
|
|
description: |
|
|
the starred PAGES - bookmarks. A board is starred by id; a page has no
|
|
id, so each entry is the pair a bookmark is: a relative URL and the
|
|
title to list it under. docs/Features/Board/Starred.md
|
|
type: array
|
|
items:
|
|
$ref: "#/definitions/UsersProfileStarredpages"
|
|
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
|
|
boardSortIndex:
|
|
description: |
|
|
#6439: per-user manual board order on the All Boards page, set by drag-
|
|
reorder. profile.boardSortIndex[boardId] = sortIndex. Missing before, so
|
|
a reorder write was rejected by the schema (INVALID [400]) since
|
|
`profile` enumerates its subfields and is not blackbox.
|
|
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
|
|
collapsedCardSections:
|
|
description: |
|
|
Per-user collapsed state for the sections of a card (#1591).
|
|
profile[cardId][sectionKey] = true|false
|
|
|
|
ONE map for every foldable thing on a card, because they are all the
|
|
same question: a whole feature group ('labels', 'members', 'due', ...)
|
|
uses the section's own name, and an individual checklist uses
|
|
'checklist-<checklistId>'. The same key works on the opened card and on
|
|
the minicard, so folding a checklist folds it in both.
|
|
|
|
Per USER, like collapsedLists and collapsedSwimlanes above, and unlike
|
|
the checklist's own hideAllChecklistItems, which is a field on the
|
|
checklist and therefore changes what EVERYONE on the board sees.
|
|
Folding something to get it out of your way is a view preference, not
|
|
an edit to the card.
|
|
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
|
|
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
|
|
- collapsedCardSections
|
|
- keyboardShortcuts
|
|
- verticalScrollbars
|
|
- showWeekOfYear
|
|
- 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
|
|
isAdmin:
|
|
description: |
|
|
Multitenancy option D (docs/Design/Multitenancy/Multitenancy.md): this user
|
|
is a per-tenant Global Admin OF THIS ORGANIZATION - they may administer its
|
|
people and its backups, and nothing else. It is deliberately a flag on the
|
|
membership the user already has rather than a second membership list.
|
|
It NEVER implies the site-wide `isAdmin` flag, and a per-tenant admin can
|
|
never grant that one (models/lib/tenantAdmin.js).
|
|
type: boolean
|
|
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
|
|
UsersProfileStarredpages:
|
|
type: object
|
|
properties:
|
|
url:
|
|
description: |
|
|
RELATIVE, so a bookmark survives the site moving to another host.
|
|
type: string
|
|
title:
|
|
description: |
|
|
The words the browser tab shows, which are the words the dropdown lists.
|
|
type: string
|
|
required:
|
|
- url
|
|
- title
|
|
UsersImportusernames:
|
|
type: object
|