@@ -644,7 +644,8 @@ components:
644
644
type: boolean
645
645
description: |
646
646
If true, the schedule attached to this metric is out of schedule at
647
- the time of the query.
647
+ the time of the query. It is not set for metrics in *completed*
648
+ stage.
648
649
metric_definition:
649
650
$ref: '#/components/schemas/metric-definition-summary'
650
651
org_schedule:
@@ -3478,6 +3479,17 @@ components:
3478
3479
custom-stage:
3479
3480
allOf:
3480
3481
- $ref: '#/components/schemas/atom-base'
3482
+ - type: object
3483
+ properties:
3484
+ name:
3485
+ type: string
3486
+ description: The human readable name of the state.
3487
+ ordinal:
3488
+ type: integer
3489
+ description: Ordinal used to sort/group stages.
3490
+ format: int32
3491
+ state:
3492
+ $ref: '#/components/schemas/custom-state-summary'
3481
3493
title: custom-stage
3482
3494
custom-stage-summary:
3483
3495
allOf:
@@ -3611,7 +3623,23 @@ components:
3611
3623
custom-state:
3612
3624
allOf:
3613
3625
- $ref: '#/components/schemas/atom-base'
3626
+ - type: object
3627
+ properties:
3628
+ is_final:
3629
+ type: boolean
3630
+ description: True if this is a final state.
3631
+ name:
3632
+ type: string
3633
+ description: The human readable name of the state.
3634
+ ordinal:
3635
+ type: integer
3636
+ description: Ordinal used to identify system states.
3637
+ format: int32
3614
3638
title: custom-state
3639
+ custom-state-summary:
3640
+ allOf:
3641
+ - $ref: '#/components/schemas/atom-base-summary'
3642
+ title: custom-state-summary
3615
3643
custom-states-create-request:
3616
3644
type: object
3617
3645
properties:
@@ -4908,17 +4936,23 @@ components:
4908
4936
details:
4909
4937
type: string
4910
4938
description: The details of the error.
4939
+ different_reporters:
4940
+ $ref: '#/components/schemas/error-bad-request-merge-works-error-error-different-reporters'
4911
4941
different_workspace:
4912
4942
$ref: '#/components/schemas/error-bad-request-merge-works-error-error-different-workspace'
4913
4943
invalid_stage_transition:
4914
4944
$ref: '#/components/schemas/error-bad-request-merge-works-error-error-invalid-stage-transition'
4945
+ locked:
4946
+ $ref: '#/components/schemas/error-bad-request-merge-works-error-error-locked'
4915
4947
subtype:
4916
4948
type: string
4917
4949
enum:
4918
4950
- already_merged
4919
4951
- closed
4952
+ - different_reporters
4920
4953
- different_workspace
4921
4954
- invalid_stage_transition
4955
+ - locked
4922
4956
work:
4923
4957
type: string
4924
4958
description: The ID of the work which failed the validation.
@@ -4939,6 +4973,20 @@ components:
4939
4973
type: object
4940
4974
additionalProperties: false
4941
4975
title: error-bad-request-merge-works-error-error-closed
4976
+ error-bad-request-merge-works-error-error-different-reporters:
4977
+ type: object
4978
+ properties:
4979
+ primary_reporters:
4980
+ type: array
4981
+ description: The reporters of the primary work.
4982
+ items:
4983
+ type: string
4984
+ secondary_reporters:
4985
+ type: array
4986
+ description: The reporters of the secondary work.
4987
+ items:
4988
+ type: string
4989
+ title: error-bad-request-merge-works-error-error-different-reporters
4942
4990
error-bad-request-merge-works-error-error-different-workspace:
4943
4991
type: object
4944
4992
properties:
@@ -4948,9 +4996,6 @@ components:
4948
4996
secondary_workspace:
4949
4997
type: string
4950
4998
description: The workspace of the secondary work.
4951
- required:
4952
- - primary_workspace
4953
- - secondary_workspace
4954
4999
title: error-bad-request-merge-works-error-error-different-workspace
4955
5000
error-bad-request-merge-works-error-error-invalid-stage-transition:
4956
5001
type: object
@@ -4965,6 +5010,10 @@ components:
4965
5010
- current_stage
4966
5011
- requested_stage
4967
5012
title: error-bad-request-merge-works-error-error-invalid-stage-transition
5013
+ error-bad-request-merge-works-error-error-locked:
5014
+ type: object
5015
+ additionalProperties: false
5016
+ title: error-bad-request-merge-works-error-error-locked
4968
5017
error-bad-request-missing-dependency:
4969
5018
type: object
4970
5019
properties:
@@ -8955,6 +9004,11 @@ components:
8955
9004
- question_answer
8956
9005
title: question-answers-update-response
8957
9006
x-go-name: QuestionAnswersUpdateResponseBody
9007
+ removed-sla-metric-history:
9008
+ type: object
9009
+ additionalProperties: false
9010
+ description: User, timestamp and metric id of removed metrics.
9011
+ title: removed-sla-metric-history
8958
9012
resource:
8959
9013
type: object
8960
9014
description: Resource details.
@@ -10761,6 +10815,11 @@ components:
10761
10815
associated with their exact allowed values. The SLA policy applies
10762
10816
to issues where all named custom fields have exactly the specified
10763
10817
values.
10818
+ owners:
10819
+ type: array
10820
+ description: The SLA policy applies to the issues of these owners.
10821
+ items:
10822
+ type: string
10764
10823
parts:
10765
10824
type: array
10766
10825
description: The SLA policy applies to the issues of these parts.
@@ -10839,8 +10898,22 @@ components:
10839
10898
their exact allowed values. The SLA policy applies to records where
10840
10899
all named custom fields have exactly the specified values. If the
10841
10900
value is null, the field must have null value or not be present.
10901
+ groups:
10902
+ type: array
10903
+ description: |
10904
+ The SLA policy applies to the tickets or conversations of these
10905
+ groups.
10906
+ items:
10907
+ type: string
10842
10908
issue_selector:
10843
10909
$ref: '#/components/schemas/set-issue-selector'
10910
+ owners:
10911
+ type: array
10912
+ description: |
10913
+ The SLA policy applies to the tickets or conversations of these
10914
+ owners.
10915
+ items:
10916
+ type: string
10844
10917
parts:
10845
10918
type: array
10846
10919
description: The SLA policy applies to the tickets of these parts.
@@ -10877,6 +10950,12 @@ components:
10877
10950
- TAG-12345
10878
10951
items:
10879
10952
type: string
10953
+ ticket_source_channel:
10954
+ type: array
10955
+ description: |
10956
+ The SLA policy applies to tickets with these source channels.
10957
+ items:
10958
+ type: string
10880
10959
required:
10881
10960
- applies_to
10882
10961
title: set-sla-selector
@@ -11116,6 +11195,11 @@ components:
11116
11195
Summary of the metrics target being tracked in the SLA tracker.
11117
11196
items:
11118
11197
$ref: '#/components/schemas/archetype-metric-target'
11198
+ removed_sla_metric_history:
11199
+ type: array
11200
+ description: User, timestamp and metric Id of removed metrics.
11201
+ items:
11202
+ $ref: '#/components/schemas/removed-sla-metric-history'
11119
11203
sla:
11120
11204
$ref: '#/components/schemas/sla-summary'
11121
11205
sla_policy_id:
@@ -11368,6 +11452,15 @@ components:
11368
11452
- sla
11369
11453
title: slas-update-response
11370
11454
x-go-name: SlasUpdateResponseBody
11455
+ snap-in:
11456
+ allOf:
11457
+ - $ref: '#/components/schemas/atom-base'
11458
+ - type: object
11459
+ properties:
11460
+ inputs_values:
11461
+ type: object
11462
+ description: Values of the inputs.
11463
+ title: snap-in
11371
11464
snap-in-version-summary:
11372
11465
allOf:
11373
11466
- $ref: '#/components/schemas/atom-base-summary'
@@ -11421,6 +11514,27 @@ components:
11421
11514
- id
11422
11515
- secret
11423
11516
title: snap-ins-resources-response-keyring-data
11517
+ snap-ins-update-request:
11518
+ type: object
11519
+ properties:
11520
+ id:
11521
+ type: string
11522
+ description: The ID of the snap-in to update.
11523
+ inputs_values:
11524
+ type: object
11525
+ description: The updated values of the inputs.
11526
+ required:
11527
+ - id
11528
+ title: snap-ins-update-request
11529
+ snap-ins-update-response:
11530
+ type: object
11531
+ properties:
11532
+ snap_in:
11533
+ $ref: '#/components/schemas/snap-in'
11534
+ required:
11535
+ - snap_in
11536
+ title: snap-ins-update-response
11537
+ x-go-name: SnapInsUpdateResponseBody
11424
11538
snap-widget:
11425
11539
type: object
11426
11540
discriminator:
@@ -23671,6 +23785,41 @@ paths:
23671
23785
x-fern-audiences:
23672
23786
- docs
23673
23787
- sdks
23788
+ /snap-ins.update:
23789
+ post:
23790
+ description: Updates a snap-in.
23791
+ operationId: snap-ins-update
23792
+ requestBody:
23793
+ content:
23794
+ application/json:
23795
+ schema:
23796
+ $ref: '#/components/schemas/snap-ins-update-request'
23797
+ responses:
23798
+ "200":
23799
+ content:
23800
+ application/json:
23801
+ schema:
23802
+ $ref: '#/components/schemas/snap-ins-update-response'
23803
+ description: Success.
23804
+ "400":
23805
+ $ref: '#/components/responses/bad-request'
23806
+ "401":
23807
+ $ref: '#/components/responses/unauthorized'
23808
+ "403":
23809
+ $ref: '#/components/responses/forbidden'
23810
+ "404":
23811
+ $ref: '#/components/responses/not-found'
23812
+ "429":
23813
+ $ref: '#/components/responses/too-many-requests'
23814
+ "500":
23815
+ $ref: '#/components/responses/internal-server-error'
23816
+ "503":
23817
+ $ref: '#/components/responses/service-unavailable'
23818
+ tags:
23819
+ - snap-ins
23820
+ x-fern-audiences:
23821
+ - docs
23822
+ - sdks
23674
23823
/snap-widgets.create:
23675
23824
post:
23676
23825
description: Create a snap widget object.
0 commit comments