basecamp-client 1.0.8 → 1.0.9
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/index.d.mts +383 -252
- package/dist/index.d.ts +383 -252
- package/dist/index.js +446 -376
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +446 -376
- package/dist/index.mjs.map +1 -1
- package/openapi.json +151 -0
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -39673,6 +39673,89 @@
|
|
|
39673
39673
|
"x-client-method": "uploads.update"
|
|
39674
39674
|
}
|
|
39675
39675
|
},
|
|
39676
|
+
"/buckets/{bucketId}/uploads/{uploadId}/download/{filename}": {
|
|
39677
|
+
"get": {
|
|
39678
|
+
"description": "Download the raw file content of an upload.",
|
|
39679
|
+
"summary": "Download an upload",
|
|
39680
|
+
"tags": [
|
|
39681
|
+
"Uploads"
|
|
39682
|
+
],
|
|
39683
|
+
"parameters": [
|
|
39684
|
+
{
|
|
39685
|
+
"name": "bucketId",
|
|
39686
|
+
"in": "path",
|
|
39687
|
+
"required": true,
|
|
39688
|
+
"schema": {
|
|
39689
|
+
"type": "integer",
|
|
39690
|
+
"minimum": 0,
|
|
39691
|
+
"nullable": true
|
|
39692
|
+
}
|
|
39693
|
+
},
|
|
39694
|
+
{
|
|
39695
|
+
"name": "uploadId",
|
|
39696
|
+
"in": "path",
|
|
39697
|
+
"required": true,
|
|
39698
|
+
"schema": {
|
|
39699
|
+
"type": "integer",
|
|
39700
|
+
"minimum": 0,
|
|
39701
|
+
"nullable": true
|
|
39702
|
+
}
|
|
39703
|
+
},
|
|
39704
|
+
{
|
|
39705
|
+
"name": "filename",
|
|
39706
|
+
"in": "path",
|
|
39707
|
+
"required": true,
|
|
39708
|
+
"schema": {
|
|
39709
|
+
"type": "string",
|
|
39710
|
+
"minLength": 1
|
|
39711
|
+
}
|
|
39712
|
+
},
|
|
39713
|
+
{
|
|
39714
|
+
"name": "Authorization",
|
|
39715
|
+
"in": "header",
|
|
39716
|
+
"required": true,
|
|
39717
|
+
"schema": {
|
|
39718
|
+
"type": "string",
|
|
39719
|
+
"minLength": 1
|
|
39720
|
+
}
|
|
39721
|
+
},
|
|
39722
|
+
{
|
|
39723
|
+
"name": "User-Agent",
|
|
39724
|
+
"in": "header",
|
|
39725
|
+
"schema": {
|
|
39726
|
+
"type": "string",
|
|
39727
|
+
"minLength": 1
|
|
39728
|
+
}
|
|
39729
|
+
},
|
|
39730
|
+
{
|
|
39731
|
+
"name": "Accept",
|
|
39732
|
+
"in": "header",
|
|
39733
|
+
"schema": {
|
|
39734
|
+
"type": "string",
|
|
39735
|
+
"enum": [
|
|
39736
|
+
"application/json"
|
|
39737
|
+
]
|
|
39738
|
+
}
|
|
39739
|
+
}
|
|
39740
|
+
],
|
|
39741
|
+
"responses": {
|
|
39742
|
+
"200": {
|
|
39743
|
+
"description": "200"
|
|
39744
|
+
}
|
|
39745
|
+
},
|
|
39746
|
+
"operationId": "uploads.download",
|
|
39747
|
+
"externalDocs": {
|
|
39748
|
+
"description": "Official Basecamp API Documentation",
|
|
39749
|
+
"url": "https://github.com/basecamp/bc3-api/docs/basecamp-api-specs/sections/uploads.md"
|
|
39750
|
+
},
|
|
39751
|
+
"security": [
|
|
39752
|
+
{
|
|
39753
|
+
"BearerAuth": []
|
|
39754
|
+
}
|
|
39755
|
+
],
|
|
39756
|
+
"x-client-method": "uploads.download"
|
|
39757
|
+
}
|
|
39758
|
+
},
|
|
39676
39759
|
"/buckets/{bucketId}/recordings/{uploadId}/status/trashed": {
|
|
39677
39760
|
"put": {
|
|
39678
39761
|
"description": "Move an upload recording to the trash. Trashed items can be restored via the UI.",
|
|
@@ -39825,6 +39908,74 @@
|
|
|
39825
39908
|
],
|
|
39826
39909
|
"x-client-method": "attachments.create"
|
|
39827
39910
|
}
|
|
39911
|
+
},
|
|
39912
|
+
"/blobs/{blobId}/download/{filename}": {
|
|
39913
|
+
"get": {
|
|
39914
|
+
"description": "Download the raw file content of a blob. Blobs represent files embedded in documents and messages via bc-attachment tags.",
|
|
39915
|
+
"summary": "Download a blob",
|
|
39916
|
+
"tags": [
|
|
39917
|
+
"Blobs"
|
|
39918
|
+
],
|
|
39919
|
+
"parameters": [
|
|
39920
|
+
{
|
|
39921
|
+
"name": "blobId",
|
|
39922
|
+
"in": "path",
|
|
39923
|
+
"required": true,
|
|
39924
|
+
"schema": {
|
|
39925
|
+
"type": "string",
|
|
39926
|
+
"minLength": 1
|
|
39927
|
+
}
|
|
39928
|
+
},
|
|
39929
|
+
{
|
|
39930
|
+
"name": "filename",
|
|
39931
|
+
"in": "path",
|
|
39932
|
+
"required": true,
|
|
39933
|
+
"schema": {
|
|
39934
|
+
"type": "string",
|
|
39935
|
+
"minLength": 1
|
|
39936
|
+
}
|
|
39937
|
+
},
|
|
39938
|
+
{
|
|
39939
|
+
"name": "Authorization",
|
|
39940
|
+
"in": "header",
|
|
39941
|
+
"required": true,
|
|
39942
|
+
"schema": {
|
|
39943
|
+
"type": "string",
|
|
39944
|
+
"minLength": 1
|
|
39945
|
+
}
|
|
39946
|
+
},
|
|
39947
|
+
{
|
|
39948
|
+
"name": "User-Agent",
|
|
39949
|
+
"in": "header",
|
|
39950
|
+
"schema": {
|
|
39951
|
+
"type": "string",
|
|
39952
|
+
"minLength": 1
|
|
39953
|
+
}
|
|
39954
|
+
},
|
|
39955
|
+
{
|
|
39956
|
+
"name": "Accept",
|
|
39957
|
+
"in": "header",
|
|
39958
|
+
"schema": {
|
|
39959
|
+
"type": "string",
|
|
39960
|
+
"enum": [
|
|
39961
|
+
"application/json"
|
|
39962
|
+
]
|
|
39963
|
+
}
|
|
39964
|
+
}
|
|
39965
|
+
],
|
|
39966
|
+
"responses": {
|
|
39967
|
+
"200": {
|
|
39968
|
+
"description": "200"
|
|
39969
|
+
}
|
|
39970
|
+
},
|
|
39971
|
+
"operationId": "blobs.download",
|
|
39972
|
+
"security": [
|
|
39973
|
+
{
|
|
39974
|
+
"BearerAuth": []
|
|
39975
|
+
}
|
|
39976
|
+
],
|
|
39977
|
+
"x-client-method": "blobs.download"
|
|
39978
|
+
}
|
|
39828
39979
|
}
|
|
39829
39980
|
},
|
|
39830
39981
|
"info": {
|