Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 705 Bytes

DEVDOC.md

File metadata and controls

38 lines (26 loc) · 705 Bytes

Developer documentation

Run locally

Install

git clone https://gitub.com/TheELNConsortium/any2eln
cd any2eln
python -m venv venv
source venv/bin/activate
poetry install

Usage

source local.env
python any2eln

Api doc

https://labfolder.labforward.app/api/v2/docs/development.html

Using curl

First, login to get a TOKEN

curl -X POST -H 'Content-Type: application/json' -d '{"user":"[email protected]", "password": "secr3t"}' https://labfolder.labforward.app/api/v2/auth/login

and copy token in some env var like T. Then:

curl -H "Authorization: Bearer $T" "https://labfolder.labforward.app/api/v2/templates/26333?expand=entry"