Skip to main content

No project description provided

Project description

Sideko REST API Python 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.

Synchronous Client

from sideko_portal import SidekoClient
from os import getenv

client = SidekoClient(api_key=getenv("API_KEY"))

Asynchronous Client

from sideko_portal import AsyncSidekoClient
from os import getenv

client = AsyncSidekoClient(api_key=getenv("API_KEY"))

Module Documentation and Snippets

api

  • create - Create a new API
  • delete - Delete an API
  • get - Get one API
  • init - Create an API with an initial version
  • list - List your APIs
  • patch - Update an existing API

api.spec

  • create - Add a new API specification
  • delete - Delete an API Specification and it's associated metadata
  • get - Get API specification metadata
  • get_openapi - Get OpenAPI specification
  • get_stats - Get Stats about the specification
  • list - List specs of a collection
  • patch - Update an API Specification and/or metadata

api_link

  • create - Links API Version to Documentation project version with a specified update policy
  • delete - Removes an API link
  • get - Retrieve single API link
  • list - List API links for doc version
  • patch - Updates an API link
  • reorder - Reorder API links and groups

api_link.group

  • create - Create API group to organize API links
  • delete - Deletes the api group and all its links
  • list - List API groups for doc version
  • patch - Updates API link group

asset

auth

cli

doc

  • check_preview - A simple check to see if the requesting user has access to the preview doc project
  • create - Create a new Documentation Project
  • delete - Delete a specific Documentation Project
  • get - Get a specific Documentation Project
  • list - List Documentation Projects
  • patch - Update an existing Documentation Project

doc.deployment

  • get - Get a specific deployment for a specific documentation project
  • list - List deployments for a specific documentation project
  • trigger - Deploy a new generated version of documentation with linked guides & APIs

doc.preview

  • create_password - A password generator for a documentation project preview environment
  • delete_password - Deletes a preview environment password
  • list_passwords - Lists generated passwords for a documentation project preview environment

doc.theme

  • get - Get the theme attached to a documentation project
  • update - Update a document project theme

doc.version

  • get - Get a specific version of an Documentation Project
  • list - List versions of a specific Documentation Project

doc.version.guide

  • create - Create a guide for a specific version of a documentation project
  • delete - Delete a specific guide for a specific version of a documentation project
  • get - Get a specific guide for a specific version of a documentation project
  • get_content - Get content for a specific guide for a specific version of a documentation project
  • list - List guides for a specific version of a documentation project
  • patch - Update a specific guide for a specific version of a documentation project
  • reorder - Reorder guides for a specific version of a documentation project

lint

  • run - Lint an OpenAPI spec

org

  • create - Create a new organization
  • get - Get Organization

org.theme

  • get - Get organization theme
  • update - Update organization theme

role

  • create - Create a new role
  • delete - Delete role and all associated permissions
  • list - List roles

sdk

  • generate - Generate a new managed SDK from a Sideko configuration file
  • list - List all managed SDKs
  • update - Update an SDK to reflect the latest state of the API

sdk.config

  • init - Initialize an SDK configuration with all defaults applied
  • sync - Sync an SDK configuration with the latest state of the API

sdk.doc

  • create - Retrieve SDK documentation

service_account

  • create - Create a new service account with a set of project permissions
  • delete - Delete a service account
  • get - Get service account by the ID
  • list - List all service accounts in organization

user

  • invite - Invite a user to an organization with a specific role

user.me

  • get - Get current user profile
  • get_key - Get API key for the current user

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sideko_portal-0.3.1.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sideko_portal-0.3.1-py3-none-any.whl (123.8 kB view details)

Uploaded Python 3

File details

Details for the file sideko_portal-0.3.1.tar.gz.

File metadata

  • Download URL: sideko_portal-0.3.1.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1014-azure

File hashes

Hashes for sideko_portal-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a3bca3872eceb7143e7918cb0e38fc13b635761fec947eca22890aee9237a223
MD5 bf5db54d14d6c81a094240fbd27fdab7
BLAKE2b-256 7287598f3c1b9d0875bb5cbb641b80a0f1e9f523d6e71774464b5c56229de570

See more details on using hashes here.

File details

Details for the file sideko_portal-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: sideko_portal-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 123.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1014-azure

File hashes

Hashes for sideko_portal-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59df69b497055721778c2c9ea795d1d62cd1bbead481a267e8f54f7ca9a7b163
MD5 d68c6e8e599d451951917662d5821988
BLAKE2b-256 305d38b6f55c90f063e7769caee4c4492393f8fe4aa05c7ea37aa5225fae4eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page