Get Setting
- Http Method
- GET
- End Point
-
/~api/projects/{projectId}/setting
Placeholder Description Example {projectId} Project Id 1 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
{
"branchProtections" : [ {"enabled" : true ,"branches" : "string" ,"userMatch" : "string" ,"preventForcedPush" : true ,"preventDeletion" : true ,"preventCreation" : true ,"commitSignatureRequired" : true ,"enforceConventionalCommits" : true ,"commitTypes" : [ "string" ] ,"commitScopes" : [ "string" ] ,"checkCommitMessageFooter" : true ,"commitMessageFooterPattern" : "string" ,"commitTypesForFooterCheck" : [ "string" ] ,"maxCommitMessageLineLength" : 1 ,"reviewRequirement" : "string" ,"jobNames" : [ "string" ] ,"fileProtections" : [ {"paths" : "string" ,"reviewRequirement" : "string" ,"jobNames" : [ "string" ]"requireStrictBuilds" : true"tagProtections" : [ {"enabled" : true ,"tags" : "string" ,"userMatch" : "string" ,"preventUpdate" : true ,"preventDeletion" : true ,"preventCreation" : true ,"commitSignatureRequired" : true"issueSetting" : {"listFields" : [ "string" ] ,"listLinks" : [ "string" ] ,"boardSpecs" : [ {"name" : "string" ,"baseQuery" : "string" ,"backlogBaseQuery" : "string" ,"identifyField" : "string" ,"columns" : [ "string" ] ,"iterationPrefix" : "string" ,"displayFields" : [ "string" ] ,"displayLinks" : [ "string" ] ,"editColumns" : [ "string" ]"namedQueries" : [ {"name" : "string" ,"query" : "string""buildSetting" : {"listParams" : [ "string" ] ,"namedQueries" : [ {"name" : "string" ,"query" : "string""jobProperties" : [ {"name" : "string" ,"value" : "string" ,"archived" : true"jobSecrets" : [ {"name" : "string" ,"value" : "string" ,"authorization" : "string" ,"archived" : true"buildPreservations" : [ {"condition" : "string" ,"count" : 1"defaultFixedIssueFilters" : [ {"jobNames" : "string" ,"issueQuery" : "string""cachePreserveDays" : 1"packSetting" : {"namedQueries" : [ {"name" : "string" ,"query" : "string""pullRequestSetting" : {"namedQueries" : [ {"name" : "string" ,"query" : "string""defaultAssignees" : [ "string" ] ,"deleteSourceBranchAfterMerge" : true"namedCommitQueries" : [ {"name" : "string" ,"query" : "string""namedCodeCommentQueries" : [ {"name" : "string" ,"query" : "string""contributedSettings" : {"string" : {"notifications" : [ {"channelNotification" : {"webhookUrl" : "string" ,"issues" : true ,"issueQuery" : "string" ,"pullRequests" : true ,"pullRequestQuery" : "string" ,"builds" : true ,"buildQuery" : "string" ,"codePush" : true ,"commitQuery" : "string" ,"codeComments" : true ,"codeCommentQuery" : "string"
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> https://git.codedune.app/~api/projects/1/setting