행위 프로파일 빌드 시작

지정한 행위 프로파일의 빌드를 시작합니다. 빌드는 비동기 작업으로 실행됩니다.

필요 권한

관리자 이상의 계정으로 이용할 수 있습니다.

HTTP 요청

POST /api/sonar/behavior-profiles/:guid/build
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \
     -X POST \
     https://HOSTNAME/api/sonar/behavior-profiles/a1b2c3d4-e5f6-7890-abcd-ef1234567890/build
요청 매개변수
경로 매개변수
타입설명비고
guid문자열행위 프로파일 식별자36자

정상 응답

{}

오류 응답

guid가 누락된 경우

HTTP 상태 코드 400 응답

{
  "error_code": "null-argument",
  "error_msg": "guid should be not null"
}
행위 프로파일이 존재하지 않는 경우

HTTP 상태 코드 500 응답

{
  "error_code": "profile-not-found",
  "error_msg": "profile-not-found"
}
권한이 없는 경우

HTTP 상태 코드 500 응답

{
  "error_code": "illegal-state",
  "error_msg": "no-permission"
}