mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-24 00:09:27 +00:00
Upgrade Rust SDK to spec 1.3.0
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
* VRChat API Documentation
|
||||
*
|
||||
*
|
||||
* The version of the OpenAPI document: 1.1.2
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* Contact: me@ruby.js.org
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
@ -283,7 +283,7 @@ pub fn get_file(configuration: &configuration::Configuration, file_id: &str) ->
|
||||
}
|
||||
|
||||
/// Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
|
||||
pub fn get_file_data_upload_status(configuration: &configuration::Configuration, file_id: &str, version_id: i32, file_type: &str) -> Result<crate::models::InlineResponse2004, Error<GetFileDataUploadStatusError>> {
|
||||
pub fn get_file_data_upload_status(configuration: &configuration::Configuration, file_id: &str, version_id: i32, file_type: &str) -> Result<crate::models::InlineResponse2003, Error<GetFileDataUploadStatusError>> {
|
||||
|
||||
let local_var_client = &configuration.client;
|
||||
|
||||
@ -349,7 +349,7 @@ pub fn get_files(configuration: &configuration::Configuration, tag: Option<&str>
|
||||
}
|
||||
|
||||
/// Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS's REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
|
||||
pub fn start_file_data_upload(configuration: &configuration::Configuration, file_id: &str, version_id: i32, file_type: &str, part_number: i32) -> Result<crate::models::InlineResponse2005, Error<StartFileDataUploadError>> {
|
||||
pub fn start_file_data_upload(configuration: &configuration::Configuration, file_id: &str, version_id: i32, file_type: &str, part_number: i32) -> Result<crate::models::InlineResponse2004, Error<StartFileDataUploadError>> {
|
||||
|
||||
let local_var_client = &configuration.client;
|
||||
|
||||
|
Reference in New Issue
Block a user