Skip to content

Commit e9a25f7

Browse files
committed
Update transcripts
1 parent 2c59f1b commit e9a25f7

File tree

1 file changed

+6
-0
lines changed
  • transcripts/share-apis/branches

1 file changed

+6
-0
lines changed

transcripts/share-apis/branches/run.zsh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,14 @@ fetch "$transcripts_user" GET branch-list-private '/users/transcripts/branches'
4242
# Branch details
4343
fetch "$transcripts_user" GET branch-details '/users/test/projects/publictestproject/branches/main'
4444

45+
# Paging tests
46+
next_cursor=$(fetch_data_jq "$transcripts_user" GET branch-list-paged '/users/test/projects/publictestproject/branches?limit=1' '.nextCursor')
47+
48+
fetch "$transcripts_user" GET branch-list-page-2 "/users/test/projects/publictestproject/branches?limit=1&cursor=$next_cursor"
49+
4550
# Delete a branch
4651
fetch "$test_user" DELETE branch-delete '/users/test/projects/publictestproject/branches/main'
4752

4853
# Branch should no longer exist
4954
fetch "$test_user" GET branch-details-deleted '/users/test/projects/publictestproject/branches/main'
55+

0 commit comments

Comments
 (0)