mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 02:55:19 +03:00
622 B
622 B
List Projects And Branches Test
scratch/main> project.create-empty project-one
scratch/main> project.create-empty project-two
scratch/main> 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