Categorygithub.com/turbot/steampipe-cloud-sdk-go
repositorypackage
0.7.0-alpha.0
Repository: https://github.com/turbot/steampipe-cloud-sdk-go.git
Documentation: pkg.go.dev

# README

Go SDK for Steampipe Cloud

Steampipe Cloud is a hosted version of Steampipe (https://steampipe.io), an open source tool to instantly query your cloud services (e.g. AWS, Azure, GCP and more) with SQL. No DB required.

For help on getting started with Steampipe Cloud, please visit https://steampipe.io/docs/cloud/getting-started.

Getting Started

Here's an example of listing the workspaces for your user:

package main

import (
    "context"
    "fmt"
    "os"

    steampipecloud "github.com/turbot/steampipe-cloud-sdk-go"
)

func main() {
    // Create a default configuration
    configuration := steampipecloud.NewConfiguration()

    // Add your Steampipe Cloud user token as an auth header
    configuration.AddDefaultHeader("Authorization", fmt.Sprintf("Bearer %s", os.Getenv("STEAMPIPE_CLOUD_TOKEN")))

    // Create a client
    client := steampipecloud.NewAPIClient(configuration)

    // Find your authenticated user info
    actor, _, err := client.Actors.Get(context.Background()).Execute()

    if err != nil {
      // Do something with the error
      return
    }

    // List your workspaces
    workspaces, _, err := client.UserWorkspaces.List(context.Background(), actor.Handle).Execute()

    if err != nil {
      // Do something with the error
      return
    }
}

Usages

For more detailed examples of using the SDK, please check out the following open source projects:

Documentation for API Endpoints

All URIs are relative to https://cloud.steampipe.io/api/v0

ClassMethodHTTP requestDescription
ActorsGetGet /actorActor information
ActorsListActivityGet /actor/activityList actor activity
ActorsListConnectionsGet /actor/connList actor connections
ActorsListOrgInvitesGet /actor/org/inviteList org invites for actor
ActorsListOrgsGet /actor/orgList actor orgs
ActorsListWorkspacesGet /actor/workspaceList actor workspaces
AuthConfirmLoginGet /login/confirmConfirm user login
AuthConfirmSignupGet /signup/confirmConfirm user signup
AuthLoginPost /loginUser login
AuthLoginTokenCreatePost /login/tokenGenerate temporary token request
AuthLoginTokenDeleteDelete /login/token/{temporary_token_request_id}Delete temporary token request
AuthLoginTokenGetGet /login/token/{temporary_token_request_id}Get temporary token request
AuthLoginTokenUpdatePatch /login/token/{temporary_token_request_id}Update temporary token request
AuthLogoutGet /logout/{provider}User logout
AuthProviderGet /auth/{provider}Auth Provider
AuthProviderCallbackGet /auth/{provider}/callbackAuth provider callback
AuthSignupPost /signupUser signup
IdentitiesGetGet /identity/{identity_handle}Get identity
IdentitiesGetAvatarGet /identity/{identity_handle}/avatarGet identity avatar
IdentitiesListGet /identityList identities
OrgConnectionsCreatePost /org/{org_handle}/connectionCreate org connection
OrgConnectionsCreateDeprecatedPost /org/{org_handle}/connCreate org connection
OrgConnectionsDeleteDelete /org/{org_handle}/connection/{connection_handle}Delete org connection
OrgConnectionsDeleteDeprecatedDelete /org/{org_handle}/conn/{conn_handle}Delete org connection
OrgConnectionsGetGet /org/{org_handle}/connection/{connection_handle}Get org connection
OrgConnectionsGetDeprecatedGet /org/{org_handle}/conn/{conn_handle}Get org connection
OrgConnectionsListGet /org/{org_handle}/connectionList org connections
OrgConnectionsListDeprecatedGet /org/{org_handle}/connList org connections
OrgConnectionsListWorkspacesGet /org/{org_handle}/connection/{connection_handle}/workspaceList org connection workspaces
OrgConnectionsListWorkspacesDeprecatedGet /org/{org_handle}/conn/{conn_handle}/workspaceList org connection workspaces
OrgConnectionsTestPost /org/{org_handle}/connection/{connection_handle}/testTest org connection
OrgConnectionsTestDeprecatedPost /org/{org_handle}/conn/{conn_handle}/testTest org connection
OrgConnectionsUpdatePatch /org/{org_handle}/connection/{connection_handle}Update org connection
OrgConnectionsUpdateDeprecatedPatch /org/{org_handle}/conn/{conn_handle}Update org connection
OrgMembersConfirmInviteGet /org/{org_handle}/member/invite/confirmConfirm org member invite
OrgMembersDeleteDelete /org/{org_handle}/member/{user_handle}Delete org member
OrgMembersDeleteInviteDelete /org/{org_handle}/member/inviteDelete org member invite
OrgMembersGetGet /org/{org_handle}/member/{user_handle}Get org member
OrgMembersInvitePost /org/{org_handle}/member/inviteInvite org member
OrgMembersListGet /org/{org_handle}/memberList Organization Members
OrgMembersUpdatePatch /org/{org_handle}/member/{user_handle}Update org member
OrgProcessesGetGet /org/{org_handle}/process/{process_id}Get Org process
OrgProcessesListGet /org/{org_handle}/processList Org processes
OrgProcessesLogGet /org/{org_handle}/process/{process_id}/log/{log_file}.{content_type}List Org process logs
OrgWorkspaceAggregatorsCreatePost /org/{org_handle}/workspace/{workspace_handle}/aggregatorCreate an aggregator for an org workspace
OrgWorkspaceAggregatorsDeleteDelete /org/{org_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Delete an aggregator for a org workspace
OrgWorkspaceAggregatorsGetGet /org/{org_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Get an aggregator for a org workspace
OrgWorkspaceAggregatorsGetConnectionGet /org/{org_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}/connection/{connection_handle}Get a connection in the scope of an aggregator for a org workspace
OrgWorkspaceAggregatorsListGet /org/{org_handle}/workspace/{workspace_handle}/aggregatorList aggregators for an org workspace
OrgWorkspaceAggregatorsListConnectionsGet /org/{org_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}/connectionList connections in the scope of an aggregator for a org workspace
OrgWorkspaceAggregatorsUpdatePatch /org/{org_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Update an aggregator for a org workspace
OrgWorkspaceConnectionAssociationsCreatePost /org/{org_handle}/workspace/{workspace_handle}/connCreate org workspace connection association
OrgWorkspaceConnectionAssociationsDeleteDelete /org/{org_handle}/workspace/{workspace_handle}/conn/{conn_handle}Delete org workspace connection association
OrgWorkspaceConnectionAssociationsGetGet /org/{org_handle}/workspace/{workspace_handle}/conn/{conn_handle}Get org workspace connection association
OrgWorkspaceConnectionAssociationsListGet /org/{org_handle}/workspace/{workspace_handle}/connList org workspace connection associations
OrgWorkspaceMembersCreatePost /org/{org_handle}/workspace/{workspace_handle}/memberCreate Org Workspace Member
OrgWorkspaceMembersDeleteDelete /org/{org_handle}/workspace/{workspace_handle}/member/{user_handle}Delete Org Workspace Member
OrgWorkspaceMembersGetGet /org/{org_handle}/workspace/{workspace_handle}/member/{user_handle}Get Org Workspace Member
OrgWorkspaceMembersListGet /org/{org_handle}/workspace/{workspace_handle}/memberList Organization Workspace Members
OrgWorkspaceMembersUpdatePatch /org/{org_handle}/workspace/{workspace_handle}/member/{user_handle}Update Org Workspace Member
OrgWorkspaceModVariablesCreateSettingPost /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variableCreate a setting for a mod variable in an organization workspace
OrgWorkspaceModVariablesDeleteSettingDelete /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Delete setting for a mod variable in an organization workspace
OrgWorkspaceModVariablesGetSettingGet /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Get setting for a mod variable in an organization workspace
OrgWorkspaceModVariablesListGet /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variableList variables in an organization workspace mod
OrgWorkspaceModVariablesUpdateSettingPatch /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Update setting for a mod variable in an organization workspace
OrgWorkspaceModsGetGet /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}Get organization workspace installed mod
OrgWorkspaceModsInstallPost /org/{org_handle}/workspace/{workspace_handle}/modInstall a mod to an organization workspace
OrgWorkspaceModsListGet /org/{org_handle}/workspace/{workspace_handle}/modList organization workspace installed mods
OrgWorkspaceModsUninstallDelete /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}Uninstall mod from organization workspace.
OrgWorkspaceModsUpdatePatch /org/{org_handle}/workspace/{workspace_handle}/mod/{mod_alias}Update a mod in an organization workspace
OrgWorkspacePipelinesCommandPost /org/{org_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}/commandRun org workspace pipeline command
OrgWorkspacePipelinesCreatePost /org/{org_handle}/workspace/{workspace_handle}/pipelineCreate org workspace pipeline
OrgWorkspacePipelinesDeleteDelete /org/{org_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Delete org workspace pipeline
OrgWorkspacePipelinesGetGet /org/{org_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Get org workspace pipeline
OrgWorkspacePipelinesListGet /org/{org_handle}/workspace/{workspace_handle}/pipelineList org workspace pipelines
OrgWorkspacePipelinesUpdatePatch /org/{org_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Update org workspace pipeline
OrgWorkspaceProcessesGetGet /org/{org_handle}/workspace/{workspace_handle}/process/{process_id}Get org workspace process
OrgWorkspaceProcessesListGet /org/{org_handle}/workspace/{workspace_handle}/processList org workspace processes
OrgWorkspaceProcessesLogGet /org/{org_handle}/workspace/{workspace_handle}/process/{process_id}/log/{log_file}.{content_type}List org workspace process logs
OrgWorkspaceSchemasAttachPost /org/{org_handle}/workspace/{workspace_handle}/schemaAttach a schema to an org workspace
OrgWorkspaceSchemasDetachDelete /org/{org_handle}/workspace/{workspace_handle}/schema/{schema_name}Detach a schema from an org workspace
OrgWorkspaceSchemasGetGet /org/{org_handle}/workspace/{workspace_handle}/schema/{schema_name}Get org workspace schema
OrgWorkspaceSchemasGet_0Get /org/{org_handle}/workspace/{workspace_handle}/schema/{schema_name}/tableList org workspace schema tables
OrgWorkspaceSchemasListGet /org/{org_handle}/workspace/{workspace_handle}/schemaList org workspace schemas
OrgWorkspaceSnapshotsCreatePost /org/{org_handle}/workspace/{workspace_handle}/snapshotCreate org workspace snapshot
OrgWorkspaceSnapshotsDeleteDelete /org/{org_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Delete org workspace snapshot
OrgWorkspaceSnapshotsDownloadGet /org/{org_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}.{content_type}Download org workspace snapshot
OrgWorkspaceSnapshotsGetGet /org/{org_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Get org workspace snapshot
OrgWorkspaceSnapshotsListGet /org/{org_handle}/workspace/{workspace_handle}/snapshotList org workspace snapshots
OrgWorkspaceSnapshotsUpdatePatch /org/{org_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Update org workspace snapshot
OrgWorkspacesCommandPost /org/{org_handle}/workspace/{workspace_handle}/commandRun org workspace command
OrgWorkspacesCreatePost /org/{org_handle}/workspaceCreate org workspace
OrgWorkspacesDeleteDelete /org/{org_handle}/workspace/{workspace_handle}Delete org workspace
OrgWorkspacesGetGet /org/{org_handle}/workspace/{workspace_handle}Get org workspace
OrgWorkspacesGetQueryGet /org/{org_handle}/workspace/{workspace_handle}/queryQuery org workspace
OrgWorkspacesGetQueryWithExtensionsGet /org/{org_handle}/workspace/{workspace_handle}/query/data.{extensions}Query org workspace with extensions
OrgWorkspacesListGet /org/{org_handle}/workspaceList org workspaces
OrgWorkspacesListAuditLogsGet /org/{org_handle}/workspace/{workspace_handle}/audit_logOrg workspace audit logs
OrgWorkspacesListDBLogsGet /org/{org_handle}/workspace/{workspace_handle}/db_logOrg workspace logs
OrgWorkspacesPostQueryPost /org/{org_handle}/workspace/{workspace_handle}/queryQuery org workspace
OrgWorkspacesPostQueryWithExtensionsPost /org/{org_handle}/workspace/{workspace_handle}/query/data.{extensions}Query org workspace with extensions
OrgWorkspacesUpdatePatch /org/{org_handle}/workspace/{workspace_handle}Update org workspace
OrgsCreatePost /orgCreate org
OrgsCreateAvatarPost /org/{org_handle}/avatarCreate org avatar
OrgsDeleteDelete /org/{org_handle}Delete org
OrgsDeleteAvatarDelete /org/{org_handle}/avatarDelete org avatar
OrgsGetGet /org/{org_handle}Get org
OrgsGetQuotaGet /org/{org_handle}/quotaOrg quota
OrgsListGet /orgList orgs
OrgsListAuditLogsGet /org/{org_handle}/audit_logOrg audit logs
OrgsListConstraintsGet /org/{org_handle}/constraintList org constraints
OrgsListFeaturesGet /org/{org_handle}/featureOrg features
OrgsUpdatePatch /org/{org_handle}Update org
UserConnectionsCreatePost /user/{user_handle}/connectionCreate user connection
UserConnectionsCreateDeprecatedPost /user/{user_handle}/connCreate user connection
UserConnectionsDeleteDelete /user/{user_handle}/connection/{connection_handle}Delete user connection
UserConnectionsDeleteDeprecatedDelete /user/{user_handle}/conn/{conn_handle}Delete user connection
UserConnectionsGetGet /user/{user_handle}/connection/{connection_handle}Get user connection
UserConnectionsGetDeprecatedGet /user/{user_handle}/conn/{conn_handle}Get user connection
UserConnectionsListGet /user/{user_handle}/connectionList user connections
UserConnectionsListDeprecatedGet /user/{user_handle}/connList user connections
UserConnectionsListWorkspacesGet /user/{user_handle}/connection/{connection_handle}/workspaceList user connection workspaces
UserConnectionsListWorkspacesDeprecatedGet /user/{user_handle}/conn/{conn_handle}/workspaceList user connection workspaces
UserConnectionsTestPost /user/{user_handle}/connection/{connection_handle}/testTest user connection
UserConnectionsTestDeprecatedPost /user/{user_handle}/conn/{conn_handle}/testTest user connection
UserConnectionsUpdatePatch /user/{user_handle}/connection/{connection_handle}Update user connection
UserConnectionsUpdateDeprecatedPatch /user/{user_handle}/conn/{conn_handle}Update user connection
UserProcessesGetGet /user/{user_handle}/process/{process_id}Get User process
UserProcessesListGet /user/{user_handle}/processList User processes
UserProcessesLogGet /user/{user_handle}/process/{process_id}/log/{log_file}.{content_type}List user process logs
UserTokensCreatePost /user/{user_handle}/tokenCreate token
UserTokensDeleteDelete /user/{user_handle}/token/{token_id}Delete token
UserTokensGetGet /user/{user_handle}/token/{token_id}Get token
UserTokensListGet /user/{user_handle}/tokenList tokens
UserTokensUpdatePatch /user/{user_handle}/token/{token_id}Update token
UserWorkspaceAggregatorsCreatePost /user/{user_handle}/workspace/{workspace_handle}/aggregatorCreate an aggregator for a user workspace
UserWorkspaceAggregatorsDeleteDelete /user/{user_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Delete an aggregator for a user workspace
UserWorkspaceAggregatorsGetGet /user/{user_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Get an aggregator for a user workspace
UserWorkspaceAggregatorsGetConnectionGet /user/{user_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}/connection/{connection_handle}Get a connection in the scope of an aggregator for a user workspace
UserWorkspaceAggregatorsListGet /user/{user_handle}/workspace/{workspace_handle}/aggregatorList aggregators for a user workspace
UserWorkspaceAggregatorsListConnectionsGet /user/{user_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}/connectionList connections in the scope of an aggregator for a user workspace
UserWorkspaceAggregatorsUpdatePatch /user/{user_handle}/workspace/{workspace_handle}/aggregator/{aggregator_handle}Update an aggregator for a user workspace
UserWorkspaceConnectionAssociationsCreatePost /user/{user_handle}/workspace/{workspace_handle}/connCreate user workspace connection association
UserWorkspaceConnectionAssociationsDeleteDelete /user/{user_handle}/workspace/{workspace_handle}/conn/{conn_handle}Delete user workspace connection association
UserWorkspaceConnectionAssociationsGetGet /user/{user_handle}/workspace/{workspace_handle}/conn/{conn_handle}Get user workspace connection association
UserWorkspaceConnectionAssociationsListGet /user/{user_handle}/workspace/{workspace_handle}/connList user workspace connection associations
UserWorkspaceModVariablesCreateSettingPost /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variableCreate a setting for a mod variable in a user workspace
UserWorkspaceModVariablesDeleteSettingDelete /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Delete setting for a mod variable in a user workspace
UserWorkspaceModVariablesGetSettingGet /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Get setting for a mod variable in a user workspace
UserWorkspaceModVariablesListGet /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variableList variables for a user workspace mod
UserWorkspaceModVariablesUpdateSettingPatch /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}/variable/{variable_name}Update setting for a mod variable in a user workspace
UserWorkspaceModsGetGet /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}Get user workspace installed mod
UserWorkspaceModsInstallPost /user/{user_handle}/workspace/{workspace_handle}/modInstall a mod to a user's workspace
UserWorkspaceModsListGet /user/{user_handle}/workspace/{workspace_handle}/modList user workspace installed mods
UserWorkspaceModsUninstallDelete /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}Uninstall mod from a user's workspace.
UserWorkspaceModsUpdatePatch /user/{user_handle}/workspace/{workspace_handle}/mod/{mod_alias}Update a mod in a user's workspace
UserWorkspacePipelinesCommandPost /user/{user_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}/commandRun user workspace pipeline command
UserWorkspacePipelinesCreatePost /user/{user_handle}/workspace/{workspace_handle}/pipelineCreate user workspace pipeline
UserWorkspacePipelinesDeleteDelete /user/{user_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Delete user workspace pipeline
UserWorkspacePipelinesGetGet /user/{user_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Get user workspace pipeline
UserWorkspacePipelinesListGet /user/{user_handle}/workspace/{workspace_handle}/pipelineList user workspace pipelines
UserWorkspacePipelinesUpdatePatch /user/{user_handle}/workspace/{workspace_handle}/pipeline/{pipeline_id}Update user workspace pipeline
UserWorkspaceProcessesGetGet /user/{user_handle}/workspace/{workspace_handle}/process/{process_id}Get user workspace process
UserWorkspaceProcessesListGet /user/{user_handle}/workspace/{workspace_handle}/processList user workspace processes
UserWorkspaceProcessesLogGet /user/{user_handle}/workspace/{workspace_handle}/process/{process_id}/log/{log_file}.{content_type}List user workspace process logs
UserWorkspaceSchemasAttachPost /user/{user_handle}/workspace/{workspace_handle}/schemaAttach a schema to a user workspace
UserWorkspaceSchemasDetachDelete /user/{user_handle}/workspace/{workspace_handle}/schema/{schema_name}Detach a schema from a user workspace
UserWorkspaceSchemasGetGet /user/{user_handle}/workspace/{workspace_handle}/schema/{schema_name}Get user workspace schema
UserWorkspaceSchemasGet_0Get /user/{user_handle}/workspace/{workspace_handle}/schema/{schema_name}/tableList user workspace schema tables
UserWorkspaceSchemasListGet /user/{user_handle}/workspace/{workspace_handle}/schemaList user workspace schemas
UserWorkspaceSnapshotsCreatePost /user/{user_handle}/workspace/{workspace_handle}/snapshotCreate user workspace snapshot
UserWorkspaceSnapshotsDeleteDelete /user/{user_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Delete user workspace snapshot
UserWorkspaceSnapshotsDownloadGet /user/{user_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}.{content_type}Download user workspace snapshot
UserWorkspaceSnapshotsGetGet /user/{user_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Get user workspace snapshot
UserWorkspaceSnapshotsListGet /user/{user_handle}/workspace/{workspace_handle}/snapshotList user workspace snapshots
UserWorkspaceSnapshotsUpdatePatch /user/{user_handle}/workspace/{workspace_handle}/snapshot/{snapshot_id}Update user workspace snapshot
UserWorkspacesCommandPost /user/{user_handle}/workspace/{workspace_handle}/commandRun user workspace command
UserWorkspacesCreatePost /user/{user_handle}/workspaceCreate user workspace
UserWorkspacesDeleteDelete /user/{user_handle}/workspace/{workspace_handle}Delete user workspace
UserWorkspacesGetGet /user/{user_handle}/workspace/{workspace_handle}Get user workspace
UserWorkspacesGetQueryGet /user/{user_handle}/workspace/{workspace_handle}/queryQuery user workspace
UserWorkspacesGetQueryWithExtensionsGet /user/{user_handle}/workspace/{workspace_handle}/query/data.{extensions}Query user workspace with extensions
UserWorkspacesListGet /user/{user_handle}/workspaceList user workspaces
UserWorkspacesListAuditLogsGet /user/{user_handle}/workspace/{workspace_handle}/audit_logUser workspace audit logs
UserWorkspacesListDBLogsGet /user/{user_handle}/workspace/{workspace_handle}/db_logUser workspace logs
UserWorkspacesPostQueryPost /user/{user_handle}/workspace/{workspace_handle}/queryQuery user workspace
UserWorkspacesPostQueryWithExtensionsPost /user/{user_handle}/workspace/{workspace_handle}/query/data.{extensions}Query user workspace with extensions
UserWorkspacesUpdatePatch /user/{user_handle}/workspace/{workspace_handle}Update user workspace
UsersCreatePost /userCreate user
UsersCreateAvatarPost /user/{user_handle}/avatarCreate user avatar
UsersCreateDBPasswordPost /user/{user_handle}/passwordCreate user password
UsersDeleteDelete /user/{user_handle}Delete user
UsersDeleteAvatarDelete /user/{user_handle}/avatarDelete user avatar
UsersGetGet /user/{user_handle}Get user
UsersGetDBPasswordGet /user/{user_handle}/passwordGet user password
UsersGetEmailGet /user/{user_handle}/email/{email_id}Get user email
UsersGetPreferencesGet /user/{user_handle}/preferencesGet user preferences
UsersGetQuotaGet /user/{user_handle}/quotaUser quota
UsersListGet /userList users
UsersListAuditLogsGet /user/{user_handle}/audit_logUser audit logs
UsersListConstraintsGet /user/{user_handle}/constraintList user constraints
UsersListEmailsGet /user/{user_handle}/emailList user emails
UsersListFeaturesGet /user/{user_handle}/featureUser features
UsersUpdatePatch /user/{user_handle}Update user
UsersUpdatePreferencesPatch /user/{user_handle}/preferencesUpdate user preferences

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]