|
429 | 429 | "force", |
430 | 430 | "restrict_merges", |
431 | 431 | "enforce_merge_checks", |
| 432 | + "reset_pullrequest_changes_requested_on_change", |
432 | 433 | "require_approvals_to_merge", |
433 | 434 | "allow_auto_merge_when_builds_pass", |
434 | 435 | "delete", |
435 | 436 | "require_all_dependencies_merged", |
| 437 | + "require_no_changes_requested", |
436 | 438 | "push", |
437 | 439 | "require_passing_builds_to_merge", |
438 | 440 | "reset_pullrequest_approvals_on_change", |
|
1251 | 1253 | "additionalProperties": true, |
1252 | 1254 | "description": "Options for issue export.", |
1253 | 1255 | "properties": { |
| 1256 | + "include_attachments": { |
| 1257 | + "type": "boolean" |
| 1258 | + }, |
1254 | 1259 | "project_key": { |
1255 | 1260 | "type": "string" |
1256 | 1261 | }, |
|
1277 | 1282 | "description": "A group object", |
1278 | 1283 | "properties": { |
1279 | 1284 | "full_slug": { |
1280 | | - "description": "The concatenation of the owner's username and the group's slug,\nseparated with a colon (e.g. `acme:developers`)\n", |
| 1285 | + "description": "The concatenation of the workspace's slug and the group's slug,\nseparated with a colon (e.g. `acme:developers`)\n", |
1281 | 1286 | "type": "string" |
1282 | 1287 | }, |
1283 | 1288 | "links": { |
|
1321 | 1326 | "slug": { |
1322 | 1327 | "description": "The \"sluggified\" version of the group's name. This contains only ASCII\ncharacters and can therefore be slightly different than the name", |
1323 | 1328 | "type": "string" |
| 1329 | + }, |
| 1330 | + "workspace": { |
| 1331 | + "$ref": "#/definitions/workspace" |
1324 | 1332 | } |
1325 | 1333 | }, |
1326 | 1334 | "type": "object" |
|
1344 | 1352 | "enum": [ |
1345 | 1353 | "pullrequest:unapproved", |
1346 | 1354 | "issue:comment_created", |
1347 | | - "pullrequest:approved", |
1348 | | - "repo:created", |
1349 | | - "repo:deleted", |
1350 | 1355 | "repo:imported", |
| 1356 | + "repo:created", |
| 1357 | + "repo:commit_comment_created", |
| 1358 | + "pullrequest:approved", |
1351 | 1359 | "pullrequest:comment_updated", |
1352 | 1360 | "issue:updated", |
1353 | 1361 | "project:updated", |
| 1362 | + "repo:deleted", |
| 1363 | + "pullrequest:changes_request_created", |
1354 | 1364 | "pullrequest:comment_created", |
1355 | 1365 | "repo:commit_status_updated", |
1356 | 1366 | "pullrequest:updated", |
|
1361 | 1371 | "repo:updated", |
1362 | 1372 | "pullrequest:rejected", |
1363 | 1373 | "pullrequest:fulfilled", |
1364 | | - "repo:push", |
1365 | 1374 | "pullrequest:created", |
| 1375 | + "pullrequest:changes_request_removed", |
1366 | 1376 | "repo:transfer", |
1367 | | - "repo:commit_comment_created" |
| 1377 | + "repo:push" |
1368 | 1378 | ], |
1369 | 1379 | "type": "string" |
1370 | 1380 | }, |
|
1840 | 1850 | ], |
1841 | 1851 | "x-bb-default-fields": ["type", "cloudId", "id"], |
1842 | 1852 | "x-bb-detail-fields": ["key", "name", "url", "avatarUrls.*", "site"], |
1843 | | - "x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}/projects/{id}?actor={user.uuid}&atlassian_account_id={user.account_id}" |
| 1853 | + "x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}/projects/{id}?atlassian_account_id={user.account_id}" |
1844 | 1854 | }, |
1845 | 1855 | "jira_site": { |
1846 | 1856 | "allOf": [ |
|
1855 | 1865 | ], |
1856 | 1866 | "x-bb-default-fields": ["type", "cloudId", "cloudUrl", "cloudName"], |
1857 | 1867 | "x-bb-detail-fields": ["connected"], |
1858 | | - "x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}?actor={user.uuid}&atlassian_account_id={user.account_id}" |
| 1868 | + "x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}?atlassian_account_id={user.account_id}" |
1859 | 1869 | }, |
1860 | 1870 | "milestone": { |
1861 | 1871 | "allOf": [ |
|
2055 | 2065 | }, |
2056 | 2066 | "type": "object" |
2057 | 2067 | }, |
| 2068 | + "paginated_changeset": { |
| 2069 | + "additionalProperties": false, |
| 2070 | + "description": "A paginated list of commits.", |
| 2071 | + "properties": { |
| 2072 | + "next": { |
| 2073 | + "description": "Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.", |
| 2074 | + "format": "uri", |
| 2075 | + "type": "string" |
| 2076 | + }, |
| 2077 | + "page": { |
| 2078 | + "description": "Page number of the current results. This is an optional element that is not provided in all responses.", |
| 2079 | + "minimum": 1, |
| 2080 | + "type": "integer" |
| 2081 | + }, |
| 2082 | + "pagelen": { |
| 2083 | + "description": "Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.", |
| 2084 | + "minimum": 1, |
| 2085 | + "type": "integer" |
| 2086 | + }, |
| 2087 | + "previous": { |
| 2088 | + "description": "Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.", |
| 2089 | + "format": "uri", |
| 2090 | + "type": "string" |
| 2091 | + }, |
| 2092 | + "size": { |
| 2093 | + "description": "Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.", |
| 2094 | + "minimum": 0, |
| 2095 | + "type": "integer" |
| 2096 | + }, |
| 2097 | + "values": { |
| 2098 | + "items": { |
| 2099 | + "$ref": "#/definitions/base_commit" |
| 2100 | + }, |
| 2101 | + "minItems": 0, |
| 2102 | + "type": "array", |
| 2103 | + "uniqueItems": true |
| 2104 | + } |
| 2105 | + }, |
| 2106 | + "type": "object" |
| 2107 | + }, |
2058 | 2108 | "paginated_commit_comments": { |
2059 | 2109 | "additionalProperties": false, |
2060 | 2110 | "description": "A paginated list of commit comments.", |
|
2641 | 2691 | }, |
2642 | 2692 | "type": "object" |
2643 | 2693 | }, |
| 2694 | + "paginated_pipeline_caches": { |
| 2695 | + "description": "A paged list of pipeline caches", |
| 2696 | + "properties": { |
| 2697 | + "next": { |
| 2698 | + "description": "Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.", |
| 2699 | + "format": "uri", |
| 2700 | + "type": "string" |
| 2701 | + }, |
| 2702 | + "page": { |
| 2703 | + "description": "Page number of the current results. This is an optional element that is not provided in all responses.", |
| 2704 | + "type": "integer" |
| 2705 | + }, |
| 2706 | + "pagelen": { |
| 2707 | + "description": "Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.", |
| 2708 | + "type": "integer" |
| 2709 | + }, |
| 2710 | + "previous": { |
| 2711 | + "description": "Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.", |
| 2712 | + "format": "uri", |
| 2713 | + "type": "string" |
| 2714 | + }, |
| 2715 | + "size": { |
| 2716 | + "description": "Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.", |
| 2717 | + "type": "integer" |
| 2718 | + }, |
| 2719 | + "values": { |
| 2720 | + "description": "The values of the current page.", |
| 2721 | + "items": { |
| 2722 | + "$ref": "#/definitions/pipeline_cache" |
| 2723 | + }, |
| 2724 | + "minItems": 0, |
| 2725 | + "type": "array" |
| 2726 | + } |
| 2727 | + }, |
| 2728 | + "type": "object" |
| 2729 | + }, |
2644 | 2730 | "paginated_pipeline_known_hosts": { |
2645 | 2731 | "description": "A paged list of known hosts.", |
2646 | 2732 | "properties": { |
|
3673 | 3759 | "enum": ["PARTICIPANT", "REVIEWER"], |
3674 | 3760 | "type": "string" |
3675 | 3761 | }, |
| 3762 | + "state": { |
| 3763 | + "enum": ["approved", "changes_requested", null], |
| 3764 | + "type": "string" |
| 3765 | + }, |
3676 | 3766 | "user": { |
3677 | 3767 | "$ref": "#/definitions/user" |
3678 | 3768 | } |
|
3753 | 3843 | } |
3754 | 3844 | ] |
3755 | 3845 | }, |
| 3846 | + "pipeline_cache": { |
| 3847 | + "allOf": [ |
| 3848 | + { |
| 3849 | + "$ref": "#/definitions/object" |
| 3850 | + }, |
| 3851 | + { |
| 3852 | + "additionalProperties": true, |
| 3853 | + "description": "A representation of metadata for a pipeline cache for given repository.", |
| 3854 | + "properties": { |
| 3855 | + "created_on": { |
| 3856 | + "description": "The timestamp when the cache was created.", |
| 3857 | + "format": "date-time", |
| 3858 | + "type": "string" |
| 3859 | + }, |
| 3860 | + "file_size_bytes": { |
| 3861 | + "description": "The size of the file containing the archive of the cache.", |
| 3862 | + "type": "integer" |
| 3863 | + }, |
| 3864 | + "name": { |
| 3865 | + "description": "The name of the cache.", |
| 3866 | + "type": "string" |
| 3867 | + }, |
| 3868 | + "path": { |
| 3869 | + "description": "The path where the cache contents were retrieved from.", |
| 3870 | + "type": "string" |
| 3871 | + }, |
| 3872 | + "pipeline_uuid": { |
| 3873 | + "description": "The UUID of the pipeline that created the cache.", |
| 3874 | + "type": "string" |
| 3875 | + }, |
| 3876 | + "step_uuid": { |
| 3877 | + "description": "The uuid of the step that created the cache.", |
| 3878 | + "type": "string" |
| 3879 | + }, |
| 3880 | + "uuid": { |
| 3881 | + "description": "The UUID identifying the pipeline cache.", |
| 3882 | + "type": "string" |
| 3883 | + } |
| 3884 | + }, |
| 3885 | + "type": "object" |
| 3886 | + } |
| 3887 | + ] |
| 3888 | + }, |
| 3889 | + "pipeline_cache_content_uri": { |
| 3890 | + "description": "A representation of the location of pipeline cache content.", |
| 3891 | + "properties": { |
| 3892 | + "uri": { |
| 3893 | + "description": "The uri for pipeline cache content.", |
| 3894 | + "format": "uri", |
| 3895 | + "type": "string" |
| 3896 | + } |
| 3897 | + }, |
| 3898 | + "type": "object" |
| 3899 | + }, |
3756 | 3900 | "pipeline_command": { |
3757 | 3901 | "description": "An executable pipeline command.", |
3758 | 3902 | "properties": { |
|
6130 | 6274 | "description": "A user's permission for a given team.", |
6131 | 6275 | "properties": { |
6132 | 6276 | "permission": { |
6133 | | - "enum": ["admin", "collaborator"], |
| 6277 | + "enum": ["admin", "collaborator", "member"], |
6134 | 6278 | "type": "string" |
6135 | 6279 | }, |
6136 | 6280 | "team": { |
|
6250 | 6394 | "enum": [ |
6251 | 6395 | "pullrequest:unapproved", |
6252 | 6396 | "issue:comment_created", |
6253 | | - "pullrequest:approved", |
6254 | | - "repo:created", |
6255 | | - "repo:deleted", |
6256 | 6397 | "repo:imported", |
| 6398 | + "repo:created", |
| 6399 | + "repo:commit_comment_created", |
| 6400 | + "pullrequest:approved", |
6257 | 6401 | "pullrequest:comment_updated", |
6258 | 6402 | "issue:updated", |
6259 | 6403 | "project:updated", |
| 6404 | + "repo:deleted", |
| 6405 | + "pullrequest:changes_request_created", |
6260 | 6406 | "pullrequest:comment_created", |
6261 | 6407 | "repo:commit_status_updated", |
6262 | 6408 | "pullrequest:updated", |
|
6267 | 6413 | "repo:updated", |
6268 | 6414 | "pullrequest:rejected", |
6269 | 6415 | "pullrequest:fulfilled", |
6270 | | - "repo:push", |
6271 | 6416 | "pullrequest:created", |
| 6417 | + "pullrequest:changes_request_removed", |
6272 | 6418 | "repo:transfer", |
6273 | | - "repo:commit_comment_created" |
| 6419 | + "repo:push" |
6274 | 6420 | ], |
6275 | 6421 | "type": "string" |
6276 | 6422 | }, |
|
0 commit comments