Files
wekan/docs/API/Code.md
T
Lauri OjansivuandClaude Opus 4.8 b912ddb6f5 docs: convert internal wiki/repo links from https URLs to relative paths
The GitHub wiki is disabled and its content was migrated into docs/, so every
https://github.com/wekan/wekan/wiki/... link now redirects to the repo home and
is broken. Rewrite all internal links in docs/ to relative paths:

- wiki/<Page> -> relative path to the corresponding docs/ file (renamed pages
  mapped explicitly: Caddy-Webserver-Config->Webserver/Caddy.md, Wekan-Markdown
  ->Features/Markdown/Markdown.md, REST-API-Role->API/Role.md, etc.)
- wiki home -> docs/README.md
- blob|tree|raw/main|master/<path> -> relative path (anchors and #Lxx line
  ranges preserved; bare URLs wrapped as [name](path) so they stay clickable)

Kept absolute (intentionally not flattened to the current ref):
- ref-pinned links (edge, devel, version tags, commit hashes)
- links whose target no longer exists in the tree

wiki/issues -> the GitHub issues tracker URL (external). 436 links across 113
files; verified no wiki links remain and no broken relative links introduced.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 20:43:36 +03:00

33 lines
572 B
Markdown

## Using Meteor with REST API
### 1) Adding API
```
meteor add simple:json-routes
```
https://atmospherejs.com/simple/json-routes
[packages](../../.meteor/packages#L139)
### 2) API code
At models directory:
[users.js](../../models/users.js#L2018)
### 3) Login to API as JSON
[REST API](REST-API.md#example-call---as-json)
Also see at wiki right menu about REST API.
### 4) Use Python3 CLI to login to API and do REST API action
[api.py](../../api.py)
### 4) API Docs
https://wekan.fi/api/
Building API Docs: [rebuild-docs.sh](../../releases/rebuild-docs.sh)