@gitbook/api 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +109 -65
- package/dist/index.cjs +39 -13
- package/dist/index.js +37 -12
- package/package.json +1 -1
- package/spec/openapi.json +251 -111
- package/spec/openapi.yaml +186 -99
package/spec/openapi.yaml
CHANGED
|
@@ -142,11 +142,11 @@ components:
|
|
|
142
142
|
description: The unique id of the organization
|
|
143
143
|
schema:
|
|
144
144
|
type: string
|
|
145
|
-
|
|
146
|
-
name:
|
|
145
|
+
captureId:
|
|
146
|
+
name: captureId
|
|
147
147
|
in: path
|
|
148
148
|
required: true
|
|
149
|
-
description: The unique id of a
|
|
149
|
+
description: The unique id of a capture
|
|
150
150
|
schema:
|
|
151
151
|
type: string
|
|
152
152
|
userId:
|
|
@@ -643,10 +643,48 @@ components:
|
|
|
643
643
|
photoURL:
|
|
644
644
|
type: string
|
|
645
645
|
description: URL of the user's profile picture
|
|
646
|
+
urls:
|
|
647
|
+
type: object
|
|
648
|
+
description: URLs associated with the object
|
|
649
|
+
properties:
|
|
650
|
+
location:
|
|
651
|
+
type: string
|
|
652
|
+
description: URL of the user in the API
|
|
653
|
+
format: uri
|
|
646
654
|
required:
|
|
647
655
|
- object
|
|
648
656
|
- id
|
|
649
657
|
- displayName
|
|
658
|
+
- urls
|
|
659
|
+
UserPreferences:
|
|
660
|
+
type: object
|
|
661
|
+
properties:
|
|
662
|
+
object:
|
|
663
|
+
type: string
|
|
664
|
+
description: Type of Object, always equals to "user-preferences"
|
|
665
|
+
enum:
|
|
666
|
+
- user-preferences
|
|
667
|
+
theme:
|
|
668
|
+
$ref: "#/components/schemas/UserPreferencesTheme"
|
|
669
|
+
urls:
|
|
670
|
+
type: object
|
|
671
|
+
description: URLs associated with the object
|
|
672
|
+
properties:
|
|
673
|
+
location:
|
|
674
|
+
type: string
|
|
675
|
+
description: URL of the user preferences in the API
|
|
676
|
+
format: uri
|
|
677
|
+
required:
|
|
678
|
+
- object
|
|
679
|
+
- theme
|
|
680
|
+
- urls
|
|
681
|
+
UserPreferencesTheme:
|
|
682
|
+
type: string
|
|
683
|
+
description: Preferred theme for the application
|
|
684
|
+
enum:
|
|
685
|
+
- light
|
|
686
|
+
- dark
|
|
687
|
+
- default
|
|
650
688
|
UserAPIToken:
|
|
651
689
|
type: object
|
|
652
690
|
description: The API token details, excluding the token itself.
|
|
@@ -1660,28 +1698,23 @@ components:
|
|
|
1660
1698
|
enum:
|
|
1661
1699
|
- admin
|
|
1662
1700
|
- participant
|
|
1663
|
-
|
|
1701
|
+
Capture:
|
|
1664
1702
|
type: object
|
|
1665
1703
|
properties:
|
|
1666
|
-
object:
|
|
1667
|
-
type: string
|
|
1668
|
-
description: Type of Object, always equals to "recording"
|
|
1669
|
-
enum:
|
|
1670
|
-
- recording
|
|
1671
1704
|
id:
|
|
1672
1705
|
type: string
|
|
1673
|
-
description: Unique identifier for the
|
|
1706
|
+
description: Unique identifier for the capture
|
|
1674
1707
|
title:
|
|
1675
|
-
$ref: "#/components/schemas/
|
|
1708
|
+
$ref: "#/components/schemas/CaptureTitle"
|
|
1676
1709
|
context:
|
|
1677
|
-
$ref: "#/components/schemas/
|
|
1710
|
+
$ref: "#/components/schemas/CaptureContext"
|
|
1678
1711
|
externalId:
|
|
1679
1712
|
type: string
|
|
1680
|
-
description: ID in the original source of the
|
|
1713
|
+
description: ID in the original source of the capture.
|
|
1681
1714
|
externalURL:
|
|
1682
1715
|
type: string
|
|
1683
1716
|
format: uri
|
|
1684
|
-
description: URL of the source from which the
|
|
1717
|
+
description: URL of the source from which the capture originated
|
|
1685
1718
|
createdAt:
|
|
1686
1719
|
type: string
|
|
1687
1720
|
format: date-time
|
|
@@ -1705,15 +1738,15 @@ components:
|
|
|
1705
1738
|
- $ref: "#/components/schemas/Integration"
|
|
1706
1739
|
- $ref: "#/components/schemas/User"
|
|
1707
1740
|
output:
|
|
1708
|
-
description: Output document for the
|
|
1709
|
-
$ref: "#/components/schemas/
|
|
1741
|
+
description: Output document for the capture. Is not set when capture is not finished.
|
|
1742
|
+
$ref: "#/components/schemas/Document"
|
|
1710
1743
|
urls:
|
|
1711
1744
|
type: object
|
|
1712
1745
|
description: URLs associated with the object
|
|
1713
1746
|
properties:
|
|
1714
1747
|
location:
|
|
1715
1748
|
type: string
|
|
1716
|
-
description: URL of the
|
|
1749
|
+
description: URL of the capture in the API
|
|
1717
1750
|
format: uri
|
|
1718
1751
|
required:
|
|
1719
1752
|
- location
|
|
@@ -1726,41 +1759,26 @@ components:
|
|
|
1726
1759
|
- createdAt
|
|
1727
1760
|
- contributors
|
|
1728
1761
|
- urls
|
|
1729
|
-
|
|
1762
|
+
CaptureTitle:
|
|
1730
1763
|
type: string
|
|
1731
|
-
description: Optional title describing the
|
|
1764
|
+
description: Optional title describing the capture
|
|
1732
1765
|
maxLength: 100
|
|
1733
|
-
|
|
1734
|
-
type: object
|
|
1735
|
-
properties:
|
|
1736
|
-
url:
|
|
1737
|
-
type: string
|
|
1738
|
-
format: uri
|
|
1739
|
-
description: URL of the generated page
|
|
1740
|
-
space:
|
|
1741
|
-
$ref: "#/components/schemas/Space"
|
|
1742
|
-
page:
|
|
1743
|
-
$ref: "#/components/schemas/RevisionPageDocument"
|
|
1744
|
-
required:
|
|
1745
|
-
- url
|
|
1746
|
-
- space
|
|
1747
|
-
- page
|
|
1748
|
-
RecordingEvent:
|
|
1766
|
+
CaptureEvent:
|
|
1749
1767
|
oneOf:
|
|
1750
|
-
- $ref: "#/components/schemas/
|
|
1751
|
-
- $ref: "#/components/schemas/
|
|
1752
|
-
- $ref: "#/components/schemas/
|
|
1753
|
-
- $ref: "#/components/schemas/
|
|
1754
|
-
- $ref: "#/components/schemas/
|
|
1755
|
-
- $ref: "#/components/schemas/
|
|
1756
|
-
|
|
1768
|
+
- $ref: "#/components/schemas/CaptureTerminalCommandEvent"
|
|
1769
|
+
- $ref: "#/components/schemas/CaptureSpeechEvent"
|
|
1770
|
+
- $ref: "#/components/schemas/CaptureThreadMessageEvent"
|
|
1771
|
+
- $ref: "#/components/schemas/CaptureFileAddedEvent"
|
|
1772
|
+
- $ref: "#/components/schemas/CaptureFileChangedEvent"
|
|
1773
|
+
- $ref: "#/components/schemas/CaptureFileRemovedEvent"
|
|
1774
|
+
CaptureContext:
|
|
1757
1775
|
oneOf:
|
|
1758
1776
|
- type: string
|
|
1759
1777
|
enum:
|
|
1760
1778
|
- meeting
|
|
1761
1779
|
- thread
|
|
1762
1780
|
- walkthrough
|
|
1763
|
-
|
|
1781
|
+
BaseCaptureEvent:
|
|
1764
1782
|
type: object
|
|
1765
1783
|
properties:
|
|
1766
1784
|
type:
|
|
@@ -1776,7 +1794,7 @@ components:
|
|
|
1776
1794
|
maxLength: 50
|
|
1777
1795
|
actor:
|
|
1778
1796
|
type: object
|
|
1779
|
-
description: Optionally, provide the actor of the event, in the context of multiple people contributing to the
|
|
1797
|
+
description: Optionally, provide the actor of the event, in the context of multiple people contributing to the capture.
|
|
1780
1798
|
properties:
|
|
1781
1799
|
name:
|
|
1782
1800
|
type: string
|
|
@@ -1785,9 +1803,9 @@ components:
|
|
|
1785
1803
|
required:
|
|
1786
1804
|
- type
|
|
1787
1805
|
- timestamp
|
|
1788
|
-
|
|
1806
|
+
CaptureSpeechEvent:
|
|
1789
1807
|
allOf:
|
|
1790
|
-
- $ref: "#/components/schemas/
|
|
1808
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1791
1809
|
- type: object
|
|
1792
1810
|
properties:
|
|
1793
1811
|
type:
|
|
@@ -1811,9 +1829,9 @@ components:
|
|
|
1811
1829
|
type: string
|
|
1812
1830
|
required:
|
|
1813
1831
|
- transcript
|
|
1814
|
-
|
|
1832
|
+
CaptureTerminalCommandEvent:
|
|
1815
1833
|
allOf:
|
|
1816
|
-
- $ref: "#/components/schemas/
|
|
1834
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1817
1835
|
- type: object
|
|
1818
1836
|
properties:
|
|
1819
1837
|
type:
|
|
@@ -1828,9 +1846,9 @@ components:
|
|
|
1828
1846
|
- type
|
|
1829
1847
|
- command
|
|
1830
1848
|
- stdout
|
|
1831
|
-
|
|
1849
|
+
CaptureThreadMessageEvent:
|
|
1832
1850
|
allOf:
|
|
1833
|
-
- $ref: "#/components/schemas/
|
|
1851
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1834
1852
|
- type: object
|
|
1835
1853
|
properties:
|
|
1836
1854
|
type:
|
|
@@ -1844,9 +1862,9 @@ components:
|
|
|
1844
1862
|
required:
|
|
1845
1863
|
- type
|
|
1846
1864
|
- text
|
|
1847
|
-
|
|
1865
|
+
CaptureFileAddedEvent:
|
|
1848
1866
|
allOf:
|
|
1849
|
-
- $ref: "#/components/schemas/
|
|
1867
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1850
1868
|
- type: object
|
|
1851
1869
|
properties:
|
|
1852
1870
|
type:
|
|
@@ -1861,9 +1879,9 @@ components:
|
|
|
1861
1879
|
- type
|
|
1862
1880
|
- filename
|
|
1863
1881
|
- fileSnapshot
|
|
1864
|
-
|
|
1882
|
+
CaptureFileChangedEvent:
|
|
1865
1883
|
allOf:
|
|
1866
|
-
- $ref: "#/components/schemas/
|
|
1884
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1867
1885
|
- type: object
|
|
1868
1886
|
properties:
|
|
1869
1887
|
type:
|
|
@@ -1878,9 +1896,9 @@ components:
|
|
|
1878
1896
|
- type
|
|
1879
1897
|
- filename
|
|
1880
1898
|
- fileDiff
|
|
1881
|
-
|
|
1899
|
+
CaptureFileRemovedEvent:
|
|
1882
1900
|
allOf:
|
|
1883
|
-
- $ref: "#/components/schemas/
|
|
1901
|
+
- $ref: "#/components/schemas/BaseCaptureEvent"
|
|
1884
1902
|
- type: object
|
|
1885
1903
|
properties:
|
|
1886
1904
|
type:
|
|
@@ -2505,7 +2523,7 @@ components:
|
|
|
2505
2523
|
type: string
|
|
2506
2524
|
enum:
|
|
2507
2525
|
- entities:write
|
|
2508
|
-
-
|
|
2526
|
+
- capture:write
|
|
2509
2527
|
- space:views:read
|
|
2510
2528
|
- space:content:read
|
|
2511
2529
|
- space:content:write
|
|
@@ -4573,6 +4591,7 @@ components:
|
|
|
4573
4591
|
- $ref: "#/components/schemas/ContentKitRadio"
|
|
4574
4592
|
- $ref: "#/components/schemas/ContentKitCheckbox"
|
|
4575
4593
|
- $ref: "#/components/schemas/ContentKitButton"
|
|
4594
|
+
- $ref: "#/components/schemas/ContentKitCodeBlock"
|
|
4576
4595
|
required:
|
|
4577
4596
|
- type
|
|
4578
4597
|
- label
|
|
@@ -4803,6 +4822,8 @@ components:
|
|
|
4803
4822
|
- $ref: "#/components/schemas/OrganizationCustomFieldsChannel"
|
|
4804
4823
|
- $ref: "#/components/schemas/OrganizationEnvironmentsChannel"
|
|
4805
4824
|
- $ref: "#/components/schemas/UserAPITokensChannel"
|
|
4825
|
+
- $ref: "#/components/schemas/UserPreferencesChannel"
|
|
4826
|
+
- $ref: "#/components/schemas/UserProfileChannel"
|
|
4806
4827
|
- $ref: "#/components/schemas/ChangeRequestReviewsChannel"
|
|
4807
4828
|
- $ref: "#/components/schemas/OrganizationMembersChannel"
|
|
4808
4829
|
- $ref: "#/components/schemas/OrganizationMemberChannel"
|
|
@@ -4814,7 +4835,7 @@ components:
|
|
|
4814
4835
|
- $ref: "#/components/schemas/OrganizationSpacesChannel"
|
|
4815
4836
|
- $ref: "#/components/schemas/OrganizationEntitiesChannel"
|
|
4816
4837
|
- $ref: "#/components/schemas/OrganizationSchemasChannel"
|
|
4817
|
-
- $ref: "#/components/schemas/
|
|
4838
|
+
- $ref: "#/components/schemas/OrganizationCapturesChannel"
|
|
4818
4839
|
- type: object
|
|
4819
4840
|
properties:
|
|
4820
4841
|
channel:
|
|
@@ -4989,6 +5010,30 @@ components:
|
|
|
4989
5010
|
required:
|
|
4990
5011
|
- channel
|
|
4991
5012
|
- user
|
|
5013
|
+
UserPreferencesChannel:
|
|
5014
|
+
type: object
|
|
5015
|
+
properties:
|
|
5016
|
+
channel:
|
|
5017
|
+
type: string
|
|
5018
|
+
enum:
|
|
5019
|
+
- user-preferences
|
|
5020
|
+
user:
|
|
5021
|
+
type: string
|
|
5022
|
+
required:
|
|
5023
|
+
- channel
|
|
5024
|
+
- user
|
|
5025
|
+
UserProfileChannel:
|
|
5026
|
+
type: object
|
|
5027
|
+
properties:
|
|
5028
|
+
channel:
|
|
5029
|
+
type: string
|
|
5030
|
+
enum:
|
|
5031
|
+
- user-profile
|
|
5032
|
+
user:
|
|
5033
|
+
type: string
|
|
5034
|
+
required:
|
|
5035
|
+
- channel
|
|
5036
|
+
- user
|
|
4992
5037
|
ChangeRequestReviewsChannel:
|
|
4993
5038
|
type: object
|
|
4994
5039
|
properties:
|
|
@@ -5169,13 +5214,13 @@ components:
|
|
|
5169
5214
|
required:
|
|
5170
5215
|
- channel
|
|
5171
5216
|
- organization
|
|
5172
|
-
|
|
5217
|
+
OrganizationCapturesChannel:
|
|
5173
5218
|
type: object
|
|
5174
5219
|
properties:
|
|
5175
5220
|
channel:
|
|
5176
5221
|
type: string
|
|
5177
5222
|
enum:
|
|
5178
|
-
- organization-
|
|
5223
|
+
- organization-captures
|
|
5179
5224
|
organization:
|
|
5180
5225
|
type: string
|
|
5181
5226
|
required:
|
|
@@ -5566,6 +5611,50 @@ paths:
|
|
|
5566
5611
|
$ref: "#/components/schemas/User"
|
|
5567
5612
|
default:
|
|
5568
5613
|
$ref: "#/components/responses/UnexpectedError"
|
|
5614
|
+
/user/preferences:
|
|
5615
|
+
get:
|
|
5616
|
+
operationId: getPreferencesForAuthenticatedUser
|
|
5617
|
+
summary: Get the preferences for the currently authenticated user
|
|
5618
|
+
tags:
|
|
5619
|
+
- users
|
|
5620
|
+
security:
|
|
5621
|
+
- user: []
|
|
5622
|
+
description: |
|
|
5623
|
+
Returns the preferences for the user associated with the authentication provided in the request's authorization header.
|
|
5624
|
+
responses:
|
|
5625
|
+
"200":
|
|
5626
|
+
description: OK
|
|
5627
|
+
content:
|
|
5628
|
+
application/json:
|
|
5629
|
+
schema:
|
|
5630
|
+
$ref: "#/components/schemas/UserPreferences"
|
|
5631
|
+
default:
|
|
5632
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5633
|
+
patch:
|
|
5634
|
+
operationId: updatePreferencesForAuthenticatedUser
|
|
5635
|
+
summary: Update the preferences for the currently authenticated user
|
|
5636
|
+
tags:
|
|
5637
|
+
- users
|
|
5638
|
+
requestBody:
|
|
5639
|
+
required: true
|
|
5640
|
+
content:
|
|
5641
|
+
application/json:
|
|
5642
|
+
schema:
|
|
5643
|
+
type: object
|
|
5644
|
+
properties:
|
|
5645
|
+
theme:
|
|
5646
|
+
$ref: "#/components/schemas/UserPreferencesTheme"
|
|
5647
|
+
required:
|
|
5648
|
+
- theme
|
|
5649
|
+
responses:
|
|
5650
|
+
"200":
|
|
5651
|
+
description: The user preferences have been updated
|
|
5652
|
+
content:
|
|
5653
|
+
application/json:
|
|
5654
|
+
schema:
|
|
5655
|
+
$ref: "#/components/schemas/UserPreferences"
|
|
5656
|
+
default:
|
|
5657
|
+
$ref: "#/components/responses/UnexpectedError"
|
|
5569
5658
|
/user/spaces:
|
|
5570
5659
|
get:
|
|
5571
5660
|
operationId: listSpacesForAuthenticatedUser
|
|
@@ -9638,18 +9727,19 @@ paths:
|
|
|
9638
9727
|
$ref: "#/components/schemas/Entity"
|
|
9639
9728
|
default:
|
|
9640
9729
|
$ref: "#/components/responses/UnexpectedError"
|
|
9641
|
-
"/orgs/{organizationId}/
|
|
9730
|
+
"/orgs/{organizationId}/captures":
|
|
9642
9731
|
get:
|
|
9643
|
-
operationId:
|
|
9644
|
-
summary: List
|
|
9732
|
+
operationId: listCaptures
|
|
9733
|
+
summary: List captures
|
|
9645
9734
|
description: |
|
|
9646
|
-
List
|
|
9735
|
+
List captures in an organization.
|
|
9647
9736
|
tags:
|
|
9648
9737
|
- organizations
|
|
9649
9738
|
security:
|
|
9650
9739
|
- user: []
|
|
9651
9740
|
parameters:
|
|
9652
9741
|
- $ref: "#/components/parameters/organizationId"
|
|
9742
|
+
- $ref: "#/components/parameters/pageFormat"
|
|
9653
9743
|
- $ref: "#/components/parameters/listPage"
|
|
9654
9744
|
- $ref: "#/components/parameters/listLimit"
|
|
9655
9745
|
responses:
|
|
@@ -9667,12 +9757,12 @@ paths:
|
|
|
9667
9757
|
items:
|
|
9668
9758
|
type: array
|
|
9669
9759
|
items:
|
|
9670
|
-
$ref: "#/components/schemas/
|
|
9760
|
+
$ref: "#/components/schemas/Capture"
|
|
9671
9761
|
default:
|
|
9672
9762
|
$ref: "#/components/responses/UnexpectedError"
|
|
9673
9763
|
post:
|
|
9674
|
-
operationId:
|
|
9675
|
-
summary: Start a
|
|
9764
|
+
operationId: startCapture
|
|
9765
|
+
summary: Start a capture
|
|
9676
9766
|
tags:
|
|
9677
9767
|
- organizations
|
|
9678
9768
|
security:
|
|
@@ -9686,63 +9776,64 @@ paths:
|
|
|
9686
9776
|
type: object
|
|
9687
9777
|
properties:
|
|
9688
9778
|
title:
|
|
9689
|
-
$ref: "#/components/schemas/
|
|
9779
|
+
$ref: "#/components/schemas/CaptureTitle"
|
|
9690
9780
|
context:
|
|
9691
|
-
$ref: "#/components/schemas/
|
|
9781
|
+
$ref: "#/components/schemas/CaptureContext"
|
|
9692
9782
|
externalId:
|
|
9693
9783
|
type: string
|
|
9694
|
-
description: ID in the original source of the
|
|
9784
|
+
description: ID in the original source of the capture.
|
|
9695
9785
|
externalURL:
|
|
9696
9786
|
type: string
|
|
9697
9787
|
format: uri
|
|
9698
|
-
description: URL of the original source of the
|
|
9788
|
+
description: URL of the original source of the capture.
|
|
9699
9789
|
required:
|
|
9700
9790
|
- context
|
|
9701
9791
|
responses:
|
|
9702
9792
|
"201":
|
|
9703
|
-
description:
|
|
9793
|
+
description: Capture started
|
|
9704
9794
|
headers:
|
|
9705
9795
|
Location:
|
|
9706
|
-
description: API URL for the newly created
|
|
9796
|
+
description: API URL for the newly created capture
|
|
9707
9797
|
schema:
|
|
9708
9798
|
type: string
|
|
9709
9799
|
content:
|
|
9710
9800
|
application/json:
|
|
9711
9801
|
schema:
|
|
9712
|
-
$ref: "#/components/schemas/
|
|
9802
|
+
$ref: "#/components/schemas/Capture"
|
|
9713
9803
|
default:
|
|
9714
9804
|
$ref: "#/components/responses/UnexpectedError"
|
|
9715
|
-
"/orgs/{organizationId}/
|
|
9805
|
+
"/orgs/{organizationId}/captures/{captureId}":
|
|
9716
9806
|
get:
|
|
9717
|
-
operationId:
|
|
9718
|
-
summary: Get a
|
|
9807
|
+
operationId: getCapture
|
|
9808
|
+
summary: Get a capture by its ID
|
|
9719
9809
|
tags:
|
|
9720
9810
|
- organizations
|
|
9721
9811
|
security:
|
|
9722
9812
|
- user: []
|
|
9723
9813
|
parameters:
|
|
9724
9814
|
- $ref: "#/components/parameters/organizationId"
|
|
9725
|
-
- $ref: "#/components/parameters/
|
|
9815
|
+
- $ref: "#/components/parameters/captureId"
|
|
9816
|
+
- $ref: "#/components/parameters/pageFormat"
|
|
9726
9817
|
responses:
|
|
9727
9818
|
"200":
|
|
9728
9819
|
description: OK
|
|
9729
9820
|
content:
|
|
9730
9821
|
application/json:
|
|
9731
9822
|
schema:
|
|
9732
|
-
$ref: "#/components/schemas/
|
|
9823
|
+
$ref: "#/components/schemas/Capture"
|
|
9733
9824
|
default:
|
|
9734
9825
|
$ref: "#/components/responses/UnexpectedError"
|
|
9735
|
-
"/orgs/{organizationId}/
|
|
9826
|
+
"/orgs/{organizationId}/captures/{captureId}/events":
|
|
9736
9827
|
post:
|
|
9737
|
-
operationId:
|
|
9738
|
-
summary: Add events to a running
|
|
9828
|
+
operationId: addEventsToCapture
|
|
9829
|
+
summary: Add events to a running capture
|
|
9739
9830
|
tags:
|
|
9740
9831
|
- organizations
|
|
9741
9832
|
security:
|
|
9742
9833
|
- user: []
|
|
9743
9834
|
parameters:
|
|
9744
9835
|
- $ref: "#/components/parameters/organizationId"
|
|
9745
|
-
- $ref: "#/components/parameters/
|
|
9836
|
+
- $ref: "#/components/parameters/captureId"
|
|
9746
9837
|
requestBody:
|
|
9747
9838
|
content:
|
|
9748
9839
|
application/json:
|
|
@@ -9752,7 +9843,7 @@ paths:
|
|
|
9752
9843
|
events:
|
|
9753
9844
|
type: array
|
|
9754
9845
|
items:
|
|
9755
|
-
$ref: "#/components/schemas/
|
|
9846
|
+
$ref: "#/components/schemas/CaptureEvent"
|
|
9756
9847
|
required:
|
|
9757
9848
|
- events
|
|
9758
9849
|
responses:
|
|
@@ -9760,45 +9851,41 @@ paths:
|
|
|
9760
9851
|
description: Events added
|
|
9761
9852
|
default:
|
|
9762
9853
|
$ref: "#/components/responses/UnexpectedError"
|
|
9763
|
-
"/orgs/{organizationId}/
|
|
9854
|
+
"/orgs/{organizationId}/captures/{captureId}/stop":
|
|
9764
9855
|
post:
|
|
9765
|
-
operationId:
|
|
9766
|
-
summary: Stop a
|
|
9856
|
+
operationId: stopCapture
|
|
9857
|
+
summary: Stop a capture
|
|
9767
9858
|
tags:
|
|
9768
9859
|
- organizations
|
|
9769
9860
|
security:
|
|
9770
9861
|
- user: []
|
|
9771
9862
|
parameters:
|
|
9772
9863
|
- $ref: "#/components/parameters/organizationId"
|
|
9773
|
-
- $ref: "#/components/parameters/
|
|
9864
|
+
- $ref: "#/components/parameters/captureId"
|
|
9865
|
+
- $ref: "#/components/parameters/pageFormat"
|
|
9774
9866
|
requestBody:
|
|
9775
9867
|
content:
|
|
9776
9868
|
application/json:
|
|
9777
9869
|
schema:
|
|
9778
9870
|
type: object
|
|
9779
|
-
properties:
|
|
9780
|
-
space:
|
|
9781
|
-
description: The space in which the docs should be generated
|
|
9782
|
-
type: string
|
|
9783
|
-
required:
|
|
9784
|
-
- space
|
|
9871
|
+
properties: {}
|
|
9785
9872
|
responses:
|
|
9786
9873
|
"200":
|
|
9787
|
-
description:
|
|
9874
|
+
description: Capture stopped
|
|
9788
9875
|
content:
|
|
9789
9876
|
application/json:
|
|
9790
9877
|
schema:
|
|
9791
9878
|
type: object
|
|
9792
9879
|
properties:
|
|
9793
|
-
|
|
9794
|
-
$ref: "#/components/schemas/
|
|
9880
|
+
capture:
|
|
9881
|
+
$ref: "#/components/schemas/Capture"
|
|
9795
9882
|
followupQuestions:
|
|
9796
|
-
description: Example questions that would be answered by the content of this
|
|
9883
|
+
description: Example questions that would be answered by the content of this capture.
|
|
9797
9884
|
type: array
|
|
9798
9885
|
items:
|
|
9799
9886
|
type: string
|
|
9800
9887
|
required:
|
|
9801
|
-
-
|
|
9888
|
+
- capture
|
|
9802
9889
|
default:
|
|
9803
9890
|
$ref: "#/components/responses/UnexpectedError"
|
|
9804
9891
|
/internal/hive/token:
|