Skip to content

Latest commit

 

History

History
575 lines (441 loc) · 45.4 KB

api.md

File metadata and controls

575 lines (441 loc) · 45.4 KB

Shared Types

from gitpod.types import (
    AutomationTrigger,
    EnvironmentClass,
    ErrorCode,
    FieldValue,
    OrganizationRole,
    Principal,
    RunsOn,
    Subject,
    Task,
    TaskExecution,
    TaskExecutionMetadata,
    TaskExecutionPhase,
    TaskExecutionSpec,
    TaskExecutionStatus,
    TaskMetadata,
    TaskSpec,
    UserStatus,
)

Accounts

Types:

from gitpod.types import (
    Account,
    AccountMembership,
    JoinableOrganization,
    LoginProvider,
    AccountRetrieveResponse,
    AccountDeleteResponse,
    AccountGetSSOLoginURLResponse,
)

Methods:

Editors

Types:

from gitpod.types import Editor, EditorRetrieveResponse, EditorResolveURLResponse

Methods:

Environments

Types:

from gitpod.types import (
    AdmissionLevel,
    Environment,
    EnvironmentActivitySignal,
    EnvironmentMetadata,
    EnvironmentPhase,
    EnvironmentSpec,
    EnvironmentStatus,
    EnvironmentCreateResponse,
    EnvironmentRetrieveResponse,
    EnvironmentUpdateResponse,
    EnvironmentDeleteResponse,
    EnvironmentCreateFromProjectResponse,
    EnvironmentCreateLogsTokenResponse,
    EnvironmentMarkActiveResponse,
    EnvironmentStartResponse,
    EnvironmentStopResponse,
)

Methods:

Automations

Types:

from gitpod.types.environments import AutomationsFile, AutomationUpsertResponse

Methods:

Services

Types:

from gitpod.types.environments.automations import (
    Service,
    ServiceMetadata,
    ServicePhase,
    ServiceSpec,
    ServiceStatus,
    ServiceCreateResponse,
    ServiceRetrieveResponse,
    ServiceUpdateResponse,
    ServiceDeleteResponse,
    ServiceStartResponse,
    ServiceStopResponse,
)

Methods:

Tasks

Types:

from gitpod.types.environments.automations import (
    TaskCreateResponse,
    TaskRetrieveResponse,
    TaskUpdateResponse,
    TaskDeleteResponse,
    TaskStartResponse,
)

Methods:

Executions

Types:

from gitpod.types.environments.automations.tasks import (
    ExecutionRetrieveResponse,
    ExecutionStopResponse,
)

Methods:

Classes

Methods:

Events

Types:

from gitpod.types import ResourceOperation, ResourceType, EventListResponse, EventWatchResponse

Methods:

Groups

Types:

from gitpod.types import Group

Methods:

Identity

Types:

from gitpod.types import (
    IdentityExchangeTokenResponse,
    IdentityGetAuthenticatedIdentityResponse,
    IdentityGetIDTokenResponse,
)

Methods:

Organizations

Types:

from gitpod.types import (
    InviteDomains,
    Organization,
    OrganizationMember,
    Scope,
    OrganizationCreateResponse,
    OrganizationRetrieveResponse,
    OrganizationUpdateResponse,
    OrganizationDeleteResponse,
    OrganizationJoinResponse,
    OrganizationLeaveResponse,
    OrganizationSetRoleResponse,
)

Methods:

DomainVerifications

Types:

from gitpod.types.organizations import (
    DomainVerification,
    DomainVerificationState,
    DomainVerificationCreateResponse,
    DomainVerificationRetrieveResponse,
    DomainVerificationDeleteResponse,
    DomainVerificationVerifyResponse,
)

Methods:

Invites

Types:

from gitpod.types.organizations import (
    OrganizationInvite,
    InviteCreateResponse,
    InviteRetrieveResponse,
    InviteGetSummaryResponse,
)

Methods:

SSOConfigurations

Types:

from gitpod.types.organizations import (
    ProviderType,
    SSOConfiguration,
    SSOConfigurationState,
    SSOConfigurationCreateResponse,
    SSOConfigurationRetrieveResponse,
    SSOConfigurationUpdateResponse,
    SSOConfigurationDeleteResponse,
)

Methods:

Projects

Types:

from gitpod.types import (
    EnvironmentInitializer,
    Project,
    ProjectEnvironmentClass,
    ProjectMetadata,
    ProjectCreateResponse,
    ProjectRetrieveResponse,
    ProjectUpdateResponse,
    ProjectDeleteResponse,
    ProjectCreateFromEnvironmentResponse,
)

Methods:

Policies

Types:

from gitpod.types.projects import (
    ProjectPolicy,
    ProjectRole,
    PolicyCreateResponse,
    PolicyUpdateResponse,
    PolicyDeleteResponse,
)

Methods:

Runners

Types:

from gitpod.types import (
    Runner,
    RunnerCapability,
    RunnerConfiguration,
    RunnerKind,
    RunnerPhase,
    RunnerProvider,
    RunnerReleaseChannel,
    RunnerSpec,
    RunnerStatus,
    RunnerCreateResponse,
    RunnerRetrieveResponse,
    RunnerUpdateResponse,
    RunnerDeleteResponse,
    RunnerCheckAuthenticationForHostResponse,
    RunnerCreateRunnerTokenResponse,
    RunnerParseContextURLResponse,
)

Methods:

Configurations

Types:

from gitpod.types.runners import (
    EnvironmentClassValidationResult,
    FieldValidationError,
    ScmIntegrationValidationResult,
    ConfigurationValidateResponse,
)

Methods:

EnvironmentClasses

Types:

from gitpod.types.runners.configurations import (
    EnvironmentClassCreateResponse,
    EnvironmentClassRetrieveResponse,
    EnvironmentClassUpdateResponse,
)

Methods:

HostAuthenticationTokens

Types:

from gitpod.types.runners.configurations import (
    HostAuthenticationToken,
    HostAuthenticationTokenSource,
    HostAuthenticationTokenCreateResponse,
    HostAuthenticationTokenRetrieveResponse,
    HostAuthenticationTokenUpdateResponse,
    HostAuthenticationTokenDeleteResponse,
)

Methods:

Schema

Types:

from gitpod.types.runners.configurations import RunnerConfigurationSchema, SchemaRetrieveResponse

Methods:

ScmIntegrations

Types:

from gitpod.types.runners.configurations import (
    ScmIntegration,
    ScmIntegrationOAuthConfig,
    ScmIntegrationCreateResponse,
    ScmIntegrationRetrieveResponse,
    ScmIntegrationUpdateResponse,
    ScmIntegrationDeleteResponse,
)

Methods:

Policies

Types:

from gitpod.types.runners import (
    RunnerPolicy,
    RunnerRole,
    PolicyCreateResponse,
    PolicyUpdateResponse,
    PolicyDeleteResponse,
)

Methods:

Secrets

Types:

from gitpod.types import (
    Secret,
    SecretCreateResponse,
    SecretDeleteResponse,
    SecretGetValueResponse,
    SecretUpdateValueResponse,
)

Methods:

Users

Types:

from gitpod.types import User, UserGetAuthenticatedUserResponse, UserSetSuspendedResponse

Methods:

Pats

Types:

from gitpod.types.users import PersonalAccessToken, PatDeleteResponse, PatGetResponse

Methods: