mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-10 20:00:27 +03:00
589 B
589 B
List Projects And Branches Test
.> project.create-empty project-one
.> project.create-empty project-two
.> project.create-empty project-three
project-one/main> branch branch-one
project-one/main> branch branch-two
project-one/main> branch branch-three
-- Should list all projects
GET /api/projects
-- Should list projects starting with project-t
GET /api/projects?prefix=project-t
-- Should list all branches
GET /api/projects/project-one/branches
-- Should list all branches beginning with branch-t
GET /api/projects/project-one/branches?prefix=branch-t