@wevion/cli 1.0.2366 → 1.0.2368
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/openapi.json +217 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -107669,6 +107669,223 @@
|
|
|
107669
107669
|
}
|
|
107670
107670
|
}
|
|
107671
107671
|
},
|
|
107672
|
+
"/api/v1/creative-hub/library/assets/{id}/save-to-drive": {
|
|
107673
|
+
"post": {
|
|
107674
|
+
"operationId": "creativeHubSaveAssetToDrive",
|
|
107675
|
+
"summary": "Save a Creative Hub library asset into the caller's Drive folder",
|
|
107676
|
+
"tags": [
|
|
107677
|
+
"creative-hub",
|
|
107678
|
+
"creative-library"
|
|
107679
|
+
],
|
|
107680
|
+
"description": "Copies a Creative Hub library asset into the current user's personal Google Drive folder, provisioning that folder on first use. Returns the created Drive file.",
|
|
107681
|
+
"parameters": [
|
|
107682
|
+
{
|
|
107683
|
+
"schema": {
|
|
107684
|
+
"type": "string"
|
|
107685
|
+
},
|
|
107686
|
+
"in": "path",
|
|
107687
|
+
"name": "id",
|
|
107688
|
+
"required": true
|
|
107689
|
+
}
|
|
107690
|
+
],
|
|
107691
|
+
"security": [
|
|
107692
|
+
{
|
|
107693
|
+
"bearerAuth": []
|
|
107694
|
+
},
|
|
107695
|
+
{
|
|
107696
|
+
"apiKeyAuth": []
|
|
107697
|
+
}
|
|
107698
|
+
],
|
|
107699
|
+
"responses": {
|
|
107700
|
+
"200": {
|
|
107701
|
+
"description": "Successful response",
|
|
107702
|
+
"content": {
|
|
107703
|
+
"application/json": {
|
|
107704
|
+
"schema": {
|
|
107705
|
+
"type": "object",
|
|
107706
|
+
"required": [
|
|
107707
|
+
"file"
|
|
107708
|
+
],
|
|
107709
|
+
"properties": {
|
|
107710
|
+
"file": {
|
|
107711
|
+
"type": "object",
|
|
107712
|
+
"required": [
|
|
107713
|
+
"id",
|
|
107714
|
+
"name",
|
|
107715
|
+
"mimeType",
|
|
107716
|
+
"size",
|
|
107717
|
+
"createdTime",
|
|
107718
|
+
"modifiedTime",
|
|
107719
|
+
"thumbnailUrl",
|
|
107720
|
+
"viewUrl",
|
|
107721
|
+
"downloadUrl",
|
|
107722
|
+
"isVideo",
|
|
107723
|
+
"isImage",
|
|
107724
|
+
"isFolder",
|
|
107725
|
+
"parents"
|
|
107726
|
+
],
|
|
107727
|
+
"properties": {
|
|
107728
|
+
"id": {
|
|
107729
|
+
"anyOf": [
|
|
107730
|
+
{
|
|
107731
|
+
"type": "string"
|
|
107732
|
+
},
|
|
107733
|
+
{
|
|
107734
|
+
"type": "null"
|
|
107735
|
+
}
|
|
107736
|
+
]
|
|
107737
|
+
},
|
|
107738
|
+
"name": {
|
|
107739
|
+
"anyOf": [
|
|
107740
|
+
{
|
|
107741
|
+
"type": "string"
|
|
107742
|
+
},
|
|
107743
|
+
{
|
|
107744
|
+
"type": "null"
|
|
107745
|
+
}
|
|
107746
|
+
]
|
|
107747
|
+
},
|
|
107748
|
+
"mimeType": {
|
|
107749
|
+
"anyOf": [
|
|
107750
|
+
{
|
|
107751
|
+
"type": "string"
|
|
107752
|
+
},
|
|
107753
|
+
{
|
|
107754
|
+
"type": "null"
|
|
107755
|
+
}
|
|
107756
|
+
]
|
|
107757
|
+
},
|
|
107758
|
+
"size": {
|
|
107759
|
+
"type": "integer"
|
|
107760
|
+
},
|
|
107761
|
+
"createdTime": {
|
|
107762
|
+
"anyOf": [
|
|
107763
|
+
{
|
|
107764
|
+
"type": "string"
|
|
107765
|
+
},
|
|
107766
|
+
{
|
|
107767
|
+
"type": "null"
|
|
107768
|
+
}
|
|
107769
|
+
]
|
|
107770
|
+
},
|
|
107771
|
+
"modifiedTime": {
|
|
107772
|
+
"anyOf": [
|
|
107773
|
+
{
|
|
107774
|
+
"type": "string"
|
|
107775
|
+
},
|
|
107776
|
+
{
|
|
107777
|
+
"type": "null"
|
|
107778
|
+
}
|
|
107779
|
+
]
|
|
107780
|
+
},
|
|
107781
|
+
"thumbnailUrl": {
|
|
107782
|
+
"anyOf": [
|
|
107783
|
+
{
|
|
107784
|
+
"type": "string"
|
|
107785
|
+
},
|
|
107786
|
+
{
|
|
107787
|
+
"type": "null"
|
|
107788
|
+
}
|
|
107789
|
+
]
|
|
107790
|
+
},
|
|
107791
|
+
"viewUrl": {
|
|
107792
|
+
"anyOf": [
|
|
107793
|
+
{
|
|
107794
|
+
"type": "string"
|
|
107795
|
+
},
|
|
107796
|
+
{
|
|
107797
|
+
"type": "null"
|
|
107798
|
+
}
|
|
107799
|
+
]
|
|
107800
|
+
},
|
|
107801
|
+
"downloadUrl": {
|
|
107802
|
+
"anyOf": [
|
|
107803
|
+
{
|
|
107804
|
+
"type": "string"
|
|
107805
|
+
},
|
|
107806
|
+
{
|
|
107807
|
+
"type": "null"
|
|
107808
|
+
}
|
|
107809
|
+
]
|
|
107810
|
+
},
|
|
107811
|
+
"isVideo": {
|
|
107812
|
+
"type": "boolean"
|
|
107813
|
+
},
|
|
107814
|
+
"isImage": {
|
|
107815
|
+
"type": "boolean"
|
|
107816
|
+
},
|
|
107817
|
+
"isFolder": {
|
|
107818
|
+
"type": "boolean"
|
|
107819
|
+
},
|
|
107820
|
+
"parents": {
|
|
107821
|
+
"anyOf": [
|
|
107822
|
+
{
|
|
107823
|
+
"type": "array",
|
|
107824
|
+
"items": {
|
|
107825
|
+
"type": "string"
|
|
107826
|
+
}
|
|
107827
|
+
},
|
|
107828
|
+
{
|
|
107829
|
+
"type": "null"
|
|
107830
|
+
}
|
|
107831
|
+
]
|
|
107832
|
+
}
|
|
107833
|
+
}
|
|
107834
|
+
}
|
|
107835
|
+
}
|
|
107836
|
+
}
|
|
107837
|
+
}
|
|
107838
|
+
}
|
|
107839
|
+
},
|
|
107840
|
+
"401": {
|
|
107841
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
107842
|
+
"content": {
|
|
107843
|
+
"application/json": {
|
|
107844
|
+
"schema": {
|
|
107845
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
107846
|
+
}
|
|
107847
|
+
}
|
|
107848
|
+
}
|
|
107849
|
+
},
|
|
107850
|
+
"404": {
|
|
107851
|
+
"description": "Resource not found",
|
|
107852
|
+
"content": {
|
|
107853
|
+
"application/json": {
|
|
107854
|
+
"schema": {
|
|
107855
|
+
"type": "object",
|
|
107856
|
+
"required": [
|
|
107857
|
+
"error"
|
|
107858
|
+
],
|
|
107859
|
+
"properties": {
|
|
107860
|
+
"error": {
|
|
107861
|
+
"type": "string"
|
|
107862
|
+
}
|
|
107863
|
+
}
|
|
107864
|
+
}
|
|
107865
|
+
}
|
|
107866
|
+
}
|
|
107867
|
+
},
|
|
107868
|
+
"500": {
|
|
107869
|
+
"description": "Internal server error",
|
|
107870
|
+
"content": {
|
|
107871
|
+
"application/json": {
|
|
107872
|
+
"schema": {
|
|
107873
|
+
"type": "object",
|
|
107874
|
+
"required": [
|
|
107875
|
+
"error"
|
|
107876
|
+
],
|
|
107877
|
+
"properties": {
|
|
107878
|
+
"error": {
|
|
107879
|
+
"type": "string"
|
|
107880
|
+
}
|
|
107881
|
+
}
|
|
107882
|
+
}
|
|
107883
|
+
}
|
|
107884
|
+
}
|
|
107885
|
+
}
|
|
107886
|
+
}
|
|
107887
|
+
}
|
|
107888
|
+
},
|
|
107672
107889
|
"/api/v1/creative-hub/thumbnail/{fileId}": {
|
|
107673
107890
|
"get": {
|
|
107674
107891
|
"operationId": "creativeHubThumbnail",
|