mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-09 12:27:49 +00:00
ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.178.0
This commit is contained in:
@@ -5,6 +5,6 @@ external upload initialized
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
||||
| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `presignedUrls` | [operations.PresignedUrls](../../../sdk/models/operations/presignedurls.md) | :heavy_check_mark: | The presigned URLs for each part number, which has the part numbers as keys. | {"1":"https://discourse-martin-uploads-test.s3.us-east-2.amazonaws.com/temp/uploads/default/123abc/123abc.jpg?partNumber=1&uploadId=123456abcd&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=test&X-Amz-Date=20211222T012336Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=abc123"} |
|
||||
@@ -8,6 +8,6 @@ external upload initialized
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `key` | *string* | :heavy_minus_sign: | The path of the temporary file on the external storage service. | temp/site/uploads/default/12345/67890.jpg |
|
||||
| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | |
|
||||
| `signedHeaders` | [operations.SignedHeaders](../../../sdk/models/operations/signedheaders.md) | :heavy_minus_sign: | A map of headers that must be sent with the PUT request. | {"x-amz-acl":"private","x-amz-meta-sha1-checksum":"sha1"} |
|
||||
| `uniqueIdentifier` | *string* | :heavy_minus_sign: | A unique string that identifies the external upload. This must be stored and then sent in the /complete-external-upload endpoint to complete the direct upload. | 66e86218-80d9-4bda-b4d5-2b6def968705 |
|
||||
| `url` | *string* | :heavy_minus_sign: | A presigned PUT URL which must be used to upload the file binary blob to. | https://file-uploads.s3.us-west-2.amazonaws.com/temp/site/uploads/default/123/456.jpg?x-amz-acl=private&x-amz-meta-sha1-checksum=sha1&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AAAAus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211221T011246Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=12345678 |
|
||||
@@ -121,7 +121,7 @@ const apiKey: string = "string";
|
||||
const apiUsername: string = "string";
|
||||
const id: string = "string";
|
||||
const requestBody: CreateTopicTimerRequestBody = {
|
||||
time: "string",
|
||||
time: "",
|
||||
};
|
||||
|
||||
const res = await sdk.topics.createTopicTimer(apiKey, apiUsername, id, requestBody);
|
||||
|
||||
@@ -99,9 +99,9 @@ async function run() {
|
||||
|
||||
const res = await sdk.uploads.batchPresignMultipartParts({
|
||||
partNumbers: [
|
||||
"string",
|
||||
"string",
|
||||
"string",
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
],
|
||||
uniqueIdentifier: "66e86218-80d9-4bda-b4d5-2b6def968705",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user