Skip to content

Commit 9336dd0

Browse files
chore: sdk update
1 parent e208659 commit 9336dd0

1,395 files changed

Lines changed: 1486 additions & 1413 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/HostingPocketBaseApi.md‎

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,16 @@ is lost, set a new one with the `Set PocketBase superuser` endpoint.
215215

216216
The instance sleeps when idle and wakes on the first request, so `asleep` is a normal state
217217
and the first call to a sleeping instance can take a few seconds. `starting`, `running` and
218-
`stopping` are healthy; `failed` or `unregistered` mean the instance is broken; `missing`
219-
means its files are gone from the server, and creating the PocketBase backend again sets up
220-
a new, empty one. `state` is null when the server could not be reached; retry later.
218+
`stopping` are healthy.
219+
220+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
221+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
222+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
223+
process slots, usually because its Node.js apps are running.
224+
225+
`unregistered` means the instance is broken. `missing` means its files are gone from the
226+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
227+
when the server could not be reached; retry later.
221228

222229
PocketBase is rolling out gradually: an account without access yet gets 422.
223230

@@ -299,10 +306,16 @@ authentication, file storage and a realtime REST API, served from the website's
299306
domain. An empty list means no website of the account has a PocketBase backend.
300307

301308
States: `asleep` is normal (the instance sleeps when idle and wakes on the first request);
302-
`starting`, `running` and `stopping` are healthy; `failed` or `unregistered` mean the
303-
instance is broken; `missing` means its files are gone from the server, and creating the
304-
PocketBase backend again sets up a new, empty one. `state` is null when the server could
305-
not be reached; retry later.
309+
`starting`, `running` and `stopping` are healthy.
310+
311+
`failed` means the last start did not succeed. Hostinger starts it again on its own after
312+
`retry_after_seconds`, and the data is intact: wait and call again, do not delete the
313+
backend. `failure_reason` says why: `process_limit` means the hosting account has no free
314+
process slots, usually because its Node.js apps are running.
315+
316+
`unregistered` means the instance is broken. `missing` means its files are gone from the
317+
server, and creating the PocketBase backend again sets up a new, empty one. `state` is null
318+
when the server could not be reached; retry later.
306319

307320
PocketBase is rolling out gradually: an account without access yet gets 422.
308321

‎docs/HostingV1PocketBaseBackendResource.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
1010
**api_url** | **str** | Base URL of the PocketBase REST API |
1111
**admin_url** | **str** | URL of the PocketBase dashboard |
1212
**state** | **str** | Live process state. The instance sleeps when idle and wakes on the first request. Null when the server could not be reached. |
13+
**failure_reason** | **str** | Why the last start did not succeed, set only while `state` is `failed`. `process_limit` means the hosting account has no free process slots, usually because its Node.js apps are running; `start_failed` is any other cause. |
14+
**retry_after_seconds** | **int** | Seconds until Hostinger tries to start the instance again, set only while `state` is `failed`. Null when the next try is due now. |
1315
**version** | **str** | PocketBase version |
1416
**next_steps** | **List[str]** | What to do next with this backend |
1517

‎docs/HostingV1PocketBaseInstanceResource.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
1010
**api_url** | **str** | Base URL of the PocketBase REST API |
1111
**admin_url** | **str** | URL of the PocketBase dashboard |
1212
**state** | **str** | Live process state. The instance sleeps when idle and wakes on the first request. Null when the server could not be reached. |
13+
**failure_reason** | **str** | Why the last start did not succeed, set only while `state` is `failed`. `process_limit` means the hosting account has no free process slots, usually because its Node.js apps are running; `start_failed` is any other cause. |
14+
**retry_after_seconds** | **int** | Seconds until Hostinger tries to start the instance again, set only while `state` is `failed`. Null when the next try is due now. |
1315
**version** | **str** | PocketBase version |
1416
**disk_usage_kb** | **int** | Disk space used by the instance data, in KB |
1517

‎hostinger_api/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 2.14.1
8+
API Version: 2.14.2
99
1010
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
1111
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
1212
""" # noqa: E501
1313

1414

15-
__version__ = "4.14.1"
15+
__version__ = "4.14.2"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi

‎hostinger_api/api/agency_hosting_cache_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_cron_jobs_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_databases_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_datacenters_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_domains_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_files_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 2.14.1
6+
API Version: 2.14.2
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)