Play with GitLab API

Just a post to tell you about v4 GitLab API I just discoverd.
In the case you want to play with it:

And, a small magic command to start enjoy with it:

curl -s https://git.duniter.org/api/v4/projects/47 | python -m json.tool
{
    "avatar_url": "https://git.duniter.org/uploads/-/system/project/avatar/47/logo-duniter.png",
    "created_at": "2017-11-24T14:46:46.714+01:00",
    "default_branch": "1.6",
    "description": "Crypto-currency software to manage libre currency such as \u011e1",
    "forks_count": 4,
    "http_url_to_repo": "https://git.duniter.org/nodes/typescript/duniter.git",
    "id": 47,
    "last_activity_at": "2018-01-21T12:01:50.094+01:00",
    "name": "duniter",
    "name_with_namespace": "nodes / typescript / duniter",
    "path": "duniter",
    "path_with_namespace": "nodes/typescript/duniter",
    "ssh_url_to_repo": "git@git.duniter.org:nodes/typescript/duniter.git",
    "star_count": 9,
    "tag_list": [],
    "web_url": "https://git.duniter.org/nodes/typescript/duniter"
}

Yes I know this api, I have been struggling for 8 days with this api to run the automatic generation of the releases page : https://git.duniter.org/nodes/typescript/duniter/blob/1.6/.gitlab/releaser.py

1 Like