Skip to content

Commit

Permalink
📝 Update Rest API following 4.1.0 and 4.2.0 releases (#3)
Browse files Browse the repository at this point in the history
* 📝 Update Rest API following 4.1.0 and 4.2.0 releases
  • Loading branch information
misherpal authored Oct 8, 2024
1 parent 6d96ac3 commit 9489ac3
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,16 @@
}
}
},
"400": {
"description": "Invalid input parameters.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProjectSettingsError"
}
}
}
},
"401" : {
"description" : "The currently authenticated user does not have PROJECT_ADMIN credentials"
},
Expand Down Expand Up @@ -461,6 +471,17 @@
}
}
},
"ProjectSettingsError": {
"type": "object",
"properties": {
"errors": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ProjectTemplate" : {
"type" : "object",
"properties" : {
Expand Down Expand Up @@ -729,10 +750,21 @@
},
"webhooks" : {
"type" : "boolean"
},
"defaultReviewers": {
"type": "boolean",
"description": "Requires Repository Permissions to be enabled"
},
"pullRequestTemplate": {
"type": "boolean"
},
"reviewerGroups": {
"type": "boolean",
"description": "Requires Repository Permissions to be enabled"
}
},
"description" : "choose all settings which should be copied (when creating a new repository with a template) or reset (when you have the periodic settings reset enabled below) from templates to their associated repositories"
}
}
}
}
}

0 comments on commit 9489ac3

Please sign in to comment.