sideko_rest_api 0.7.8

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 - Initialize API Project
  • list - List API Projects

api.spec

api_link

api_link.group

  • create - Create API Link Group
  • delete - Delete API Link Group
  • list - List API Link Groups
  • patch - Update API Link Group

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.theme

  • get - Get Documentation Project Theme
  • update - Update Documentation Project Theme

doc.version

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

doc.version.guide

lint

  • run - Lint OpenAPI

org

  • create - Create Organization
  • get - Get Organization

org.theme

  • get - Get Organization Theme
  • update - Update Organization Theme

role

sdk

sdk.config

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

sdk.doc

  • create - Get SDK Documentation

service_account

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

user

user.me