solidping 0.3.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- solidping-0.4.0/.release-please-manifest.json +1 -0
- {solidping-0.3.0 → solidping-0.4.0}/CHANGELOG.md +7 -0
- {solidping-0.3.0 → solidping-0.4.0}/Makefile +1 -1
- {solidping-0.3.0 → solidping-0.4.0}/PKG-INFO +1 -1
- {solidping-0.3.0 → solidping-0.4.0}/openapi/openapi.yaml +72 -0
- {solidping-0.3.0 → solidping-0.4.0}/pyproject.toml +1 -1
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_generated/models.py +41 -2
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_generated/operations.py +10 -0
- solidping-0.3.0/.release-please-manifest.json +0 -1
- {solidping-0.3.0 → solidping-0.4.0}/.github/renovate.json +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/.github/workflows/ci.yml +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/.github/workflows/pr-title.yml +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/.github/workflows/regenerate.yml +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/.github/workflows/release-please.yml +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/.gitignore +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/AGENTS.md +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/CLAUDE.md +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/LICENSE +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/README.md +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/release-please-config.json +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/scripts/generate.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/specs/done/2026/11/2026-11-29-01-python-sdk-from-openapi.md +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/specs/todos/.gitkeep +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/__init__.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_client.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_errors.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_generated/__init__.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_model.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_operation.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_pagination.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/_retry.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/py.typed +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/__init__.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/_base.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/channels.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/checks.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/incidents.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/maintenance_windows.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/src/solidping/resources/status_pages.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/__init__.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/conftest.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_errors.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_logging.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_models.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_pagination.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_quickstart.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_resources.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/tests/test_retry.py +0 -0
- {solidping-0.3.0 → solidping-0.4.0}/uv.lock +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{".":"0.4.0"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.0](https://github.com/fclairamb/solidping-python/compare/v0.3.0...v0.4.0) (2026-12-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** regenerate the SDK from SolidPing v0.65.0 (was v0.64.0): read the state and exact payload of the anonymous usage ping (`getUsage`, super-admin only), hide a status page's visitor subscription widget (`settings.subscriptions.hidden`), and see when stored credentials are not encrypted (`credentialsEncryptionDisabled` on the current user, super admins only) ([#21](https://github.com/fclairamb/solidping-python/issues/21)) ([e8db976](https://github.com/fclairamb/solidping-python/commit/e8db976290f7b0ed78908357aab804094f120691))
|
|
9
|
+
|
|
3
10
|
## [0.3.0](https://github.com/fclairamb/solidping-python/compare/v0.2.0...v0.3.0) (2026-12-03)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -557,6 +557,30 @@ paths:
|
|
|
557
557
|
"403":
|
|
558
558
|
$ref: "#/components/responses/Forbidden"
|
|
559
559
|
|
|
560
|
+
/api/v1/system/usage:
|
|
561
|
+
get:
|
|
562
|
+
tags: [System]
|
|
563
|
+
summary: Anonymous usage ping
|
|
564
|
+
description: >
|
|
565
|
+
Returns whether the daily anonymous usage ping is on, where it goes,
|
|
566
|
+
when the next one is due, the outcome of the last one, and the exact
|
|
567
|
+
payload it sends (also when the ping is off, so an operator sees what
|
|
568
|
+
they refuse). Never creates the install identity. Super-admin only.
|
|
569
|
+
operationId: getUsage
|
|
570
|
+
security:
|
|
571
|
+
- bearerAuth: []
|
|
572
|
+
responses:
|
|
573
|
+
"200":
|
|
574
|
+
description: Usage ping state and payload
|
|
575
|
+
content:
|
|
576
|
+
application/json:
|
|
577
|
+
schema:
|
|
578
|
+
$ref: "#/components/schemas/UsageResponse"
|
|
579
|
+
"401":
|
|
580
|
+
$ref: "#/components/responses/Unauthorized"
|
|
581
|
+
"403":
|
|
582
|
+
$ref: "#/components/responses/Forbidden"
|
|
583
|
+
|
|
560
584
|
/api/v1/system/discord-setup:
|
|
561
585
|
get:
|
|
562
586
|
tags: [System]
|
|
@@ -11669,6 +11693,32 @@ components:
|
|
|
11669
11693
|
$ref: "#/components/schemas/Error"
|
|
11670
11694
|
|
|
11671
11695
|
schemas:
|
|
11696
|
+
UsageResponse:
|
|
11697
|
+
type: object
|
|
11698
|
+
required: [enabled, disabledReason, endpoint, optOutEnvVar, lastStatus, payload]
|
|
11699
|
+
properties:
|
|
11700
|
+
enabled:
|
|
11701
|
+
type: boolean
|
|
11702
|
+
disabledReason:
|
|
11703
|
+
type: string
|
|
11704
|
+
description: One of opt_out, run_mode, dev_build; empty when enabled.
|
|
11705
|
+
endpoint:
|
|
11706
|
+
type: string
|
|
11707
|
+
optOutEnvVar:
|
|
11708
|
+
type: string
|
|
11709
|
+
nextPingAt:
|
|
11710
|
+
type: string
|
|
11711
|
+
format: date-time
|
|
11712
|
+
lastSentAt:
|
|
11713
|
+
type: string
|
|
11714
|
+
format: date-time
|
|
11715
|
+
lastStatus:
|
|
11716
|
+
type: string
|
|
11717
|
+
description: "ok, or error: <HTTP status or network error class>."
|
|
11718
|
+
payload:
|
|
11719
|
+
type: object
|
|
11720
|
+
description: The exact ping payload (schemaVersion, installUid, date, version, context, metrics).
|
|
11721
|
+
additionalProperties: true
|
|
11672
11722
|
IncidentInsightsDuration:
|
|
11673
11723
|
type: object
|
|
11674
11724
|
properties:
|
|
@@ -12698,6 +12748,12 @@ components:
|
|
|
12698
12748
|
expiresAt:
|
|
12699
12749
|
type: string
|
|
12700
12750
|
format: date-time
|
|
12751
|
+
credentialsEncryptionDisabled:
|
|
12752
|
+
type: boolean
|
|
12753
|
+
description: >-
|
|
12754
|
+
True only for a super admin when no master key is configured: stored
|
|
12755
|
+
secrets are in plaintext until SP_ENCRYPTION_MASTER_KEY (or
|
|
12756
|
+
SP_ENCRYPTION_MASTER_KEY_FILE) is set. Absent otherwise.
|
|
12701
12757
|
|
|
12702
12758
|
OrganizationSummary:
|
|
12703
12759
|
type: object
|
|
@@ -17414,6 +17470,19 @@ components:
|
|
|
17414
17470
|
dark:
|
|
17415
17471
|
$ref: "#/components/schemas/ThemeTokens"
|
|
17416
17472
|
|
|
17473
|
+
SubscriptionsSettings:
|
|
17474
|
+
type: object
|
|
17475
|
+
additionalProperties: false
|
|
17476
|
+
description: >-
|
|
17477
|
+
Visitor subscription widget of a status page (email double opt-in and
|
|
17478
|
+
RSS/Atom link). Replaced as a whole on update; null resets it.
|
|
17479
|
+
properties:
|
|
17480
|
+
hidden:
|
|
17481
|
+
type: boolean
|
|
17482
|
+
description: >-
|
|
17483
|
+
Hide the widget on the public page. The subscribe endpoints and the
|
|
17484
|
+
feeds keep answering. Default false.
|
|
17485
|
+
|
|
17417
17486
|
StatusPageSettings:
|
|
17418
17487
|
type: object
|
|
17419
17488
|
description: >-
|
|
@@ -17426,6 +17495,9 @@ components:
|
|
|
17426
17495
|
theme:
|
|
17427
17496
|
$ref: "#/components/schemas/ThemeSettings"
|
|
17428
17497
|
nullable: true
|
|
17498
|
+
subscriptions:
|
|
17499
|
+
$ref: "#/components/schemas/SubscriptionsSettings"
|
|
17500
|
+
nullable: true
|
|
17429
17501
|
|
|
17430
17502
|
AvailabilityThresholds:
|
|
17431
17503
|
type: object
|
|
@@ -4014,7 +4014,13 @@ class MaintenanceWindowOccurrence(Model):
|
|
|
4014
4014
|
|
|
4015
4015
|
|
|
4016
4016
|
class MeResponse(Model):
|
|
4017
|
-
_fields: ClassVar[tuple[str, ...]] = (
|
|
4017
|
+
_fields: ClassVar[tuple[str, ...]] = (
|
|
4018
|
+
"user",
|
|
4019
|
+
"organization",
|
|
4020
|
+
"organizations",
|
|
4021
|
+
"impersonation",
|
|
4022
|
+
"credentialsEncryptionDisabled",
|
|
4023
|
+
)
|
|
4018
4024
|
_nested: ClassVar[dict[str, tuple[str, str]]] = {
|
|
4019
4025
|
"user": ("one", "UserSummary"),
|
|
4020
4026
|
"organization": ("one", "OrganizationSummary"),
|
|
@@ -4026,6 +4032,7 @@ class MeResponse(Model):
|
|
|
4026
4032
|
organization: OrganizationSummary | None = None
|
|
4027
4033
|
organizations: list[OrganizationMemberSummary] | None = None
|
|
4028
4034
|
impersonation: MeResponseImpersonation | None = None
|
|
4035
|
+
credentialsEncryptionDisabled: bool | None = None
|
|
4029
4036
|
|
|
4030
4037
|
|
|
4031
4038
|
class MeResponseImpersonation(Model):
|
|
@@ -6210,14 +6217,16 @@ class StatusPageSectionSettingsInput(Model):
|
|
|
6210
6217
|
class StatusPageSettings(Model):
|
|
6211
6218
|
"""Per-page display customization. Typed rather than a free-form map; unknown keys are rejected on write (VALIDATION_ERROR)."""
|
|
6212
6219
|
|
|
6213
|
-
_fields: ClassVar[tuple[str, ...]] = ("availability", "theme")
|
|
6220
|
+
_fields: ClassVar[tuple[str, ...]] = ("availability", "theme", "subscriptions")
|
|
6214
6221
|
_nested: ClassVar[dict[str, tuple[str, str]]] = {
|
|
6215
6222
|
"availability": ("one", "AvailabilitySettings"),
|
|
6216
6223
|
"theme": ("one", "ThemeSettings"),
|
|
6224
|
+
"subscriptions": ("one", "SubscriptionsSettings"),
|
|
6217
6225
|
}
|
|
6218
6226
|
|
|
6219
6227
|
availability: AvailabilitySettings | None = None
|
|
6220
6228
|
theme: ThemeSettings | None = None
|
|
6229
|
+
subscriptions: SubscriptionsSettings | None = None
|
|
6221
6230
|
|
|
6222
6231
|
|
|
6223
6232
|
class StatusPageSubscribeRequest(Model):
|
|
@@ -6406,6 +6415,14 @@ class StatusUpdatePublic(Model):
|
|
|
6406
6415
|
publishedAt: str | None = None
|
|
6407
6416
|
|
|
6408
6417
|
|
|
6418
|
+
class SubscriptionsSettings(Model):
|
|
6419
|
+
"""Visitor subscription widget of a status page (email double opt-in and RSS/Atom link). Replaced as a whole on update; null resets it."""
|
|
6420
|
+
|
|
6421
|
+
_fields: ClassVar[tuple[str, ...]] = ("hidden",)
|
|
6422
|
+
|
|
6423
|
+
hidden: bool | None = None
|
|
6424
|
+
|
|
6425
|
+
|
|
6409
6426
|
class SupportMessage(Model):
|
|
6410
6427
|
_fields: ClassVar[tuple[str, ...]] = (
|
|
6411
6428
|
"uid",
|
|
@@ -7256,6 +7273,28 @@ class UpsertCheckRequest(Model):
|
|
|
7256
7273
|
dependsOn: list[ExportedDependency] | None = None
|
|
7257
7274
|
|
|
7258
7275
|
|
|
7276
|
+
class UsageResponse(Model):
|
|
7277
|
+
_fields: ClassVar[tuple[str, ...]] = (
|
|
7278
|
+
"enabled",
|
|
7279
|
+
"disabledReason",
|
|
7280
|
+
"endpoint",
|
|
7281
|
+
"optOutEnvVar",
|
|
7282
|
+
"nextPingAt",
|
|
7283
|
+
"lastSentAt",
|
|
7284
|
+
"lastStatus",
|
|
7285
|
+
"payload",
|
|
7286
|
+
)
|
|
7287
|
+
|
|
7288
|
+
enabled: bool | None = None
|
|
7289
|
+
disabledReason: str | None = None
|
|
7290
|
+
endpoint: str | None = None
|
|
7291
|
+
optOutEnvVar: str | None = None
|
|
7292
|
+
nextPingAt: str | None = None
|
|
7293
|
+
lastSentAt: str | None = None
|
|
7294
|
+
lastStatus: str | None = None
|
|
7295
|
+
payload: dict[str, Any] | None = None
|
|
7296
|
+
|
|
7297
|
+
|
|
7259
7298
|
class UserPreferences(Model):
|
|
7260
7299
|
"""What the user picked: the language and timezone of their emails, and dashboard settings that follow them across browsers. Present on /auth/me and every login response, `{}` when nothing is set (emails then use English and UTC, the dashboard its defaults)."""
|
|
7261
7300
|
|
|
@@ -1577,6 +1577,16 @@ OPERATIONS: dict[str, Operation] = {
|
|
|
1577
1577
|
response_model="SystemParameter",
|
|
1578
1578
|
item_model=None,
|
|
1579
1579
|
),
|
|
1580
|
+
"getUsage": Operation(
|
|
1581
|
+
operation_id="getUsage",
|
|
1582
|
+
method="GET",
|
|
1583
|
+
path="/api/v1/system/usage",
|
|
1584
|
+
path_params=(),
|
|
1585
|
+
query_params=(),
|
|
1586
|
+
request_model=None,
|
|
1587
|
+
response_model="UsageResponse",
|
|
1588
|
+
item_model=None,
|
|
1589
|
+
),
|
|
1580
1590
|
"getVersion": Operation(
|
|
1581
1591
|
operation_id="getVersion",
|
|
1582
1592
|
method="GET",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{".":"0.3.0"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{solidping-0.3.0 → solidping-0.4.0}/specs/done/2026/11/2026-11-29-01-python-sdk-from-openapi.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|