You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 503d9d9
Browse filesBrowse the repository at this point in the historyBrowse files
feat: Add actor_path to Actor version models (#1210)
- Regenerates the Pydantic models, TypedDicts, and literal aliases from
the [published OpenAPI
specification](https://docs.apify.com/api/openapi.json), and records its
version in `pyproject.toml`.
- Specification version: `v2-2026-11-01T214220Z` ->
`v2-2026-11-04T151257Z`.
The Actor's directory inside the uploaded source, present when the version sets it. Applies when sourceType is SOURCE_FILES or TARBALL. On a TARBALL version, only users with write access to the Actor get it.
96
+
"""
93
97
94
98
95
99
@docs_group('Models')
@@ -1111,6 +1115,10 @@ class CreateVersionRequest(BaseModel):
1111
1115
"""
1112
1116
URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`.
The Actor's directory inside the uploaded source, as a path relative to the upload root with `/` separators, for example `actors/typescript-actor`. Applies when the `sourceType` is `SOURCE_FILES` or `TARBALL`. The API rejects a path when the `sourceType` is `GIT_REPO` or `GITHUB_GIST`. When omitted or `null`, the upload root is the Actor's directory. It has 1 to 255 characters, with no leading, trailing, or repeated `/` and no `.` or `..` segments.
1121
+
"""
1114
1122
1115
1123
1116
1124
@docs_group('Models')
@@ -4745,6 +4753,10 @@ class UpdateVersionRequest(BaseModel):
4745
4753
"""
4746
4754
URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`.
The Actor's directory inside the uploaded source, as a path relative to the upload root with `/` separators, for example `actors/typescript-actor`. Applies when the `sourceType` is `SOURCE_FILES` or `TARBALL`. The API rejects it when the `sourceType` is `GIT_REPO` or `GITHUB_GIST`. On an update without `sourceType`, the API checks it against the version's stored source type. When the version has no `actorPath`, the upload root is the Actor's directory. It has 1 to 255 characters, with no leading, trailing, or repeated `/` and no `.` or `..` segments. An update that sends `sourceType`, `sourceFiles`, or `tarballUrl` without `actorPath` removes the stored `actorPath`, so send it again with every upload. An update of other fields, such as `envVars` or `buildTag`, keeps it. Send `null` to remove it.
4759
+
"""
4748
4760
4749
4761
4750
4762
@docs_group('Models')
@@ -5000,6 +5012,10 @@ class Version(BaseModel):
5000
5012
"""
5001
5013
URL of the GitHub Gist to clone the source code from. Applies when the `sourceType` is `GITHUB_GIST`.
The Actor's directory inside the uploaded source, as a path relative to the upload root with `/` separators, for example `actors/typescript-actor`. Applies when the `sourceType` is `SOURCE_FILES` or `TARBALL`. When absent or `null`, the upload root is the Actor's directory. On a `TARBALL` version, only users with write access to the Actor get it. It has 1 to 255 characters, with no leading, trailing, or repeated `/` and no `.` or `..` segments.
5018
+
"""
5003
5019
github_webhook_id: int|None=None
5004
5020
"""
5005
5021
ID of the GitHub webhook that triggers a build on push. Present when build on push is enabled for a GitHub repository.
0 commit comments