Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.4"
".": "0.5.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 119
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-ca9a49ac7fbb63f55611fd7cd48a22a3ff8b38a797125c8513e891d9b7345550.yml
openapi_spec_hash: fd6ffbdfaefcc555e61ca1c565e05214
config_hash: 7fb76543ceafd4a116473f647f8d63b1
configured_endpoints: 159
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-d62ef4b9187c1f3d36f428abc4b31d8a09ffd36e93d39b8136c60c8f463c838e.yml
openapi_spec_hash: d7f01b6f24e88eb46d744ecd28061f26
config_hash: 26e4a10dfc6ec809322e60d889d15414
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.5.0 (2025-12-15)

Full Changelog: [v0.4.4...v0.5.0](https://github.com/gitpod-io/gitpod-sdk-python/compare/v0.4.4...v0.5.0)

### Features

* **api:** RBAC APIs ([615e517](https://github.com/gitpod-io/gitpod-sdk-python/commit/615e517ec8e2b0f3e6816696dc3fe66e1f2ae99e))

## 0.4.4 (2025-12-15)

Full Changelog: [v0.4.3...v0.4.4](https://github.com/gitpod-io/gitpod-sdk-python/compare/v0.4.3...v0.4.4)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is generated with [Stainless](https://www.stainless.com/).

## Documentation

The REST API documentation can be found on [docs.ona.com](https://docs.ona.com). The full API of this library can be found in [api.md](api.md).
The REST API documentation can be found on [docs.gitpod.io](https://docs.gitpod.io). The full API of this library can be found in [api.md](api.md).

## Installation

Expand Down Expand Up @@ -178,10 +178,10 @@ from gitpod import Gitpod

client = Gitpod()

page = client.accounts.list_login_providers(
filter={},
page = client.accounts.list_joinable_organizations(
pagination={},
)
print(page.login_providers)
print(page.joinable_organizations)
```

## Handling errors
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ or products provided by Gitpod, please follow the respective company's security

### Gitpod Terms and Policies

Please contact dev-feedback@ona.com for any questions or concerns regarding the security of our services.
Please contact dev-feedback@gitpod.com for any questions or concerns regarding the security of our services.

---

Expand Down
186 changes: 177 additions & 9 deletions api.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[project]
name = "gitpod-sdk"
version = "0.4.4"
version = "0.5.0"
description = "The official Python library for the gitpod API"
dynamic = ["readme"]
license = "Apache-2.0"
authors = [
{ name = "Gitpod", email = "dev-feedback@ona.com" },
{ name = "Gitpod", email = "dev-feedback@gitpod.com" },
]

dependencies = [
Expand Down
27 changes: 26 additions & 1 deletion src/gitpod/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
)
from ._utils import is_given, get_async_library
from ._version import __version__
from .resources import usage, events, groups, editors, secrets, accounts, gateways, identity
from .resources import usage, agents, errors, events, editors, secrets, accounts, gateways, identity, prebuilds
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
from ._exceptions import GitpodError, APIStatusError
from ._base_client import (
Expand All @@ -30,6 +30,7 @@
AsyncAPIClient,
)
from .resources.users import users
from .resources.groups import groups
from .resources.runners import runners
from .resources.projects import projects
from .resources.environments import environments
Expand All @@ -40,13 +41,16 @@

class Gitpod(SyncAPIClient):
accounts: accounts.AccountsResource
agents: agents.AgentsResource
editors: editors.EditorsResource
environments: environments.EnvironmentsResource
errors: errors.ErrorsResource
events: events.EventsResource
gateways: gateways.GatewaysResource
groups: groups.GroupsResource
identity: identity.IdentityResource
organizations: organizations.OrganizationsResource
prebuilds: prebuilds.PrebuildsResource
projects: projects.ProjectsResource
runners: runners.RunnersResource
secrets: secrets.SecretsResource
Expand Down Expand Up @@ -110,13 +114,16 @@ def __init__(
)

self.accounts = accounts.AccountsResource(self)
self.agents = agents.AgentsResource(self)
self.editors = editors.EditorsResource(self)
self.environments = environments.EnvironmentsResource(self)
self.errors = errors.ErrorsResource(self)
self.events = events.EventsResource(self)
self.gateways = gateways.GatewaysResource(self)
self.groups = groups.GroupsResource(self)
self.identity = identity.IdentityResource(self)
self.organizations = organizations.OrganizationsResource(self)
self.prebuilds = prebuilds.PrebuildsResource(self)
self.projects = projects.ProjectsResource(self)
self.runners = runners.RunnersResource(self)
self.secrets = secrets.SecretsResource(self)
Expand Down Expand Up @@ -232,13 +239,16 @@ def _make_status_error(

class AsyncGitpod(AsyncAPIClient):
accounts: accounts.AsyncAccountsResource
agents: agents.AsyncAgentsResource
editors: editors.AsyncEditorsResource
environments: environments.AsyncEnvironmentsResource
errors: errors.AsyncErrorsResource
events: events.AsyncEventsResource
gateways: gateways.AsyncGatewaysResource
groups: groups.AsyncGroupsResource
identity: identity.AsyncIdentityResource
organizations: organizations.AsyncOrganizationsResource
prebuilds: prebuilds.AsyncPrebuildsResource
projects: projects.AsyncProjectsResource
runners: runners.AsyncRunnersResource
secrets: secrets.AsyncSecretsResource
Expand Down Expand Up @@ -302,13 +312,16 @@ def __init__(
)

self.accounts = accounts.AsyncAccountsResource(self)
self.agents = agents.AsyncAgentsResource(self)
self.editors = editors.AsyncEditorsResource(self)
self.environments = environments.AsyncEnvironmentsResource(self)
self.errors = errors.AsyncErrorsResource(self)
self.events = events.AsyncEventsResource(self)
self.gateways = gateways.AsyncGatewaysResource(self)
self.groups = groups.AsyncGroupsResource(self)
self.identity = identity.AsyncIdentityResource(self)
self.organizations = organizations.AsyncOrganizationsResource(self)
self.prebuilds = prebuilds.AsyncPrebuildsResource(self)
self.projects = projects.AsyncProjectsResource(self)
self.runners = runners.AsyncRunnersResource(self)
self.secrets = secrets.AsyncSecretsResource(self)
Expand Down Expand Up @@ -425,13 +438,16 @@ def _make_status_error(
class GitpodWithRawResponse:
def __init__(self, client: Gitpod) -> None:
self.accounts = accounts.AccountsResourceWithRawResponse(client.accounts)
self.agents = agents.AgentsResourceWithRawResponse(client.agents)
self.editors = editors.EditorsResourceWithRawResponse(client.editors)
self.environments = environments.EnvironmentsResourceWithRawResponse(client.environments)
self.errors = errors.ErrorsResourceWithRawResponse(client.errors)
self.events = events.EventsResourceWithRawResponse(client.events)
self.gateways = gateways.GatewaysResourceWithRawResponse(client.gateways)
self.groups = groups.GroupsResourceWithRawResponse(client.groups)
self.identity = identity.IdentityResourceWithRawResponse(client.identity)
self.organizations = organizations.OrganizationsResourceWithRawResponse(client.organizations)
self.prebuilds = prebuilds.PrebuildsResourceWithRawResponse(client.prebuilds)
self.projects = projects.ProjectsResourceWithRawResponse(client.projects)
self.runners = runners.RunnersResourceWithRawResponse(client.runners)
self.secrets = secrets.SecretsResourceWithRawResponse(client.secrets)
Expand All @@ -442,13 +458,16 @@ def __init__(self, client: Gitpod) -> None:
class AsyncGitpodWithRawResponse:
def __init__(self, client: AsyncGitpod) -> None:
self.accounts = accounts.AsyncAccountsResourceWithRawResponse(client.accounts)
self.agents = agents.AsyncAgentsResourceWithRawResponse(client.agents)
self.editors = editors.AsyncEditorsResourceWithRawResponse(client.editors)
self.environments = environments.AsyncEnvironmentsResourceWithRawResponse(client.environments)
self.errors = errors.AsyncErrorsResourceWithRawResponse(client.errors)
self.events = events.AsyncEventsResourceWithRawResponse(client.events)
self.gateways = gateways.AsyncGatewaysResourceWithRawResponse(client.gateways)
self.groups = groups.AsyncGroupsResourceWithRawResponse(client.groups)
self.identity = identity.AsyncIdentityResourceWithRawResponse(client.identity)
self.organizations = organizations.AsyncOrganizationsResourceWithRawResponse(client.organizations)
self.prebuilds = prebuilds.AsyncPrebuildsResourceWithRawResponse(client.prebuilds)
self.projects = projects.AsyncProjectsResourceWithRawResponse(client.projects)
self.runners = runners.AsyncRunnersResourceWithRawResponse(client.runners)
self.secrets = secrets.AsyncSecretsResourceWithRawResponse(client.secrets)
Expand All @@ -459,13 +478,16 @@ def __init__(self, client: AsyncGitpod) -> None:
class GitpodWithStreamedResponse:
def __init__(self, client: Gitpod) -> None:
self.accounts = accounts.AccountsResourceWithStreamingResponse(client.accounts)
self.agents = agents.AgentsResourceWithStreamingResponse(client.agents)
self.editors = editors.EditorsResourceWithStreamingResponse(client.editors)
self.environments = environments.EnvironmentsResourceWithStreamingResponse(client.environments)
self.errors = errors.ErrorsResourceWithStreamingResponse(client.errors)
self.events = events.EventsResourceWithStreamingResponse(client.events)
self.gateways = gateways.GatewaysResourceWithStreamingResponse(client.gateways)
self.groups = groups.GroupsResourceWithStreamingResponse(client.groups)
self.identity = identity.IdentityResourceWithStreamingResponse(client.identity)
self.organizations = organizations.OrganizationsResourceWithStreamingResponse(client.organizations)
self.prebuilds = prebuilds.PrebuildsResourceWithStreamingResponse(client.prebuilds)
self.projects = projects.ProjectsResourceWithStreamingResponse(client.projects)
self.runners = runners.RunnersResourceWithStreamingResponse(client.runners)
self.secrets = secrets.SecretsResourceWithStreamingResponse(client.secrets)
Expand All @@ -476,13 +498,16 @@ def __init__(self, client: Gitpod) -> None:
class AsyncGitpodWithStreamedResponse:
def __init__(self, client: AsyncGitpod) -> None:
self.accounts = accounts.AsyncAccountsResourceWithStreamingResponse(client.accounts)
self.agents = agents.AsyncAgentsResourceWithStreamingResponse(client.agents)
self.editors = editors.AsyncEditorsResourceWithStreamingResponse(client.editors)
self.environments = environments.AsyncEnvironmentsResourceWithStreamingResponse(client.environments)
self.errors = errors.AsyncErrorsResourceWithStreamingResponse(client.errors)
self.events = events.AsyncEventsResourceWithStreamingResponse(client.events)
self.gateways = gateways.AsyncGatewaysResourceWithStreamingResponse(client.gateways)
self.groups = groups.AsyncGroupsResourceWithStreamingResponse(client.groups)
self.identity = identity.AsyncIdentityResourceWithStreamingResponse(client.identity)
self.organizations = organizations.AsyncOrganizationsResourceWithStreamingResponse(client.organizations)
self.prebuilds = prebuilds.AsyncPrebuildsResourceWithStreamingResponse(client.prebuilds)
self.projects = projects.AsyncProjectsResourceWithStreamingResponse(client.projects)
self.runners = runners.AsyncRunnersResourceWithStreamingResponse(client.runners)
self.secrets = secrets.AsyncSecretsResourceWithStreamingResponse(client.secrets)
Expand Down
2 changes: 1 addition & 1 deletion src/gitpod/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "gitpod"
__version__ = "0.4.4" # x-release-please-version
__version__ = "0.5.0" # x-release-please-version
Loading