
### init <a name="init"></a>
Initialize an SDK configuration with all defaults applied

Creates a sdk config with default configurations for the api/api version

**API Endpoint**: `POST /sdk/config/init`

#### Example Snippet

```rust
let client = sideko_rest_api::SidekoClient::default()
    .with_api_key_auth(&std::env::var("API_KEY").unwrap())
    .with_cookie_auth(&std::env::var("API_KEY").unwrap());
let res = client
    .sdk()
    .config()
    .init(sideko_rest_api::resources::sdk::config::InitRequest {
        api_name: "my-project".to_string(),
        ..Default::default()
    })
    .await;
```

### sync <a name="sync"></a>
Sync an SDK configuration with the latest state of the API

Updates provided config with missing default configurations for the api version

**API Endpoint**: `POST /sdk/config/sync`

#### Example Snippet

```rust
let client = sideko_rest_api::SidekoClient::default()
    .with_api_key_auth(&std::env::var("API_KEY").unwrap())
    .with_cookie_auth(&std::env::var("API_KEY").unwrap());
let res = client
    .sdk()
    .config()
    .sync(sideko_rest_api::resources::sdk::config::SyncRequest {
        config: sideko_rest_api::UploadFile::from_path("uploads/config.yaml")
            .unwrap(),
        ..Default::default()
    })
    .await;
```
