Blob Storage — Scripts v1
get_api_v1_scripts
sync(client: AuthenticatedClient | Client, page: int | Unset = UNSET, page_size: int | Unset = UNSET, summary: bool | Unset = False, include_archived: bool | Unset = False) -> ProblemDetails | list[ErrorResponse] | list[ScriptSummary] | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
page | int | Unset | UNSET |
page_size | int | Unset | UNSET |
summary | bool | Unset | False |
include_archived | bool | Unset | False |
- summary — Default: False.
- include_archived — Default: False.
Returns: ProblemDetails | list[ErrorResponse] | list[ScriptSummary] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
get_api_v1_scripts_name_versions
sync(name: str, client: AuthenticatedClient | Client, page: int | Unset = UNSET, page_size: int | Unset = UNSET) -> ProblemDetails | list[ErrorResponse] | list[ScriptVersionSummary] | NoneParameter | Type | Default |
|---|---|---|
name | str | required |
client | AuthenticatedClient | Client | required |
page | int | Unset | UNSET |
page_size | int | Unset | UNSET |
Returns: ProblemDetails | list[ErrorResponse] | list[ScriptVersionSummary] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
get_api_v1_scripts_name_versions_version_files
sync(name: str, version: str, client: AuthenticatedClient | Client, page: int | Unset = UNSET, page_size: int | Unset = UNSET) -> ProblemDetails | list[ErrorResponse] | list[ScriptVersionInfo] | NoneParameter | Type | Default |
|---|---|---|
name | str | required |
version | str | required |
client | AuthenticatedClient | Client | required |
page | int | Unset | UNSET |
page_size | int | Unset | UNSET |
Returns: ProblemDetails | list[ErrorResponse] | list[ScriptVersionInfo] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
get_api_v1_scripts_name_versions_version_files_filename
sync(name: str, version: str, filename: str, client: AuthenticatedClient | Client) -> File | ProblemDetails | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
name | str | required |
version | str | required |
filename | str | required |
client | AuthenticatedClient | Client | required |
Returns: File | ProblemDetails | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
post_api_v1_scripts
sync(client: AuthenticatedClient | Client, body: PostApiV1ScriptsFilesBody | PostApiV1ScriptsJsonBody | Unset = UNSET) -> ProblemDetails | UploadScriptResponse | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
body | PostApiV1ScriptsFilesBody | PostApiV1ScriptsJsonBody | Unset | UNSET |
Returns: ProblemDetails | UploadScriptResponse | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
post_api_v1_scripts_name_archive
sync(name: str, client: AuthenticatedClient | Client) -> Any | ProblemDetails | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
name | str | required |
client | AuthenticatedClient | Client | required |
Returns: Any | ProblemDetails | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
post_api_v1_scripts_name_unarchive
sync(name: str, client: AuthenticatedClient | Client) -> Any | ProblemDetails | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
name | str | required |
client | AuthenticatedClient | Client | required |
Returns: Any | ProblemDetails | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |