sideko_rest_api 0.9.0

Rust API Client
Documentation

Sideko REST API Rust SDK

Overview

The Sideko API unlocks features including generating SDKs, setting up API Specifications with mock servers, creating documentation projects with generated API references and custom pages, managing roles and permissions, and more.

Example Client Initialization

let client = sideko_rest_api::Client::default()
    .with_api_key_auth(&std::env::var("API_KEY").unwrap())
    .with_cookie_auth(&std::env::var("API_KEY").unwrap());

Module Documentation and Snippets

api

  • create - Create API Project
  • delete - Delete API Project
  • get - Get API Project
  • init - Create API Project with OpenAPI
  • list - List API Projects

api.spec

asset

auth

cli

doc

  • check_preview - Check Preview Access
  • create - Create Documentation Project
  • delete - Delete Documentation Project
  • get - Get Documentation Project
  • list - List Documentation Projects
  • patch - Update Documentation Project

doc.deployment

  • get - Get Documentation Deployment
  • list - List Documentation Deployments
  • trigger - Trigger Documentation Deployment

doc.preview

doc.version

  • get - Get Documentation Project Version
  • list - List Documentation Project Versions

doc.version.api_link

  • get - Get API Link
  • patch - Update API Link

doc.version.dropdown

  • patch - Update Dropdown

doc.version.external_link

  • patch - Update External Link

doc.version.page

doc.version.sidebar

doc.version.space

doc.version.title

doc.version.topbar

lint

  • run - Lint OpenAPI

org

  • create - Create Organization
  • get - Get Organization

role

sdk

sdk.config

  • init - Initialize SDK Configuration
  • sync - Sync SDK Configuration

sdk.doc

  • create - Get SDK Documentation

sdk.metadata

  • update - Update the metadata of an SDK

service_account

  • create - Create Service Account
  • delete - Delete Service Account
  • get - Get Service Account
  • list - List Service Accounts

user

user.me