REST API
Authentication
Head to http://localhost:8000/user/tokens/ to create a token. Expiration date is required.
Use your token by passing the Authorization header with Token XXXXXX, where
XXXXXX is the value of your token:
curl -H 'Authorization: Token XXXXXX' localhost:8000/api/v1/repositories/
Create an env.sh script:
export GITLAB_TOKEN="XXX"
export NYAN_TOKEN="XXX"
Source the env.sh script:
source env.sh
Populate some repository data:
./scripts/collect-gitlab-projects.py -g 78192659
./scripts/collect-gitlab-projects.py -g 78989449
./scripts/create-tags.py
Visit http://localhost:8000/groups/ to see your newly populated data.