{"openapi":"3.0.0","info":{"title":"API Specification","version":"1.76.1"},"servers":[{"url":"gateway/code/api/v1"}],"security":[{"bearerAuth":[],"x-api-key":[]}],"paths":{"/checks/recent":{"get":{"operationId":"listStatusCheckRecentSpace","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter the status checks by their UID.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The timestamp (in Unix time millis) since the status checks have been run.","in":"query","name":"since","required":false,"schema":{"type":"integer"}},{"description":"The result should include entities from child spaces.","in":"query","name":"recursive","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List recent status check for acc, org or proj","tags":["status_checks"]}},"/labels":{"get":{"operationId":"listSpaceLabels","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should inherit entities from parent spaces.","in":"query","name":"inherited","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The substring which is used to filter the labels by their key.","in":"query","name":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesLabel"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List labels at account, org or project level","tags":["labels"]},"post":{"operationId":"defineSpaceLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabel"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create label at account, org or project level","tags":["labels"]},"put":{"operationId":"saveSpaceLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"label":{"$ref":"#/components/schemas/TypesSaveLabelInput"},"values":{"items":{"$ref":"#/components/schemas/TypesSaveLabelValueInput"},"type":"array"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelWithValues"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Save label and values at account, org or project level","tags":["labels"]}},"/labels/{key}":{"delete":{"operationId":"deleteSpaceLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete label at account, org or project level","tags":["labels"]},"patch":{"operationId":"updateSpaceLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabel"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update label at account, org or project level","tags":["labels"]}},"/labels/{key}/values":{"get":{"operationId":"listSpaceLabelValues","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesLabelValue"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List label values at account, org or project level","tags":["labels"]},"post":{"operationId":"defineSpaceLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"value":{"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelValue"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create label value at account, org or project level","tags":["labels"]}},"/labels/{key}/values/{value}":{"delete":{"operationId":"deleteSpaceLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}},{"in":"path","name":"value","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete label value at account, org or project level","tags":["labels"]},"patch":{"operationId":"updateSpaceLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}},{"in":"path","name":"value","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"value":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelValue"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update label value at account, org or project level","tags":["labels"]}},"/principals":{"get":{"operationId":"listPrincipals","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring by which the principals are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The types of principals to include.","in":"query","name":"type","required":false,"schema":{"items":{"enum":["service","serviceaccount","user"],"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["principals"]}},"/pullreq":{"get":{"operationId":"listPullReqSpace","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The state of the pull requests to include in the result.","explode":true,"in":"query","name":"state","required":false,"schema":{"items":{"default":"open","enum":["closed","merged","open"],"type":"string"},"type":"array"},"style":"form"},{"description":"Source repository ref of the pull requests.","in":"query","name":"source_repo_ref","required":false,"schema":{"type":"string"}},{"description":"Source branch of the pull requests.","in":"query","name":"source_branch","required":false,"schema":{"type":"string"}},{"description":"Target branch of the pull requests.","in":"query","name":"target_branch","required":false,"schema":{"type":"string"}},{"description":"The substring by which the pull requests are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"List of principal IDs who created pull requests.","explode":true,"in":"query","name":"created_by","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"The result should contain only entries created before this timestamp (unix millis).","in":"query","name":"created_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries created after this timestamp (unix millis).","in":"query","name":"created_gt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries updated before this timestamp (unix millis).","in":"query","name":"updated_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"By providing this parameter the description would be excluded from the response.","in":"query","name":"exclude_description","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The result should contain entries from the desired space and of its subspaces.","in":"query","name":"include_subspaces","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"List of label ids used to filter pull requests.","explode":true,"in":"query","name":"label_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"List of label value ids used to filter pull requests.","explode":true,"in":"query","name":"value_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"Return only pull requests where this user is the author.","in":"query","name":"author_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has created at least one comment.","in":"query","name":"commenter_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been mentioned.","in":"query","name":"mentioned_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been added as a reviewer.","in":"query","name":"reviewer_id","required":false,"schema":{"type":"integer"}},{"description":"Require only this review decision of the reviewer. Requires reviewer_id parameter.","explode":true,"in":"query","name":"review_decision","required":false,"schema":{"items":{"enum":["approved","changereq","pending","reviewed"],"type":"string"},"type":"array"},"style":"form"},{"description":"If true, the git diff stats would be included in the response.","in":"query","name":"include_git_stats","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, the summary of check for the branch commit SHA would be included in the response.","in":"query","name":"include_checks","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of rules that apply to this branch would be included in the response.","in":"query","name":"include_rules","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPullReqRepo"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List pull requests in account/org/project","tags":["pullreq"]}},"/pullreq/count":{"get":{"operationId":"countPullReqSpace","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The state of the pull requests to include in the result.","explode":true,"in":"query","name":"state","required":false,"schema":{"items":{"default":"open","enum":["closed","merged","open"],"type":"string"},"type":"array"},"style":"form"},{"description":"Source repository ref of the pull requests.","in":"query","name":"source_repo_ref","required":false,"schema":{"type":"string"}},{"description":"Source branch of the pull requests.","in":"query","name":"source_branch","required":false,"schema":{"type":"string"}},{"description":"Target branch of the pull requests.","in":"query","name":"target_branch","required":false,"schema":{"type":"string"}},{"description":"The substring by which the pull requests are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"List of principal IDs who created pull requests.","explode":true,"in":"query","name":"created_by","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"The result should contain only entries created before this timestamp (unix millis).","in":"query","name":"created_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries created after this timestamp (unix millis).","in":"query","name":"created_gt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries updated before this timestamp (unix millis).","in":"query","name":"updated_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain entries from the desired space and of its subspaces.","in":"query","name":"include_subspaces","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"List of label ids used to filter pull requests.","explode":true,"in":"query","name":"label_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"List of label value ids used to filter pull requests.","explode":true,"in":"query","name":"value_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"Return only pull requests where this user is the author.","in":"query","name":"author_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has created at least one comment.","in":"query","name":"commenter_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been mentioned.","in":"query","name":"mentioned_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been added as a reviewer.","in":"query","name":"reviewer_id","required":false,"schema":{"type":"integer"}},{"description":"Require only this review decision of the reviewer. Requires reviewer_id parameter.","explode":true,"in":"query","name":"review_decision","required":false,"schema":{"items":{"enum":["approved","changereq","pending","reviewed"],"type":"string"},"type":"array"},"style":"form"},{"description":"If true, a list of rules that apply to this branch would be included in the response.","in":"query","name":"include_rules","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"integer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Count pull requests in account/org/project","tags":["pullreq"]}},"/repos":{"get":{"operationId":"listRepos","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter the repositories by their path name.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The data by which the repositories are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"identifier","enum":["identifier","created","updated"],"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should contain only the favorite entries for the logged in user.","in":"query","name":"only_favorites","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The result should include entities from child spaces.","in":"query","name":"recursive","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RepoRepositoryOutput"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List repositories","tags":["repository"]},"post":{"operationId":"createRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCreateRepositoryRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create repository","tags":["repository"]}},"/repos/{repo_identifier}":{"delete":{"operationId":"deleteRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoSoftDeleteResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Soft delete repository","tags":["repository"]},"get":{"operationId":"getRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get repository","tags":["repository"]},"patch":{"operationId":"updateRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUpdateRepoRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update repository","tags":["repository"]}},"/repos/{repo_identifier}/archive/{git_ref}.{format}":{"get":{"operationId":"archive","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"Without an optional path parameter, all files and subdirectories of the current working directory are included in the archive. If one or more paths are specified, only these are included.","in":"query","name":"path","required":false,"schema":{"items":{"type":"string"},"type":"array"}},{"description":"Prepend <prefix>/ to paths in the archive.","in":"query","name":"prefix","required":false,"schema":{"type":"string"}},{"description":"Look for attributes in .gitattributes files in the working tree as well","in":"query","name":"attributes","required":false,"schema":{"type":"string"}},{"description":"Set modification time of archive entries. Without this option the committer time is used if <tree-ish> is a commit or tag, and the current time if it is a tree.","in":"query","name":"time","required":false,"schema":{"type":"string"}},{"description":"Specify compression level. Larger values allow the command to spend more time to compress to smaller size.","in":"query","name":"compression","required":false,"schema":{"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"git_ref","required":true,"schema":{"type":"string"}},{"in":"path","name":"format","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/gzip":{"schema":{"type":"string"}},"application/tar":{"schema":{"type":"string"}},"application/zip":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Download repo in archived format","tags":["repository"]}},"/repos/{repo_identifier}/blame/{path}":{"get":{"operationId":"getBlame","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"description":"Line number from which the file data is considered","in":"query","name":"line_from","required":false,"schema":{"default":0,"type":"integer"}},{"description":"Line number to which the file data is considered","in":"query","name":"line_to","required":false,"schema":{"default":0,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitBlamePart"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get git blame","tags":["repository"]}},"/repos/{repo_identifier}/branches":{"get":{"operationId":"listBranches","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"Indicates whether optional commit information should be included in the response.","in":"query","name":"include_commit","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The substring by which the branches are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The data by which the branches are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"name","enum":["name","date"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"If true, the summary of check for the branch commit SHA would be included in the response.","in":"query","name":"include_checks","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of rules that apply to this branch would be included in the response.","in":"query","name":"include_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of pull requests from the branch would be included in the response.","in":"query","name":"include_pullreqs","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If greater than zero, branch divergence from the default branch will be included in the response. The divergence would be calculated up the this many commits.","in":"query","name":"max_divergence","required":false,"schema":{"default":0,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesBranchExtended"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List branches","tags":["repository"]},"post":{"operationId":"createBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCreateBranchRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCreateBranchOutput"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create branch","tags":["repository"]}},"/repos/{repo_identifier}/branches/{branch_name}":{"delete":{"operationId":"deleteBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"Bypass rule violations if possible.","in":"query","name":"bypass_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Dry run rules for operations","in":"query","name":"dry_run_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"branch_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesDeleteBranchOutput"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete branch","tags":["repository"]},"get":{"operationId":"getBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"If true, the summary of check for the branch commit SHA would be included in the response.","in":"query","name":"include_checks","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of rules that apply to this branch would be included in the response.","in":"query","name":"include_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of pull requests from the branch would be included in the response.","in":"query","name":"include_pullreqs","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If greater than zero, branch divergence from the default branch will be included in the response. The divergence would be calculated up the this many commits.","in":"query","name":"max_divergence","required":false,"schema":{"default":0,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"branch_name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesBranchExtended"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get branch","tags":["repository"]}},"/repos/{repo_identifier}/checks/commits/{commit_sha}":{"get":{"operationId":"listStatusCheckResults","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The substring which is used to filter the status checks by their UID.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"commit_sha","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesCheck"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List status check results","tags":["status_checks"]},"put":{"operationId":"reportStatusCheckResults","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"commit_sha","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"check_uid":{"deprecated":true,"type":"string"},"ended":{"type":"integer"},"identifier":{"type":"string"},"link":{"type":"string"},"payload":{"$ref":"#/components/schemas/TypesCheckPayload"},"started":{"type":"integer"},"status":{"$ref":"#/components/schemas/EnumCheckStatus"},"summary":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCheck"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Report status check results","tags":["status_checks"]}},"/repos/{repo_identifier}/checks/recent":{"get":{"operationId":"listStatusCheckRecent","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter the status checks by their UID.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The timestamp (in Unix time millis) since the status checks have been run.","in":"query","name":"since","required":false,"schema":{"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List recent status check","tags":["status_checks"]}},"/repos/{repo_identifier}/codeowners/validate":{"get":{"operationId":"codeOwnersValidate","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Validate code owners file","tags":["repository"]}},"/repos/{repo_identifier}/commits":{"get":{"operationId":"listCommits","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"description":"The result should only contain commits that occurred after the provided reference.","in":"query","name":"after","required":false,"schema":{"type":"string"}},{"description":"Path for which commit information should be retrieved","in":"query","name":"path","required":false,"schema":{"default":"","type":"string"}},{"description":"Epoch timestamp since when commit information should be retrieved.","in":"query","name":"since","required":false,"schema":{"example":1728348213,"type":"integer"}},{"description":"Epoch timestamp until when commit information should be retrieved.","in":"query","name":"until","required":false,"schema":{"example":1746668446,"type":"integer"}},{"description":"Committer pattern for which commit information should be retrieved.","in":"query","name":"committer","required":false,"schema":{"type":"string"}},{"description":"Committer principal IDs list for which commit information should be retrieved.","explode":true,"in":"query","name":"committer_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"Author pattern for which commit information should be retrieved.","in":"query","name":"author","required":false,"schema":{"type":"string"}},{"description":"Author principal IDs for which commit information should be retrieved.","explode":true,"in":"query","name":"author_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Indicates whether optional stats should be included in the response.","in":"query","name":"include_stats","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesListCommitResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List commits","tags":["repository"]},"post":{"operationId":"commitFiles","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCommitFilesRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCommitFilesResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Commit files","tags":["repository"]}},"/repos/{repo_identifier}/commits/{commit_sha}":{"get":{"operationId":"getCommit","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"commit_sha","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCommit"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get commit","tags":["repository"]}},"/repos/{repo_identifier}/commits/{commit_sha}/diff":{"get":{"operationId":"getCommitDiff","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"commit_sha","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get raw git diff of a commit","tags":["repository"]}},"/repos/{repo_identifier}/commits/calculate-divergence":{"post":{"operationId":"calculateCommitDivergence","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCalculateCommitDivergenceRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesCommitDivergence"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get commit divergence","tags":["repository"]}},"/repos/{repo_identifier}/content/{path}":{"get":{"operationId":"getContent","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"description":"Indicates whether optional commit information should be included in the response.","in":"query","name":"include_commit","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Flatten directories that contain just one subdirectory.","in":"query","name":"flatten_directories","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiGetContentOutput"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get content of a file","tags":["repository"]}},"/repos/{repo_identifier}/default-branch":{"post":{"operationId":"updateDefaultBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUpdateDefaultBranchRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update default branch","tags":["repository"]}},"/repos/{repo_identifier}/diff-stats/{range}":{"get":{"operationId":"diffStats","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"provide path for diff operation","in":"query","name":"path","schema":{"description":"provide path for diff operation","items":{"type":"string"},"type":"array"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"range","required":true,"schema":{"example":"main..dev","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesDiffStats"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get diff stats","tags":["repository"]}},"/repos/{repo_identifier}/diff/{range}":{"get":{"operationId":"rawDiff","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"provide path for diff operation","in":"query","name":"path","schema":{"description":"provide path for diff operation","items":{"type":"string"},"type":"array"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"range","required":true,"schema":{"example":"main..dev","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitFileDiff"},"type":"array"}},"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get raw diff","tags":["repository"]},"post":{"operationId":"rawDiffPost","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"range","required":true,"schema":{"example":"main..dev","type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiPostRawDiffRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitFileDiff"},"type":"array"}},"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get raw diff","tags":["repository"]}},"/repos/{repo_identifier}/fork":{"post":{"operationId":"forkCreate","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"fork_branch":{"type":"string"},"identifier":{"type":"string"},"is_public":{"nullable":true,"type":"boolean"},"parent_ref":{"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["repository"]}},"/repos/{repo_identifier}/fork-sync":{"post":{"operationId":"forkSyncBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"branch":{"type":"string"},"branch_commit_sha":{"$ref":"#/components/schemas/ShaSHA"},"branch_upstream":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesForkSyncOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["repository"]}},"/repos/{repo_identifier}/labels":{"get":{"operationId":"listRepoLabels","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should inherit entities from parent spaces.","in":"query","name":"inherited","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The substring which is used to filter the labels by their key.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesLabel"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List labels at repo level","tags":["labels"]},"post":{"operationId":"defineRepoLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabel"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create label at repo level","tags":["labels"]},"put":{"operationId":"saveRepoLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"label":{"$ref":"#/components/schemas/TypesSaveLabelInput"},"values":{"items":{"$ref":"#/components/schemas/TypesSaveLabelValueInput"},"type":"array"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelWithValues"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Save label and values at repo level","tags":["labels"]}},"/repos/{repo_identifier}/labels/{key}":{"delete":{"operationId":"deleteRepoLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete label at repo level","tags":["labels"]},"patch":{"operationId":"updateRepoLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabel"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update label at repo level","tags":["labels"]}},"/repos/{repo_identifier}/labels/{key}/values":{"get":{"operationId":"listRepoLabelValues","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesLabelValue"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List label values at repo level","tags":["labels"]},"post":{"operationId":"defineRepoLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"value":{"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelValue"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create label value at repo level","tags":["labels"]}},"/repos/{repo_identifier}/labels/{key}/values/{value}":{"delete":{"operationId":"deleteRepoLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}},{"in":"path","name":"value","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete label value at repo level","tags":["labels"]},"patch":{"operationId":"updateRepoLabelValue","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"key","required":true,"schema":{"type":"string"}},{"in":"path","name":"value","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"value":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesLabelValue"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update label value at repo level","tags":["labels"]}},"/repos/{repo_identifier}/linked/sync":{"post":{"operationId":"linkedSync","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"branches":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoLinkedSyncOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["repository"]}},"/repos/{repo_identifier}/merge-check/{range}":{"post":{"operationId":"mergeCheck","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"provide path for diff operation","in":"query","name":"path","schema":{"description":"provide path for diff operation","items":{"type":"string"},"type":"array"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"range","required":true,"schema":{"example":"main..dev","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoMergeCheck"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Check mergeability","tags":["repository"]}},"/repos/{repo_identifier}/path-details":{"post":{"operationId":"pathDetails","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiPathsDetailsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoPathsDetailsOutput"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get commit details","tags":["repository"]}},"/repos/{repo_identifier}/paths":{"get":{"operationId":"listPaths","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"description":"Indicates whether directories should be included in the response.","in":"query","name":"include_directories","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoListPathsOutput"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List all paths","tags":["repository"]}},"/repos/{repo_identifier}/pullreq":{"get":{"operationId":"listPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The state of the pull requests to include in the result.","explode":true,"in":"query","name":"state","required":false,"schema":{"items":{"default":"open","enum":["closed","merged","open"],"type":"string"},"type":"array"},"style":"form"},{"description":"Source repository ref of the pull requests.","in":"query","name":"source_repo_ref","required":false,"schema":{"type":"string"}},{"description":"Source branch of the pull requests.","in":"query","name":"source_branch","required":false,"schema":{"type":"string"}},{"description":"Target branch of the pull requests.","in":"query","name":"target_branch","required":false,"schema":{"type":"string"}},{"description":"The substring by which the pull requests are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"List of principal IDs who created pull requests.","explode":true,"in":"query","name":"created_by","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The data by which the pull requests are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"number","enum":["created","edited","merged","number","updated"],"type":"string"}},{"description":"The result should contain only entries created before this timestamp (unix millis).","in":"query","name":"created_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries created after this timestamp (unix millis).","in":"query","name":"created_gt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries updated before this timestamp (unix millis).","in":"query","name":"updated_lt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries updated after this timestamp (unix millis).","in":"query","name":"updated_gt","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"By providing this parameter the description would be excluded from the response.","in":"query","name":"exclude_description","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"List of label ids used to filter pull requests.","explode":true,"in":"query","name":"label_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"List of label value ids used to filter pull requests.","explode":true,"in":"query","name":"value_id","required":false,"schema":{"items":{"type":"integer"},"type":"array"},"style":"form"},{"description":"Return only pull requests where this user is the author.","in":"query","name":"author_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has created at least one comment.","in":"query","name":"commenter_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been mentioned.","in":"query","name":"mentioned_id","required":false,"schema":{"type":"integer"}},{"description":"Return only pull requests where this user has been added as a reviewer.","in":"query","name":"reviewer_id","required":false,"schema":{"type":"integer"}},{"description":"Require only this review decision of the reviewer. Requires reviewer_id parameter.","explode":true,"in":"query","name":"review_decision","required":false,"schema":{"items":{"enum":["approved","changereq","pending","reviewed"],"type":"string"},"type":"array"},"style":"form"},{"description":"If true, the git diff stats would be included in the response.","in":"query","name":"include_git_stats","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, the summary of check for the branch commit SHA would be included in the response.","in":"query","name":"include_checks","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"If true, a list of rules that apply to this branch would be included in the response.","in":"query","name":"include_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPullReq"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List pull requests","tags":["pullreq"]},"post":{"operationId":"createPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCreatePullReqRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReq"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create pull request","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}":{"get":{"operationId":"getPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReq"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get pull request","tags":["pullreq"]},"patch":{"operationId":"updatePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUpdatePullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReq"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update pull request","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/activities":{"get":{"operationId":"listPullReqActivities","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The kind of the pull request activity to include in the result.","in":"query","name":"kind","required":false,"schema":{"items":{"enum":["change-comment","comment","system"],"type":"string"},"type":"array"}},{"description":"The type of the pull request activity to include in the result.","in":"query","name":"type","required":false,"schema":{"items":{"enum":["branch-delete","branch-restore","branch-update","code-comment","comment","label-modify","merge","review-submit","reviewer-add","reviewer-delete","state-change","target-branch-change","title-change","user-group-reviewer-add","user-group-reviewer-delete"],"type":"string"},"type":"array"}},{"description":"The result should contain only entries created at and after this timestamp (unix millis).","in":"query","name":"after","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The result should contain only entries created before this timestamp (unix millis).","in":"query","name":"before","required":false,"schema":{"minimum":0,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPullReqActivity"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List activities","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/automerge":{"delete":{"operationId":"prAutoMergeDisable","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Disable the auto-merge option for the pull request.","tags":["pullreq"]},"get":{"operationId":"prAutoMergeGet","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesAutoMergeResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get the auto-merge option for the pull request.","tags":["pullreq"]},"put":{"operationId":"prAutoMergeEnable","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"delete_source_branch":{"type":"boolean"},"message":{"type":"string"},"method":{"$ref":"#/components/schemas/EnumMergeMethod"},"title":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesAutoMergeResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Enable the auto-merge option for the pull request.","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/branch":{"post":{"operationId":"restorePullReqSourceBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"bypass_rules":{"type":"boolean"},"dry_run_rules":{"type":"boolean"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCreateBranchOutput"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Restore source branch","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/checks":{"get":{"operationId":"checksPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqChecks"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get status checks","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/codeowners":{"get":{"operationId":"codeownersPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCodeOwnerEvaluation"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get code owners","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/comments":{"post":{"operationId":"commentCreatePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCommentCreatePullReqRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqActivity"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create new pull request comment","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}":{"delete":{"operationId":"commentDeletePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"pullreq_comment_id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete pull request comment","tags":["pullreq"]},"patch":{"operationId":"commentUpdatePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"pullreq_comment_id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCommentUpdatePullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqActivity"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update pull request comment","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/{pullreq_comment_id}/status":{"put":{"operationId":"commentStatusPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"pullreq_comment_id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCommentStatusPullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqActivity"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update status of pull request comment","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/comments/apply-suggestions":{"post":{"operationId":"commentApplySuggestions","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCommentApplySuggestionstRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullreqCommentApplySuggestionsOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Apply pull request code comment suggestions","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/commits":{"get":{"operationId":"listPullReqCommits","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesCommit"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List commits","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/diff":{"get":{"operationId":"diffPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"provide path for diff operation","in":"query","name":"path","schema":{"description":"provide path for diff operation","items":{"type":"string"},"type":"array"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitFileDiff"},"type":"array"}},"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get file changes","tags":["pullreq"]},"post":{"operationId":"diffPullReqPost","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiPostRawPRDiffRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GitFileDiff"},"type":"array"}},"text/plain":{"schema":{"type":"string"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get file changes","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/file-views":{"get":{"operationId":"fileViewListPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPullReqFileView"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List viewed files","tags":["pullreq"]},"put":{"operationId":"fileViewAddPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiFileViewAddPullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqFileView"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Mark file as viewed","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/file-views/{file_path}":{"delete":{"operationId":"fileViewDeletePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"file_path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Remove file view","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/labels":{"get":{"operationId":"listPullReqLabels","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should contain all labels assignable to the pullreq.","in":"query","name":"assignable","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The substring which is used to filter the labels by their key.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesScopesLabels"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List labels assigned to pull request","tags":["labels"]},"put":{"operationId":"assignLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiPullReqAssignLabelInput"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqLabel"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Assign label to pull request","tags":["labels"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/labels/{label_id}":{"delete":{"operationId":"unassignLabel","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"label_id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Unassign label from pull request","tags":["labels"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/merge":{"post":{"operationId":"mergePullReqOp","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiMergePullReq"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesMergeResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"405":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Method Not Allowed"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesMergeViolations"}}},"description":"Unprocessable Entity"}},"summary":"Merge","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/metadata":{"get":{"operationId":"pullReqMetaData","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqStats"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get metadata","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/revert":{"post":{"operationId":"revertPullReqOp","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"message":{"type":"string"},"revert_branch":{"type":"string"},"title":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRevertResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"405":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Method Not Allowed"}},"summary":"Revert of a merged pull request","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers":{"get":{"operationId":"reviewerListPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesPullReqReviewer"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List reviewers","tags":["pullreq"]},"put":{"operationId":"reviewerAddPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiReviewerAddPullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReqReviewer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Add reviewer","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/{pullreq_reviewer_id}":{"delete":{"operationId":"reviewerDeletePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"pullreq_reviewer_id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Remove reviewer","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/combined":{"get":{"operationId":"reviewerCombinedListPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PullreqCombinedListResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/usergroups":{"put":{"operationId":"userGroupReviewerAddPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUserGroupReviewerAddRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesUserGroupReviewer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviewers/usergroups/{user_group_id}":{"delete":{"operationId":"userGroupReviewerDeletePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}},{"in":"path","name":"user_group_id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/reviews":{"post":{"operationId":"reviewSubmitPullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiReviewSubmitPullReqRequest"}}}},"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Submit review","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/{pullreq_number}/state":{"post":{"operationId":"statePullReq","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"pullreq_number","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiStatePullReqRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesPullReq"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update state of pull request","tags":["pullreq"]}},"/repos/{repo_identifier}/pullreq/candidates":{"get":{"operationId":"prCandidates","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesBranchTable"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["pullreq"]}},"/repos/{repo_identifier}/purge":{"post":{"operationId":"purgeRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The exact time the resource was delete at in epoch format.","in":"query","name":"deleted_at","required":true,"schema":{"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Purge repository","tags":["repository"]}},"/repos/{repo_identifier}/raw/{path}":{"get":{"operationId":"getRaw","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The git reference (branch / tag / commitID) that will be used to retrieve the data. If no value is provided the default branch of the repository is used.","in":"query","name":"git_ref","required":false,"schema":{"default":"{Repository Default Branch}","type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get raw file content","tags":["repository"]}},"/repos/{repo_identifier}/rebase":{"post":{"operationId":"rebaseBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"base_branch":{"type":"string"},"base_commit_sha":{"$ref":"#/components/schemas/ShaSHA"},"bypass_rules":{"type":"boolean"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"head_branch":{"type":"string"},"head_commit_sha":{"$ref":"#/components/schemas/ShaSHA"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRebaseResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesMergeViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Rebase a branch relative to another branch or a commit","tags":["repository"]}},"/repos/{repo_identifier}/restore":{"post":{"operationId":"restoreRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The exact time the resource was delete at in epoch format.","in":"query","name":"deleted_at","required":true,"schema":{"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRestoreRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Restore repository","tags":["repository"]}},"/repos/{repo_identifier}/rules":{"get":{"operationId":"repoRuleList","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring by which the repository protection rules are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The field by which the protection rules are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"created_at","enum":["created_at","identifier","uid","updated_at"],"type":"string"}},{"description":"The types of rules to include.","explode":true,"in":"query","name":"type","required":false,"schema":{"items":{"enum":["branch","tag","push"],"type":"string"},"type":"array"},"style":"form"},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should inherit entities from parent spaces.","in":"query","name":"inherited","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OpenapiRule"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List repo protection rules","tags":["rules"]},"post":{"operationId":"repoRuleAdd","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"definition":{"$ref":"#/components/schemas/OpenapiRuleDefinition"},"description":{"type":"string"},"identifier":{"type":"string"},"pattern":{"$ref":"#/components/schemas/ProtectionPattern"},"repo_target":{"$ref":"#/components/schemas/ProtectionRepoTarget"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/OpenapiRuleType"},"uid":{"deprecated":true,"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"Created"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Add repo protection rule","tags":["rules"]}},"/repos/{repo_identifier}/rules/{rule_identifier}":{"delete":{"operationId":"repoRuleDelete","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete repo protection rule","tags":["rules"]},"get":{"operationId":"repoRuleGet","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get repo protection rule","tags":["rules"]},"patch":{"operationId":"repoRuleUpdate","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"definition":{"$ref":"#/components/schemas/OpenapiRuleDefinition"},"description":{"nullable":true,"type":"string"},"identifier":{"nullable":true,"type":"string"},"pattern":{"$ref":"#/components/schemas/ProtectionPattern"},"repo_target":{"$ref":"#/components/schemas/ProtectionRepoTarget"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/OpenapiRuleType"},"uid":{"deprecated":true,"nullable":true,"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update repo protection rule","tags":["rules"]}},"/repos/{repo_identifier}/settings/general":{"get":{"operationId":"findGeneralSettings","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReposettingsGeneralSettings"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get general settings","tags":["repository"]},"patch":{"operationId":"updateGeneralSettings","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiGeneralSettingsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReposettingsGeneralSettings"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update general settings","tags":["repository"]}},"/repos/{repo_identifier}/settings/security":{"get":{"operationId":"findSecuritySettings","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReposettingsSecuritySettings"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get security settings","tags":["repository"]},"patch":{"operationId":"updateSecuritySettings","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiSecuritySettingsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReposettingsSecuritySettings"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update security settings","tags":["repository"]}},"/repos/{repo_identifier}/squash":{"post":{"operationId":"squashBranch","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"base_branch":{"type":"string"},"base_commit_sha":{"$ref":"#/components/schemas/ShaSHA"},"bypass_rules":{"type":"boolean"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"head_branch":{"type":"string"},"head_commit_sha":{"$ref":"#/components/schemas/ShaSHA"},"message":{"type":"string"},"title":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesSquashResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesMergeViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Squashes commits in a branch relative to another branch or a commit","tags":["repository"]}},"/repos/{repo_identifier}/summary":{"get":{"operationId":"summary","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRepositorySummary"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get repository summary","tags":["repository"]}},"/repos/{repo_identifier}/tags":{"get":{"operationId":"listTags","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"Indicates whether optional commit information should be included in the response.","in":"query","name":"include_commit","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"The substring by which the tags are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The data by which the tags are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"name","enum":["name","date"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesCommitTag"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List tags","tags":["repository"]},"post":{"operationId":"createTag","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCreateTagRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesCommitTag"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create tag","tags":["repository"]}},"/repos/{repo_identifier}/tags/{tag_name}":{"delete":{"operationId":"deleteTag","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"Bypass rule violations if possible.","in":"query","name":"bypass_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"description":"Dry run rules for operations","in":"query","name":"dry_run_rules","required":false,"schema":{"default":false,"type":"boolean"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"tag_name","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Conflict"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesRulesViolations"}}},"description":"Unprocessable Entity"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete tag","tags":["repository"]}},"/repos/{repo_identifier}/uploads":{"post":{"operationId":"repoArtifactUpload","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/octet-stream":{"schema":{}}},"description":"Binary file to upload","required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResult"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Repo artifact upload","tags":["upload"]}},"/repos/{repo_identifier}/uploads/{file_ref}":{"get":{"operationId":"repoArtifactDownload","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"file_ref","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"307":{"description":"Temporary Redirect"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Repo artifact download","tags":["upload"]}},"/repos/{repo_identifier}/webhooks":{"get":{"operationId":"listRepoWebhooks","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter the webhooks by their identifier.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The data by which the webhooks are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"identifier","enum":["id","uid","display_name","created","updated"],"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OpenapiWebhookType"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List repo webhooks","tags":["webhook"]},"post":{"operationId":"createRepoWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiCreateRepoWebhookRequest"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create repo webhook","tags":["webhook"]}},"/repos/{repo_identifier}/webhooks/{webhook_identifier}":{"delete":{"operationId":"deleteRepoWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete repo webhook","tags":["webhook"]},"get":{"operationId":"getRepoWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get repo webhook","tags":["webhook"]},"patch":{"operationId":"updateRepoWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUpdateRepoWebhookRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update repo webhook","tags":["webhook"]}},"/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions":{"get":{"operationId":"listRepoWebhookExecutions","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesWebhookExecution"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List repo webhook executions","tags":["webhook"]}},"/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}":{"get":{"operationId":"getRepoWebhookExecution","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_execution_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesWebhookExecution"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get repo webhook execution","tags":["webhook"]}},"/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger":{"post":{"operationId":"retriggerRepoWebhookExecution","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"repo_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_execution_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesWebhookExecution"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Retrigger repo webhook execution","tags":["webhook"]}},"/repos/import":{"post":{"operationId":"importRepository","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"type":"string"},"identifier":{"type":"string"},"parent_ref":{"type":"string"},"pipelines":{"$ref":"#/components/schemas/ImporterPipelineOption"},"provider":{"$ref":"#/components/schemas/ImporterProvider"},"provider_repo":{"type":"string"},"uid":{"deprecated":true,"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Import repository","tags":["repository"]}},"/repos/link":{"post":{"operationId":"linkedCreate","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"connector":{"$ref":"#/components/schemas/ImporterConnectorDef"},"description":{"type":"string"},"identifier":{"type":"string"},"is_public":{"type":"boolean"},"parent_ref":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRepositoryOutput"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"tags":["repository"]}},"/resources/gitignore":{"get":{"operationId":"listGitignore","responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List available gitignore names","tags":["resource"]}},"/resources/license":{"get":{"operationId":"listLicenses","responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List available license names","tags":["resource"]}},"/rules":{"get":{"operationId":"spaceRuleList","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring by which the repository protection rules are filtered.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The types of rules to include.","explode":true,"in":"query","name":"type","required":false,"schema":{"items":{"enum":["branch","tag","push"],"type":"string"},"type":"array"},"style":"form"},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The field by which the protection rules are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"created_at","enum":["created_at","identifier","uid","updated_at"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"description":"The result should inherit entities from parent spaces.","in":"query","name":"inherited","required":false,"schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OpenapiRule"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List acc/org/proj protection rules","tags":["rules"]},"post":{"operationId":"spaceRuleAdd","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"definition":{"$ref":"#/components/schemas/OpenapiRuleDefinition"},"description":{"type":"string"},"identifier":{"type":"string"},"pattern":{"$ref":"#/components/schemas/ProtectionPattern"},"repo_target":{"$ref":"#/components/schemas/ProtectionRepoTarget"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/OpenapiRuleType"},"uid":{"deprecated":true,"type":"string"}},"type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"Created"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Add acc/org/proj protection rule","tags":["rules"]}},"/rules/{rule_identifier}":{"delete":{"operationId":"spaceRuleDelete","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete acc/org/proj protection rule","tags":["rules"]},"get":{"operationId":"spaceRuleGet","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get acc/org/proj protection rule","tags":["rules"]},"patch":{"operationId":"spaceRuleUpdate","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"rule_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"definition":{"$ref":"#/components/schemas/OpenapiRuleDefinition"},"description":{"nullable":true,"type":"string"},"identifier":{"nullable":true,"type":"string"},"pattern":{"$ref":"#/components/schemas/ProtectionPattern"},"repo_target":{"$ref":"#/components/schemas/ProtectionRepoTarget"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/OpenapiRuleType"},"uid":{"deprecated":true,"nullable":true,"type":"string"}},"type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiRule"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update acc/org/proj protection rule","tags":["rules"]}},"/user/favorite":{"post":{"operationId":"createFavorite","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesFavoriteResource"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesFavoriteResource"}}},"description":"Created"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create favorite","tags":["user"]}},"/user/favorite/{resource_id}":{"delete":{"operationId":"deleteFavorite","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The type of the resource to be unfavorited.","in":"query","name":"resource_type","required":false,"schema":{"enum":["CONNECTOR","GITSPACE","INFRAPROVIDER","PIPELINE","REGISTRY","REPOSITORY","SECRET","SERVICE","SERVICEACCOUNT","SPACE","TEMPLATE","USER"],"type":"string"}},{"in":"path","name":"resource_id","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Not Found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete favorite","tags":["user"]}},"/usergroups":{"get":{"operationId":"listUsergroups","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter usergroups by their identifier.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesUserGroupInfo"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List usergroups at account, org or project level","tags":["usergroups"]}},"/webhooks":{"get":{"operationId":"listSpaceWebhooks","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The substring which is used to filter the webhooks by their identifier.","in":"query","name":"query","required":false,"schema":{"type":"string"}},{"description":"The data by which the webhooks are sorted.","in":"query","name":"sort","required":false,"schema":{"default":"identifier","enum":["id","uid","display_name","created","updated"],"type":"string"}},{"description":"The order of the output.","in":"query","name":"order","required":false,"schema":{"default":"asc","enum":["asc","desc"],"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OpenapiWebhookType"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List acc, org or proj webhooks","tags":["webhook"]},"post":{"operationId":"createSpaceWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesWebhookCreateInput"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"Created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Create acc, org or proj webhook","tags":["webhook"]}},"/webhooks/{webhook_identifier}":{"delete":{"operationId":"deleteSpaceWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Delete acc, org or proj webhook","tags":["webhook"]},"get":{"operationId":"getSpaceWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get acc, org or proj webhook","tags":["webhook"]},"patch":{"operationId":"updateSpaceWebhook","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiUpdateSpaceWebhookRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenapiWebhookType"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Update acc, org or proj webhook","tags":["webhook"]}},"/webhooks/{webhook_identifier}/executions":{"get":{"operationId":"listSpaceWebhookExecutions","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TypesWebhookExecution"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"List acc, org or proj webhook executions","tags":["webhook"]}},"/webhooks/{webhook_identifier}/executions/{webhook_execution_id}":{"get":{"operationId":"getSpaceWebhookExecution","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"description":"The page to return.","in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"type":"integer"}},{"description":"The maximum number of results to return.","in":"query","name":"limit","required":false,"schema":{"default":30,"maximum":100,"minimum":1,"type":"integer"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_execution_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesWebhookExecution"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Get acc, org or proj webhook execution","tags":["webhook"]}},"/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger":{"post":{"operationId":"retriggerSpaceWebhookExecution","parameters":[{"description":"Account Identifier for the Entity.","in":"query","name":"accountIdentifier","required":true,"schema":{"type":"string"}},{"description":"Organization Identifier for the Entity.","in":"query","name":"orgIdentifier","required":false,"schema":{"type":"string"}},{"description":"Project Identifier for the Entity.","in":"query","name":"projectIdentifier","required":false,"schema":{"type":"string"}},{"in":"path","name":"webhook_identifier","required":true,"schema":{"type":"string"}},{"in":"path","name":"webhook_execution_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesWebhookExecution"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Forbidden"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsererrorError"}}},"description":"Internal Server Error"}},"summary":"Retrigger acc, org or proj webhook execution","tags":["webhook"]}}},"components":{"schemas":{"ApiFileDiffRequest":{"properties":{"path":{"type":"string"},"start_line":{"type":"integer"}},"type":"object"},"EnumCheckPayloadKind":{"enum":["","markdown","pipeline","raw"],"type":"string"},"EnumCheckStatus":{"enum":["error","failure","failure_ignored","pending","running","success"],"type":"string"},"EnumContentEncodingType":{"enum":["base64","utf8"],"type":"string"},"EnumFileDiffStatus":{"type":"string"},"EnumGitSignatureResult":{"enum":["bad","good","invalid","key_expired","revoked","unsupported","unverified"],"type":"string"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"},"EnumLabelType":{"enum":["dynamic","static"],"type":"string"},"EnumMergeCheckStatus":{"type":"string"},"EnumMergeMethod":{"enum":["fast-forward","merge","rebase","squash"],"type":"string"},"EnumPrincipalType":{"enum":["service","serviceaccount","user"],"type":"string"},"EnumPublicKeyScheme":{"enum":["pgp","ssh"],"type":"string"},"EnumPullReqActivityKind":{"enum":["change-comment","comment","system"],"type":"string"},"EnumPullReqActivityType":{"enum":["branch-delete","branch-restore","branch-update","code-comment","comment","label-modify","merge","review-submit","reviewer-add","reviewer-delete","state-change","target-branch-change","title-change","user-group-reviewer-add","user-group-reviewer-delete"],"type":"string"},"EnumPullReqCommentStatus":{"enum":["active","resolved"],"type":"string"},"EnumPullReqReviewDecision":{"enum":["approved","changereq","pending","reviewed"],"type":"string"},"EnumPullReqReviewerType":{"enum":["assigned","code_owners","default","requested","self_assigned"],"type":"string"},"EnumPullReqState":{"enum":["closed","merged","open"],"type":"string"},"EnumPullReqSubState":{"enum":["","auto_merge"],"type":"string"},"EnumRepoState":{"nullable":true,"type":"integer"},"EnumRepoType":{"type":"string"},"EnumResourceType":{"enum":["CONNECTOR","GITSPACE","INFRAPROVIDER","PIPELINE","REGISTRY","REPOSITORY","SECRET","SERVICE","SERVICEACCOUNT","SPACE","TEMPLATE","USER"],"type":"string"},"EnumRuleState":{"enum":["active","disabled","monitor"],"nullable":true,"type":"string"},"EnumRuleType":{"enum":["branch","push","tag"],"type":"string"},"EnumWebhookExecutionResult":{"enum":["fatal_error","retriable_error","success"],"nullable":true,"type":"string"},"EnumWebhookParent":{"enum":["registry","repo","space"],"type":"string"},"EnumWebhookTrigger":{"enum":["artifact_created","artifact_deleted","branch_created","branch_deleted","branch_updated","pullreq_branch_updated","pullreq_closed","pullreq_comment_created","pullreq_comment_status_updated","pullreq_comment_updated","pullreq_created","pullreq_label_assigned","pullreq_merged","pullreq_reopened","pullreq_review_submitted","pullreq_target_branch_changed","pullreq_updated","tag_created","tag_deleted","tag_updated"],"type":"string"},"GitBlamePart":{"properties":{"commit":{"$ref":"#/components/schemas/GitCommit"},"lines":{"items":{"type":"string"},"nullable":true,"type":"array"},"previous":{"$ref":"#/components/schemas/GitBlamePartPrevious"}},"type":"object"},"GitBlamePartPrevious":{"properties":{"commit_sha":{"$ref":"#/components/schemas/ShaSHA"},"file_name":{"type":"string"}},"type":"object"},"GitCommit":{"nullable":true,"properties":{"author":{"$ref":"#/components/schemas/GitSignature"},"committer":{"$ref":"#/components/schemas/GitSignature"},"file_stats":{"items":{"$ref":"#/components/schemas/GitCommitFileStats"},"type":"array"},"message":{"type":"string"},"parent_shas":{"items":{"$ref":"#/components/schemas/ShaSHA"},"type":"array"},"sha":{"$ref":"#/components/schemas/ShaSHA"},"title":{"type":"string"}},"type":"object"},"GitCommitFileStats":{"type":"object"},"GitFileAction":{"enum":["CREATE","UPDATE","DELETE","MOVE","PATCH_TEXT"],"type":"string"},"GitFileDiff":{"properties":{"additions":{"type":"integer"},"changes":{"type":"integer"},"deletions":{"type":"integer"},"is_binary":{"type":"boolean"},"is_submodule":{"type":"boolean"},"old_path":{"type":"string"},"old_sha":{"type":"string"},"patch":{"items":{"minimum":0,"type":"integer"},"type":"array"},"path":{"type":"string"},"sha":{"type":"string"},"status":{"$ref":"#/components/schemas/EnumFileDiffStatus"}},"type":"object"},"GitIdentity":{"nullable":true,"properties":{"email":{"type":"string"},"name":{"type":"string"}},"type":"object"},"GitSignature":{"properties":{"identity":{"$ref":"#/components/schemas/GitIdentity"},"when":{"format":"date-time","type":"string"}},"type":"object"},"HookReferenceUpdate":{"properties":{"new":{"$ref":"#/components/schemas/ShaSHA"},"old":{"$ref":"#/components/schemas/ShaSHA"},"ref":{"type":"string"}},"type":"object"},"ImporterConnectorDef":{"properties":{"identifier":{"type":"string"},"path":{"type":"string"}},"type":"object"},"ImporterPipelineOption":{"enum":["convert","ignore"],"type":"string"},"ImporterProvider":{"properties":{"host":{"type":"string"},"password":{"type":"string"},"type":{"$ref":"#/components/schemas/ImporterProviderType"},"username":{"type":"string"}},"type":"object"},"ImporterProviderType":{"enum":["github","gitlab","bitbucket","stash","gitea","gogs","azure"],"type":"string"},"OpenapiCalculateCommitDivergenceRequest":{"properties":{"max_count":{"type":"integer"},"requests":{"items":{"$ref":"#/components/schemas/RepoCommitDivergenceRequest"},"nullable":true,"type":"array"}},"type":"object"},"OpenapiCommentApplySuggestionstRequest":{"properties":{"bypass_rules":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"message":{"type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/PullreqSuggestionReference"},"nullable":true,"type":"array"},"title":{"type":"string"}},"type":"object"},"OpenapiCommentCreatePullReqRequest":{"properties":{"line_end":{"type":"integer"},"line_end_new":{"type":"boolean"},"line_start":{"type":"integer"},"line_start_new":{"type":"boolean"},"parent_id":{"type":"integer"},"path":{"type":"string"},"source_commit_sha":{"type":"string"},"target_commit_sha":{"type":"string"},"text":{"type":"string"}},"type":"object"},"OpenapiCommentStatusPullReqRequest":{"properties":{"status":{"$ref":"#/components/schemas/EnumPullReqCommentStatus"}},"type":"object"},"OpenapiCommentUpdatePullReqRequest":{"properties":{"text":{"type":"string"}},"type":"object"},"OpenapiCommitFilesRequest":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/RepoCommitFileAction"},"nullable":true,"type":"array"},"author":{"$ref":"#/components/schemas/GitIdentity"},"branch":{"type":"string"},"bypass_rules":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"message":{"type":"string"},"new_branch":{"type":"string"},"title":{"type":"string"}},"type":"object"},"OpenapiContent":{"oneOf":[{"$ref":"#/components/schemas/RepoFileContent"},{"$ref":"#/components/schemas/OpenapiDirContent"},{"$ref":"#/components/schemas/RepoSymlinkContent"},{"$ref":"#/components/schemas/RepoSubmoduleContent"}],"type":"object"},"OpenapiContentInfo":{"properties":{"latest_commit":{"$ref":"#/components/schemas/TypesCommit"},"name":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenapiContentType"}},"type":"object"},"OpenapiContentType":{"enum":["file","dir","symlink","submodule"],"type":"string"},"OpenapiCreateBranchRequest":{"properties":{"bypass_rules":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"name":{"type":"string"},"target":{"type":"string"}},"type":"object"},"OpenapiCreatePullReqRequest":{"properties":{"bypass_rules":{"type":"boolean"},"description":{"type":"string"},"is_draft":{"type":"boolean"},"labels":{"items":{"$ref":"#/components/schemas/TypesPullReqLabelAssignInput"},"nullable":true,"type":"array"},"reviewer_ids":{"items":{"type":"integer"},"nullable":true,"type":"array"},"source_branch":{"type":"string"},"source_repo_ref":{"type":"string"},"target_branch":{"type":"string"},"title":{"type":"string"},"user_group_reviewer_ids":{"items":{"type":"integer"},"nullable":true,"type":"array"}},"type":"object"},"OpenapiCreateRepoWebhookRequest":{"properties":{"description":{"type":"string"},"display_name":{"type":"string"},"enabled":{"type":"boolean"},"extra_headers":{"items":{"$ref":"#/components/schemas/TypesExtraHeader"},"type":"array"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"secret":{"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"nullable":true,"type":"array"},"uid":{"deprecated":true,"type":"string"},"url":{"type":"string"}},"type":"object"},"OpenapiCreateRepositoryRequest":{"properties":{"default_branch":{"type":"string"},"description":{"type":"string"},"fork_id":{"type":"integer"},"git_ignore":{"type":"string"},"identifier":{"type":"string"},"is_public":{"type":"boolean"},"license":{"type":"string"},"parent_ref":{"type":"string"},"readme":{"type":"boolean"},"tags":{"$ref":"#/components/schemas/TypesRepoTags"},"uid":{"deprecated":true,"type":"string"}},"type":"object"},"OpenapiCreateTagRequest":{"properties":{"bypass_rules":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"message":{"type":"string"},"name":{"type":"string"},"target":{"type":"string"}},"type":"object"},"OpenapiDirContent":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/OpenapiContentInfo"},"nullable":true,"type":"array"}},"type":"object"},"OpenapiFileViewAddPullReqRequest":{"properties":{"commit_sha":{"type":"string"},"path":{"type":"string"}},"type":"object"},"OpenapiGeneralSettingsRequest":{"properties":{"file_size_limit":{"description":"file size limit in bytes","nullable":true,"type":"integer"},"git_lfs_enabled":{"nullable":true,"type":"boolean"}},"type":"object"},"OpenapiGetContentOutput":{"properties":{"content":{"$ref":"#/components/schemas/OpenapiContent"},"latest_commit":{"$ref":"#/components/schemas/TypesCommit"},"name":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"type":{"$ref":"#/components/schemas/OpenapiContentType"}},"type":"object"},"OpenapiMergePullReq":{"properties":{"bypass_message":{"type":"string"},"bypass_rules":{"type":"boolean"},"delete_source_branch":{"type":"boolean"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"message":{"type":"string"},"method":{"$ref":"#/components/schemas/EnumMergeMethod"},"source_sha":{"type":"string"},"title":{"type":"string"}},"type":"object"},"OpenapiPathsDetailsRequest":{"properties":{"paths":{"items":{"type":"string"},"nullable":true,"type":"array"}},"type":"object"},"OpenapiPostRawDiffRequest":{"items":{"$ref":"#/components/schemas/ApiFileDiffRequest"},"nullable":true,"type":"array"},"OpenapiPostRawPRDiffRequest":{"items":{"$ref":"#/components/schemas/ApiFileDiffRequest"},"nullable":true,"type":"array"},"OpenapiPullReqAssignLabelInput":{"properties":{"label_id":{"type":"integer"},"value":{"type":"string"},"value_id":{"nullable":true,"type":"integer"}},"type":"object"},"OpenapiRestoreRequest":{"properties":{"new_identifier":{"nullable":true,"type":"string"},"new_parent_ref":{"nullable":true,"type":"string"}},"type":"object"},"OpenapiReviewSubmitPullReqRequest":{"properties":{"commit_sha":{"type":"string"},"decision":{"$ref":"#/components/schemas/EnumPullReqReviewDecision"}},"type":"object"},"OpenapiReviewerAddPullReqRequest":{"properties":{"reviewer_id":{"type":"integer"}},"type":"object"},"OpenapiRule":{"properties":{"created":{"type":"integer"},"created_by":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"definition":{"$ref":"#/components/schemas/OpenapiRuleDefinition"},"description":{"type":"string"},"identifier":{"type":"string"},"pattern":{"$ref":"#/components/schemas/ProtectionPattern"},"repo_target":{"$ref":"#/components/schemas/ProtectionRepoTarget"},"repositories":{"additionalProperties":{"$ref":"#/components/schemas/TypesRepositoryCore"},"nullable":true,"type":"object"},"scope":{"type":"integer"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/OpenapiRuleType"},"updated":{"type":"integer"},"user_groups":{"additionalProperties":{"$ref":"#/components/schemas/TypesUserGroupInfo"},"nullable":true,"type":"object"},"users":{"additionalProperties":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"nullable":true,"type":"object"}},"type":"object"},"OpenapiRuleDefinition":{"oneOf":[{"$ref":"#/components/schemas/ProtectionBranch"},{"$ref":"#/components/schemas/ProtectionTag"},{"$ref":"#/components/schemas/ProtectionPush"}],"type":"object"},"OpenapiRuleType":{"enum":["branch","tag","push"],"type":"string"},"OpenapiSecuritySettingsRequest":{"properties":{"principal_committer_match":{"nullable":true,"type":"boolean"},"secret_scanning_enabled":{"nullable":true,"type":"boolean"},"vulnerability_scanning_mode":{"$ref":"#/components/schemas/SettingsVulnerabilityScanningMode"}},"type":"object"},"OpenapiStatePullReqRequest":{"properties":{"is_draft":{"type":"boolean"},"state":{"$ref":"#/components/schemas/EnumPullReqState"}},"type":"object"},"OpenapiUpdateDefaultBranchRequest":{"properties":{"name":{"type":"string"}},"type":"object"},"OpenapiUpdatePullReqRequest":{"properties":{"description":{"type":"string"},"title":{"type":"string"}},"type":"object"},"OpenapiUpdateRepoPublicAccessRequest":{"properties":{"is_public":{"type":"boolean"}},"type":"object"},"OpenapiUpdateRepoRequest":{"properties":{"description":{"nullable":true,"type":"string"},"state":{"$ref":"#/components/schemas/EnumRepoState"},"tags":{"$ref":"#/components/schemas/TypesRepoTags"}},"type":"object"},"OpenapiUpdateRepoWebhookRequest":{"properties":{"description":{"nullable":true,"type":"string"},"display_name":{"nullable":true,"type":"string"},"enabled":{"nullable":true,"type":"boolean"},"extra_headers":{"items":{"$ref":"#/components/schemas/TypesExtraHeader"},"type":"array"},"identifier":{"nullable":true,"type":"string"},"insecure":{"nullable":true,"type":"boolean"},"secret":{"nullable":true,"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"nullable":true,"type":"array"},"uid":{"deprecated":true,"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"OpenapiUpdateSpaceWebhookRequest":{"properties":{"description":{"nullable":true,"type":"string"},"display_name":{"nullable":true,"type":"string"},"enabled":{"nullable":true,"type":"boolean"},"extra_headers":{"items":{"$ref":"#/components/schemas/TypesExtraHeader"},"type":"array"},"identifier":{"nullable":true,"type":"string"},"insecure":{"nullable":true,"type":"boolean"},"secret":{"nullable":true,"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"nullable":true,"type":"array"},"uid":{"deprecated":true,"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"}},"type":"object"},"OpenapiUserGroupReviewerAddRequest":{"properties":{"usergroup_id":{"type":"integer"}},"type":"object"},"OpenapiWebhookType":{"properties":{"created":{"type":"integer"},"created_by":{"type":"integer"},"description":{"type":"string"},"display_name":{"type":"string"},"enabled":{"type":"boolean"},"extra_headers":{"items":{"$ref":"#/components/schemas/TypesExtraHeader"},"type":"array"},"has_secret":{"type":"boolean"},"id":{"type":"integer"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"latest_execution_result":{"$ref":"#/components/schemas/EnumWebhookExecutionResult"},"parent_id":{"type":"integer"},"parent_type":{"$ref":"#/components/schemas/EnumWebhookParent"},"scope":{"type":"integer"},"triggers":{"items":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"nullable":true,"type":"array"},"updated":{"type":"integer"},"url":{"type":"string"},"version":{"type":"integer"}},"type":"object"},"ProtectionBranch":{"properties":{"bypass":{"$ref":"#/components/schemas/ProtectionDefBypass"},"lifecycle":{"$ref":"#/components/schemas/ProtectionDefBranchLifecycle"},"pullreq":{"$ref":"#/components/schemas/ProtectionDefPullReq"}},"type":"object"},"ProtectionDefApprovals":{"properties":{"require_code_owners":{"type":"boolean"},"require_latest_commit":{"type":"boolean"},"require_minimum_count":{"type":"integer"},"require_minimum_default_reviewer_count":{"type":"integer"},"require_no_change_request":{"type":"boolean"}},"type":"object"},"ProtectionDefBranchLifecycle":{"properties":{"create_forbidden":{"type":"boolean"},"delete_forbidden":{"type":"boolean"},"update_forbidden":{"type":"boolean"},"update_force_forbidden":{"type":"boolean"}},"type":"object"},"ProtectionDefBypass":{"properties":{"repo_owners":{"type":"boolean"},"user_group_ids":{"items":{"type":"integer"},"type":"array"},"user_ids":{"items":{"type":"integer"},"type":"array"}},"type":"object"},"ProtectionDefComments":{"properties":{"require_resolve_all":{"type":"boolean"}},"type":"object"},"ProtectionDefMerge":{"properties":{"block":{"type":"boolean"},"delete_branch":{"type":"boolean"},"require_bypass_message":{"type":"boolean"},"strategies_allowed":{"items":{"$ref":"#/components/schemas/EnumMergeMethod"},"type":"array"}},"type":"object"},"ProtectionDefPullReq":{"properties":{"approvals":{"$ref":"#/components/schemas/ProtectionDefApprovals"},"comments":{"$ref":"#/components/schemas/ProtectionDefComments"},"merge":{"$ref":"#/components/schemas/ProtectionDefMerge"},"reviewers":{"$ref":"#/components/schemas/ProtectionDefReviewers"},"status_checks":{"$ref":"#/components/schemas/ProtectionDefStatusChecks"}},"type":"object"},"ProtectionDefPush":{"properties":{"file_size_limit":{"type":"integer"},"principal_committer_match":{"type":"boolean"},"secret_scanning_enabled":{"type":"boolean"}},"type":"object"},"ProtectionDefReviewers":{"properties":{"default_reviewer_ids":{"items":{"type":"integer"},"type":"array"},"default_user_group_reviewer_ids":{"items":{"type":"integer"},"type":"array"},"request_code_owners":{"type":"boolean"}},"type":"object"},"ProtectionDefStatusChecks":{"properties":{"require_identifiers":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ProtectionDefTagLifecycle":{"properties":{"create_forbidden":{"type":"boolean"},"delete_forbidden":{"type":"boolean"},"update_force_forbidden":{"type":"boolean"}},"type":"object"},"ProtectionPattern":{"nullable":true,"properties":{"default":{"type":"boolean"},"exclude":{"items":{"type":"string"},"type":"array"},"include":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ProtectionPush":{"properties":{"bypass":{"$ref":"#/components/schemas/ProtectionDefBypass"},"push":{"$ref":"#/components/schemas/ProtectionDefPush"}},"type":"object"},"ProtectionRepoTarget":{"nullable":true,"properties":{"exclude":{"$ref":"#/components/schemas/ProtectionRepoTargetFilter"},"include":{"$ref":"#/components/schemas/ProtectionRepoTargetFilter"}},"type":"object"},"ProtectionRepoTargetFilter":{"properties":{"ids":{"items":{"type":"integer"},"type":"array"},"patterns":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ProtectionTag":{"properties":{"bypass":{"$ref":"#/components/schemas/ProtectionDefBypass"},"lifecycle":{"$ref":"#/components/schemas/ProtectionDefTagLifecycle"}},"type":"object"},"PullreqCombinedListResponse":{"properties":{"reviewers":{"items":{"$ref":"#/components/schemas/TypesPullReqReviewer"},"type":"array"},"user_group_reviewers":{"items":{"$ref":"#/components/schemas/TypesUserGroupReviewer"},"type":"array"}},"type":"object"},"PullreqCommentApplySuggestionsOutput":{"properties":{"commit_id":{"type":"string"},"dry_run_rules":{"type":"boolean"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"PullreqSuggestionReference":{"properties":{"check_sum":{"type":"string"},"comment_id":{"type":"integer"}},"type":"object"},"RepoCommitDivergenceRequest":{"properties":{"from":{"type":"string"},"to":{"type":"string"}},"type":"object"},"RepoCommitFileAction":{"properties":{"action":{"$ref":"#/components/schemas/GitFileAction"},"encoding":{"$ref":"#/components/schemas/EnumContentEncodingType"},"path":{"type":"string"},"payload":{"type":"string"},"sha":{"$ref":"#/components/schemas/ShaSHA"}},"type":"object"},"RepoContent":{},"RepoContentInfo":{"properties":{"latest_commit":{"$ref":"#/components/schemas/TypesCommit"},"name":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"type":{"$ref":"#/components/schemas/RepoContentType"}},"type":"object"},"RepoContentType":{"type":"string"},"RepoFileContent":{"properties":{"data":{"type":"string"},"data_size":{"type":"integer"},"encoding":{"$ref":"#/components/schemas/EnumContentEncodingType"},"lfs_object_id":{"type":"string"},"lfs_object_size":{"type":"integer"},"size":{"type":"integer"}},"type":"object"},"RepoLinkedSyncOutput":{"properties":{"branches":{"items":{"$ref":"#/components/schemas/HookReferenceUpdate"},"nullable":true,"type":"array"}},"type":"object"},"RepoListPathsOutput":{"properties":{"directories":{"items":{"type":"string"},"type":"array"},"files":{"items":{"type":"string"},"type":"array"}},"type":"object"},"RepoMergeCheck":{"properties":{"conflict_files":{"items":{"type":"string"},"type":"array"},"mergeable":{"type":"boolean"}},"type":"object"},"RepoPathsDetailsOutput":{"properties":{"details":{"items":{"$ref":"#/components/schemas/TypesPathDetails"},"nullable":true,"type":"array"}},"type":"object"},"RepoRepositoryOutput":{"properties":{"archived":{"type":"boolean"},"created":{"type":"integer"},"created_by":{"type":"integer"},"default_branch":{"type":"string"},"deleted":{"nullable":true,"type":"integer"},"description":{"type":"string"},"fork_id":{"type":"integer"},"git_ssh_url":{"type":"string"},"git_url":{"type":"string"},"id":{"type":"integer"},"identifier":{"type":"string"},"importing":{"type":"boolean"},"is_empty":{"type":"boolean"},"is_favorite":{"type":"boolean"},"is_public":{"type":"boolean"},"language":{"type":"string"},"last_git_push":{"type":"integer"},"num_closed_pulls":{"type":"integer"},"num_forks":{"type":"integer"},"num_merged_pulls":{"type":"integer"},"num_open_pulls":{"type":"integer"},"num_pulls":{"type":"integer"},"parent_id":{"type":"integer"},"path":{"type":"string"},"repo_type":{"$ref":"#/components/schemas/EnumRepoType"},"size":{"description":"size of the repository in KiB","type":"integer"},"size_lfs":{"description":"size of the repository LFS in KiB","type":"integer"},"size_updated":{"type":"integer"},"state":{"$ref":"#/components/schemas/EnumRepoState"},"tags":{},"updated":{"type":"integer"},"upstream":{"$ref":"#/components/schemas/TypesRepositoryCore"}},"type":"object"},"RepoSoftDeleteResponse":{"properties":{"deleted_at":{"type":"integer"}},"type":"object"},"RepoSubmoduleContent":{"properties":{"commit_sha":{"type":"string"},"url":{"type":"string"}},"type":"object"},"RepoSymlinkContent":{"properties":{"size":{"type":"integer"},"target":{"type":"string"}},"type":"object"},"ReposettingsGeneralSettings":{"properties":{"file_size_limit":{"description":"file size limit in bytes","nullable":true,"type":"integer"},"git_lfs_enabled":{"nullable":true,"type":"boolean"}},"type":"object"},"ReposettingsSecuritySettings":{"properties":{"principal_committer_match":{"nullable":true,"type":"boolean"},"secret_scanning_enabled":{"nullable":true,"type":"boolean"},"vulnerability_scanning_mode":{"$ref":"#/components/schemas/SettingsVulnerabilityScanningMode"}},"type":"object"},"SettingsVulnerabilityScanningMode":{"enum":["disabled","detect","block"],"nullable":true,"type":"string"},"ShaSHA":{"description":"Git object hash","type":"string"},"TypesAutoMergeResponse":{"properties":{"created":{"type":"integer"},"delete_branch":{"type":"boolean"},"merge_method":{"$ref":"#/components/schemas/EnumMergeMethod"},"merge_response":{"$ref":"#/components/schemas/TypesMergeResponse"},"message":{"type":"string"},"requested_by":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"title":{"type":"string"}},"type":"object"},"TypesBranchExtended":{"properties":{"check_summary":{"$ref":"#/components/schemas/TypesCheckCountSummary"},"commit":{"$ref":"#/components/schemas/TypesCommit"},"commit_divergence":{"$ref":"#/components/schemas/TypesCommitDivergence"},"is_default":{"type":"boolean"},"name":{"type":"string"},"pull_requests":{"items":{"$ref":"#/components/schemas/TypesPullReq"},"type":"array"},"rules":{"items":{"$ref":"#/components/schemas/TypesRuleInfo"},"type":"array"},"sha":{"$ref":"#/components/schemas/ShaSHA"}},"type":"object"},"TypesBranchTable":{"properties":{"created":{"type":"integer"},"created_by":{"type":"integer"},"last_created_pull_req_id":{"nullable":true,"type":"integer"},"name":{"type":"string"},"updated":{"type":"integer"},"updated_by":{"type":"integer"}},"type":"object"},"TypesChangeStats":{"properties":{"changes":{"type":"integer"},"deletions":{"type":"integer"},"insertions":{"type":"integer"}},"type":"object"},"TypesCheck":{"properties":{"created":{"type":"integer"},"ended":{"type":"integer"},"id":{"type":"integer"},"identifier":{"type":"string"},"link":{"type":"string"},"metadata":{},"payload":{"$ref":"#/components/schemas/TypesCheckPayload"},"reported_by":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"started":{"type":"integer"},"status":{"$ref":"#/components/schemas/EnumCheckStatus"},"summary":{"type":"string"},"updated":{"type":"integer"}},"type":"object"},"TypesCheckCountSummary":{"properties":{"error":{"type":"integer"},"failure":{"type":"integer"},"pending":{"type":"integer"},"running":{"type":"integer"},"success":{"type":"integer"}},"type":"object"},"TypesCheckPayload":{"properties":{"data":{},"kind":{"$ref":"#/components/schemas/EnumCheckPayloadKind"},"version":{"type":"string"}},"type":"object"},"TypesCodeCommentFields":{"properties":{"line_new":{"type":"integer"},"line_old":{"type":"integer"},"merge_base_sha":{"type":"string"},"outdated":{"type":"boolean"},"path":{"type":"string"},"source_sha":{"type":"string"},"span_new":{"type":"integer"},"span_old":{"type":"integer"}},"type":"object"},"TypesCodeOwnerEvaluation":{"properties":{"evaluation_entries":{"items":{"$ref":"#/components/schemas/TypesCodeOwnerEvaluationEntry"},"nullable":true,"type":"array"},"file_sha":{"type":"string"}},"type":"object"},"TypesCodeOwnerEvaluationEntry":{"properties":{"line_number":{"type":"integer"},"owner_evaluations":{"items":{"$ref":"#/components/schemas/TypesOwnerEvaluation"},"nullable":true,"type":"array"},"pattern":{"type":"string"},"user_group_owner_evaluations":{"items":{"$ref":"#/components/schemas/TypesUserGroupOwnerEvaluation"},"nullable":true,"type":"array"}},"type":"object"},"TypesCommit":{"properties":{"author":{"$ref":"#/components/schemas/TypesSignature"},"committer":{"$ref":"#/components/schemas/TypesSignature"},"message":{"type":"string"},"parent_shas":{"items":{"$ref":"#/components/schemas/ShaSHA"},"type":"array"},"sha":{"$ref":"#/components/schemas/ShaSHA"},"signature":{"$ref":"#/components/schemas/TypesGitSignatureResult"},"stats":{"$ref":"#/components/schemas/TypesCommitStats"},"title":{"type":"string"}},"type":"object"},"TypesCommitDivergence":{"properties":{"ahead":{"type":"integer"},"behind":{"type":"integer"}},"type":"object"},"TypesCommitFileStats":{"properties":{"changes":{"type":"integer"},"deletions":{"type":"integer"},"insertions":{"type":"integer"},"old_path":{"type":"string"},"path":{"type":"string"},"status":{"$ref":"#/components/schemas/EnumFileDiffStatus"}},"type":"object"},"TypesCommitFilesResponse":{"properties":{"changed_files":{"items":{"$ref":"#/components/schemas/TypesFileReference"},"nullable":true,"type":"array"},"commit_id":{"$ref":"#/components/schemas/ShaSHA"},"dry_run_rules":{"type":"boolean"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"TypesCommitStats":{"properties":{"files":{"items":{"$ref":"#/components/schemas/TypesCommitFileStats"},"type":"array"},"total":{"$ref":"#/components/schemas/TypesChangeStats"}},"type":"object"},"TypesCommitTag":{"properties":{"commit":{"$ref":"#/components/schemas/TypesCommit"},"is_annotated":{"type":"boolean"},"message":{"type":"string"},"name":{"type":"string"},"sha":{"$ref":"#/components/schemas/ShaSHA"},"signature":{"$ref":"#/components/schemas/TypesGitSignatureResult"},"tagger":{"$ref":"#/components/schemas/TypesSignature"},"title":{"type":"string"}},"type":"object"},"TypesCreateBranchOutput":{"properties":{"commit":{"$ref":"#/components/schemas/TypesCommit"},"dry_run_rules":{"type":"boolean"},"name":{"type":"string"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"},"sha":{"$ref":"#/components/schemas/ShaSHA"}},"type":"object"},"TypesDefaultReviewerApprovalsResponse":{"properties":{"current_count":{"type":"integer"},"evaluations":{"items":{"$ref":"#/components/schemas/TypesReviewerEvaluation"},"nullable":true,"type":"array"},"minimum_required_count":{"type":"integer"},"minimum_required_count_latest":{"type":"integer"},"principals":{"items":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"nullable":true,"type":"array"},"user_groups":{"items":{"$ref":"#/components/schemas/TypesUserGroupInfo"},"nullable":true,"type":"array"}},"type":"object"},"TypesDeleteBranchOutput":{"properties":{"dry_run_rules":{"type":"boolean"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"TypesDiffStats":{"properties":{"additions":{"nullable":true,"type":"integer"},"commits":{"nullable":true,"type":"integer"},"deletions":{"nullable":true,"type":"integer"},"files_changed":{"nullable":true,"type":"integer"}},"type":"object"},"TypesExtraHeader":{"properties":{"key":{"type":"string"},"masked":{"type":"boolean"},"value":{"type":"string"}},"type":"object"},"TypesFavoriteResource":{"properties":{"resource_id":{"type":"integer"},"resource_type":{"$ref":"#/components/schemas/EnumResourceType"}},"type":"object"},"TypesFileReference":{"properties":{"blob_sha":{"$ref":"#/components/schemas/ShaSHA"},"path":{"type":"string"}},"type":"object"},"TypesForkSyncOutput":{"properties":{"already_ancestor":{"type":"boolean"},"conflict_files":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"},"new_commit_sha":{"$ref":"#/components/schemas/ShaSHA"}},"type":"object"},"TypesGitSignatureResult":{"nullable":true,"properties":{"created":{"type":"integer"},"key_fingerprint":{"type":"string"},"key_id":{"type":"string"},"key_scheme":{"$ref":"#/components/schemas/EnumPublicKeyScheme"},"result":{"$ref":"#/components/schemas/EnumGitSignatureResult"},"updated":{"type":"integer"}},"type":"object"},"TypesIdentity":{"properties":{"email":{"type":"string"},"name":{"type":"string"}},"type":"object"},"TypesLabel":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"type":"integer"},"created_by":{"type":"integer"},"description":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"pullreq_count":{"type":"integer"},"repo_id":{"nullable":true,"type":"integer"},"scope":{"type":"integer"},"space_id":{"nullable":true,"type":"integer"},"type":{"$ref":"#/components/schemas/EnumLabelType"},"updated":{"type":"integer"},"updated_by":{"type":"integer"},"value_count":{"type":"integer"}},"type":"object"},"TypesLabelAssignment":{"properties":{"assigned":{"nullable":true,"type":"boolean"},"assigned_value":{"$ref":"#/components/schemas/TypesLabelValueInfo"},"color":{"$ref":"#/components/schemas/EnumLabelColor"},"id":{"type":"integer"},"key":{"type":"string"},"scope":{"type":"integer"},"type":{"$ref":"#/components/schemas/EnumLabelType"},"values":{"items":{"$ref":"#/components/schemas/TypesLabelValueInfo"},"type":"array"}},"type":"object"},"TypesLabelPullReqAssignmentInfo":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"id":{"type":"integer"},"key":{"type":"string"},"scope":{"type":"integer"},"value":{"nullable":true,"type":"string"},"value_color":{"$ref":"#/components/schemas/EnumLabelColor"},"value_count":{"type":"integer"},"value_id":{"nullable":true,"type":"integer"}},"type":"object"},"TypesLabelValue":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"type":"integer"},"created_by":{"type":"integer"},"id":{"type":"integer"},"label_id":{"type":"integer"},"updated":{"type":"integer"},"updated_by":{"type":"integer"},"value":{"type":"string"}},"type":"object"},"TypesLabelValueInfo":{"properties":{"color":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"integer"},"value":{"nullable":true,"type":"string"}},"type":"object"},"TypesLabelWithValues":{"properties":{"label":{"$ref":"#/components/schemas/TypesLabel"},"values":{"items":{"$ref":"#/components/schemas/TypesLabelValue"},"type":"array"}},"type":"object"},"TypesListCommitResponse":{"properties":{"commits":{"items":{"$ref":"#/components/schemas/TypesCommit"},"nullable":true,"type":"array"},"rename_details":{"items":{"$ref":"#/components/schemas/TypesRenameDetails"},"nullable":true,"type":"array"},"total_commits":{"type":"integer"}},"type":"object"},"TypesMergeResponse":{"properties":{"allowed_methods":{"items":{"$ref":"#/components/schemas/EnumMergeMethod"},"type":"array"},"branch_deleted":{"type":"boolean"},"conflict_files":{"items":{"type":"string"},"type":"array"},"default_reviewer_aprovals":{"items":{"$ref":"#/components/schemas/TypesDefaultReviewerApprovalsResponse"},"type":"array"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"mergeable":{"type":"boolean"},"minimum_required_approvals_count":{"type":"integer"},"minimum_required_approvals_count_latest":{"type":"integer"},"requires_bypass_message":{"type":"boolean"},"requires_code_owners_approval":{"type":"boolean"},"requires_code_owners_approval_latest":{"type":"boolean"},"requires_comment_resolution":{"type":"boolean"},"requires_no_change_requests":{"type":"boolean"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"},"sha":{"type":"string"}},"type":"object"},"TypesMergeViolations":{"properties":{"conflict_files":{"items":{"type":"string"},"type":"array"},"message":{"type":"string"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"TypesOwnerEvaluation":{"properties":{"owner":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"review_decision":{"$ref":"#/components/schemas/EnumPullReqReviewDecision"},"review_sha":{"type":"string"}},"type":"object"},"TypesPathDetails":{"properties":{"last_commit":{"$ref":"#/components/schemas/TypesCommit"},"path":{"type":"string"}},"type":"object"},"TypesPrincipalInfo":{"nullable":true,"properties":{"created":{"type":"integer"},"display_name":{"type":"string"},"email":{"type":"string"},"id":{"type":"integer"},"type":{"$ref":"#/components/schemas/EnumPrincipalType"},"uid":{"type":"string"},"updated":{"type":"integer"}},"type":"object"},"TypesPullReq":{"properties":{"author":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"check_summary":{"$ref":"#/components/schemas/TypesCheckCountSummary"},"closed":{"nullable":true,"type":"integer"},"created":{"type":"integer"},"description":{"type":"string"},"edited":{"type":"integer"},"is_draft":{"type":"boolean"},"labels":{"items":{"$ref":"#/components/schemas/TypesLabelPullReqAssignmentInfo"},"type":"array"},"merge_base_sha":{"type":"string"},"merge_check_status":{"$ref":"#/components/schemas/EnumMergeCheckStatus"},"merge_conflicts":{"items":{"type":"string"},"type":"array"},"merge_method":{"$ref":"#/components/schemas/EnumMergeMethod"},"merge_target_sha":{"nullable":true,"type":"string"},"merge_violations_bypassed":{"nullable":true,"type":"boolean"},"merged":{"nullable":true,"type":"integer"},"merger":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"number":{"type":"integer"},"rebase_check_status":{"$ref":"#/components/schemas/EnumMergeCheckStatus"},"rebase_conflicts":{"items":{"type":"string"},"type":"array"},"rules":{"items":{"$ref":"#/components/schemas/TypesRuleInfo"},"type":"array"},"source_branch":{"type":"string"},"source_repo":{"$ref":"#/components/schemas/TypesRepositoryCore"},"source_repo_id":{"nullable":true,"type":"integer"},"source_sha":{"type":"string"},"state":{"$ref":"#/components/schemas/EnumPullReqState"},"stats":{"$ref":"#/components/schemas/TypesPullReqStats"},"substate":{"$ref":"#/components/schemas/EnumPullReqSubState"},"target_branch":{"type":"string"},"target_repo_id":{"type":"integer"},"title":{"type":"string"},"updated":{"type":"integer"}},"type":"object"},"TypesPullReqActivity":{"properties":{"author":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"code_comment":{"$ref":"#/components/schemas/TypesCodeCommentFields"},"created":{"type":"integer"},"deleted":{"nullable":true,"type":"integer"},"edited":{"type":"integer"},"id":{"type":"integer"},"kind":{"$ref":"#/components/schemas/EnumPullReqActivityKind"},"mentions":{"additionalProperties":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"type":"object"},"metadata":{"$ref":"#/components/schemas/TypesPullReqActivityMetadata"},"order":{"type":"integer"},"parent_id":{"nullable":true,"type":"integer"},"payload":{},"pullreq_id":{"type":"integer"},"repo_id":{"type":"integer"},"resolved":{"nullable":true,"type":"integer"},"resolver":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"sub_order":{"type":"integer"},"text":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumPullReqActivityType"},"updated":{"type":"integer"},"user_group_mentions":{"additionalProperties":{"$ref":"#/components/schemas/TypesUserGroupInfo"},"type":"object"}},"type":"object"},"TypesPullReqActivityMentionsMetadata":{"properties":{"ids":{"items":{"type":"integer"},"type":"array"},"user_group_ids":{"items":{"type":"integer"},"type":"array"}},"type":"object"},"TypesPullReqActivityMetadata":{"properties":{"mentions":{"$ref":"#/components/schemas/TypesPullReqActivityMentionsMetadata"},"suggestions":{"$ref":"#/components/schemas/TypesPullReqActivitySuggestionsMetadata"}},"type":"object"},"TypesPullReqActivitySuggestionsMetadata":{"properties":{"applied_check_sum":{"type":"string"},"applied_commit_sha":{"type":"string"},"check_sums":{"items":{"type":"string"},"type":"array"}},"type":"object"},"TypesPullReqCheck":{"properties":{"bypassable":{"type":"boolean"},"check":{"$ref":"#/components/schemas/TypesCheck"},"required":{"type":"boolean"}},"type":"object"},"TypesPullReqChecks":{"properties":{"checks":{"items":{"$ref":"#/components/schemas/TypesPullReqCheck"},"nullable":true,"type":"array"},"commit_sha":{"type":"string"}},"type":"object"},"TypesPullReqFileView":{"properties":{"obsolete":{"type":"boolean"},"path":{"type":"string"},"sha":{"type":"string"}},"type":"object"},"TypesPullReqLabel":{"properties":{"created":{"type":"integer"},"created_by":{"type":"integer"},"label_id":{"type":"integer"},"pullreq_id":{"type":"integer"},"updated":{"type":"integer"},"updated_by":{"type":"integer"},"value_id":{"nullable":true,"type":"integer"}},"type":"object"},"TypesPullReqLabelAssignInput":{"properties":{"label_id":{"type":"integer"},"value":{"type":"string"},"value_id":{"nullable":true,"type":"integer"}},"type":"object"},"TypesPullReqRepo":{"properties":{"pull_request":{"$ref":"#/components/schemas/TypesPullReq"},"repository":{"$ref":"#/components/schemas/TypesRepositoryCore"}},"type":"object"},"TypesPullReqReviewer":{"properties":{"added_by":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"created":{"type":"integer"},"latest_review_id":{"nullable":true,"type":"integer"},"review_decision":{"$ref":"#/components/schemas/EnumPullReqReviewDecision"},"reviewer":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"sha":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumPullReqReviewerType"},"updated":{"type":"integer"}},"type":"object"},"TypesPullReqStats":{"properties":{"additions":{"nullable":true,"type":"integer"},"commits":{"nullable":true,"type":"integer"},"conversations":{"type":"integer"},"deletions":{"nullable":true,"type":"integer"},"files_changed":{"nullable":true,"type":"integer"},"unresolved_count":{"type":"integer"}},"type":"object"},"TypesRebaseResponse":{"properties":{"already_ancestor":{"type":"boolean"},"conflict_files":{"items":{"type":"string"},"type":"array"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"new_head_branch_sha":{"$ref":"#/components/schemas/ShaSHA"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"TypesRenameDetails":{"properties":{"commit_sha_after":{"type":"string"},"commit_sha_before":{"type":"string"},"new_path":{"type":"string"},"old_path":{"type":"string"}},"type":"object"},"TypesRepoTags":{"additionalProperties":{"type":"string"},"nullable":true,"type":"object"},"TypesRepositoryCore":{"properties":{"default_branch":{"type":"string"},"fork_id":{"type":"integer"},"id":{"type":"integer"},"identifier":{"type":"string"},"parent_id":{"type":"integer"},"path":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumRepoType"}},"type":"object"},"TypesRepositoryPullReqSummary":{"properties":{"closed_count":{"type":"integer"},"merged_count":{"type":"integer"},"open_count":{"type":"integer"}},"type":"object"},"TypesRepositorySummary":{"properties":{"branch_count":{"type":"integer"},"default_branch_commit_count":{"type":"integer"},"pull_req_summary":{"$ref":"#/components/schemas/TypesRepositoryPullReqSummary"},"tag_count":{"type":"integer"}},"type":"object"},"TypesRevertResponse":{"properties":{"branch":{"type":"string"},"commit":{"$ref":"#/components/schemas/TypesCommit"}},"type":"object"},"TypesReviewerEvaluation":{"properties":{"decision":{"$ref":"#/components/schemas/EnumPullReqReviewDecision"},"reviewer":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"sha":{"type":"string"},"updated":{"type":"integer"}},"type":"object"},"TypesRuleInfo":{"properties":{"identifier":{"type":"string"},"repo_path":{"type":"string"},"space_path":{"type":"string"},"state":{"$ref":"#/components/schemas/EnumRuleState"},"type":{"$ref":"#/components/schemas/EnumRuleType"}},"type":"object"},"TypesRuleViolations":{"properties":{"bypassable":{"type":"boolean"},"bypassed":{"type":"boolean"},"rule":{"$ref":"#/components/schemas/TypesRuleInfo"},"violations":{"items":{"$ref":"#/components/schemas/TypesViolation"},"nullable":true,"type":"array"}},"type":"object"},"TypesRulesViolations":{"properties":{"message":{"type":"string"},"violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"nullable":true,"type":"array"}},"type":"object"},"TypesSaveLabelInput":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"},"TypesSaveLabelValueInput":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"id":{"type":"integer"},"value":{"type":"string"}},"type":"object"},"TypesScopeData":{"properties":{"repository":{"$ref":"#/components/schemas/TypesRepositoryCore"},"scope":{"type":"integer"},"space":{"$ref":"#/components/schemas/TypesSpaceCore"}},"type":"object"},"TypesScopesLabels":{"properties":{"label_data":{"items":{"$ref":"#/components/schemas/TypesLabelAssignment"},"nullable":true,"type":"array"},"scope_data":{"items":{"$ref":"#/components/schemas/TypesScopeData"},"nullable":true,"type":"array"}},"type":"object"},"TypesSignature":{"properties":{"identity":{"$ref":"#/components/schemas/TypesIdentity"},"when":{"format":"date-time","type":"string"}},"type":"object"},"TypesSpaceCore":{"properties":{"id":{"type":"integer"},"identifier":{"type":"string"},"parent_id":{"type":"integer"},"path":{"type":"string"}},"type":"object"},"TypesSquashResponse":{"properties":{"conflict_files":{"items":{"type":"string"},"type":"array"},"dry_run":{"type":"boolean"},"dry_run_rules":{"type":"boolean"},"new_head_branch_sha":{"$ref":"#/components/schemas/ShaSHA"},"rule_violations":{"items":{"$ref":"#/components/schemas/TypesRuleViolations"},"type":"array"}},"type":"object"},"TypesUserGroupInfo":{"properties":{"description":{"type":"string"},"id":{"type":"integer"},"identifier":{"type":"string"},"name":{"type":"string"},"scope":{"type":"integer"}},"type":"object"},"TypesUserGroupOwnerEvaluation":{"properties":{"evaluations":{"items":{"$ref":"#/components/schemas/TypesOwnerEvaluation"},"nullable":true,"type":"array"},"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"TypesUserGroupReviewer":{"properties":{"added_by":{"$ref":"#/components/schemas/TypesPrincipalInfo"},"created":{"type":"integer"},"decision":{"$ref":"#/components/schemas/EnumPullReqReviewDecision"},"sha":{"type":"string"},"updated":{"type":"integer"},"user_decisions":{"items":{"$ref":"#/components/schemas/TypesReviewerEvaluation"},"type":"array"},"user_group":{"$ref":"#/components/schemas/TypesUserGroupInfo"}},"type":"object"},"TypesViolation":{"properties":{"code":{"type":"string"},"message":{"type":"string"},"params":{"items":{},"nullable":true,"type":"array"}},"type":"object"},"TypesWebhookCreateInput":{"properties":{"description":{"type":"string"},"display_name":{"type":"string"},"enabled":{"type":"boolean"},"extra_headers":{"items":{"$ref":"#/components/schemas/TypesExtraHeader"},"type":"array"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"secret":{"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"nullable":true,"type":"array"},"uid":{"deprecated":true,"type":"string"},"url":{"type":"string"}},"type":"object"},"TypesWebhookExecution":{"properties":{"created":{"type":"integer"},"duration":{"type":"integer"},"error":{"type":"string"},"id":{"type":"integer"},"request":{"$ref":"#/components/schemas/TypesWebhookExecutionRequest"},"response":{"$ref":"#/components/schemas/TypesWebhookExecutionResponse"},"result":{"$ref":"#/components/schemas/EnumWebhookExecutionResult"},"retrigger_of":{"nullable":true,"type":"integer"},"retriggerable":{"type":"boolean"},"trigger_type":{"$ref":"#/components/schemas/EnumWebhookTrigger"},"webhook_id":{"type":"integer"}},"type":"object"},"TypesWebhookExecutionRequest":{"properties":{"body":{"type":"string"},"headers":{"type":"string"},"url":{"type":"string"}},"type":"object"},"TypesWebhookExecutionResponse":{"properties":{"body":{"type":"string"},"headers":{"type":"string"},"status":{"type":"string"},"status_code":{"type":"integer"}},"type":"object"},"UploadResult":{"properties":{"file_path":{"type":"string"}},"type":"object"},"UsererrorError":{"properties":{"message":{"type":"string"},"values":{"additionalProperties":{},"type":"object"}},"type":"object"}},"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"},"x-api-key":{"in":"header","name":"x-api-key","type":"apiKey"}}}}
