Skip to content

REST API Swimlanes

Lauri Ojansivu edited this page Jul 11, 2022 · 7 revisions

Disclaimer

This page tries to be as up to date as possible. If you see something wrong here, feel free to update the page and help other people like you, that greatly depends on our APIs. If you don't feel comfortable doing this kind of changes, please contact us by creating an issue.

Retrieve cards by swimlane id

Please somebody add example by looking this:

Issue and code. Also add to Cards page

Add Swimlane to Board

API URL / Code Link Requires Admin Auth HTTP Method
/api/boards/:boardId/swimlanes yes POST
curl -H "Authorization: Bearer t7iYB86mXoLfP_XsMegxF41oKT7iiA9lDYiKVtXcctl" \
     -H "Content-type:application/json" \
     -X POST \
     http://localhost:3000/api/boards/YRgy7Ku6uLFv2pYwZ/swimlanes \
     -d '{ "title": "Swimlane title text" }'

Result example

The new swimlane's ID is returned in the format:

{
    "_id": "W9m9YxQKT6zZrKzRW"
}

Delete a swimlane

API URL / Code Link Requires Admin Auth HTTP Method
/api/boards/:boardId/swimlanes/:swimlaneId yes DELETE
curl -H "Authorization: Bearer t7iYB86mXoLfP_XsMegxF41oKT7iiA9lDYiKVtXcctl" \
     -H "Content-type:application/json" \
     -X DELETE \
     http://localhost:3000/api/boards/YRgy7Ku6uLFv2pYwZ/lists/PgTuf6sFJsaxto5dC/cards/ssrNX9CvXvPxuC5DE

Result example

The swimlane's ID is returned in the format:

{
    "_id": "W9m9YxQKT6zZrKzRW"
}

In Wekan code

If you believe that code is the best documentation, be our guest: models/cards.js

Wekan

General

Fake: Not WeKan kanban

Security

Scaling

Migrating

Support priorities for new features and bugfixes

  1. Commercial Support
  2. Community Support
  3. Debugging

Backup

Repair

Themes

Markdown Syntax

Login Auth

Metrics, Logs, Stats

Integrations

Time

Features

Email

Required Settings

Download

Webservers

REST API Docs

REST API issue

REST API client code

Webhooks

Case Studies

Development

Issues

Clone this wiki locally