less than 1 minute read

Document Information

  • docNo: 20230119-1644
  • search: sbm orchestration restapi api token gitlab gitlab-make-branch sbm-orchestration

Contents

아래 그림에서는 authorizationType 의 Default value 값이 공란 입니다.
이런 경우 아래의 curl 명령어와 동일하게 브랜치가 생성되는지 테스트 합니다.

branch 생성 curl 명령어

curl --request POST --header "PRIVATE-TOKEN:glpat-yp2P_w3XeY6A5FwP8vn" "http://10.0.0.20:8001/api/v4/projects/2/repository/branches?branch=newbranch&ref=master"

sbm orchestration RESTCaller_post 화면

훔 잘되네요, 원래 아래의 화면으로 테스트를 진행했었고 정상적으로 branch 가 생성 되었습니다.

아마도 authorizationType 값이 SBMTOKEN 인것과 그냥 공란인 것은 차이가 없어 보입니다.


아마도 authorizationType 값이 SBMTOKEN 인것과 그냥 공란인 것은 차이가 없어 보입니다.