@omerikanec/api-client-demo 0.0.1 → 2.0.0
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.
- package/CHANGELOG.md +24 -0
- package/dist/.api-sync/incremental-spec.json +71 -0
- package/dist/api.schemas.ts +0 -1911
- package/dist/home/home.ts +1 -95
- package/package.json +6 -2
- package/postinstall.js +24 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# API Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased (2026-06-21)
|
|
4
|
+
|
|
5
|
+
### ⚠ Breaking Changes
|
|
6
|
+
|
|
7
|
+
- GET /api/activity-feed/: response '201' removed
|
|
8
|
+
|
|
9
|
+
### Features & Changes
|
|
10
|
+
|
|
11
|
+
- GET /api/activity-feed/: response '200' added
|
|
12
|
+
|
|
13
|
+
> Suggested version bump: **major**
|
|
14
|
+
|
|
15
|
+
## Unreleased (2026-06-21)
|
|
16
|
+
|
|
17
|
+
### ⚠ Breaking Changes
|
|
18
|
+
|
|
19
|
+
- GET /api/activity-feed/: response '200' removed
|
|
20
|
+
|
|
21
|
+
### Features & Changes
|
|
22
|
+
|
|
23
|
+
- GET /api/activity-feed/: response '201' added
|
|
24
|
+
|
|
25
|
+
> Suggested version bump: **major**
|
|
26
|
+
|
|
3
27
|
## Unreleased (2026-04-09)
|
|
4
28
|
|
|
5
29
|
### Features & Changes
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "НКП Сибирский Хаски API",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"description": "API для Национального клуба породы Сибирский хаски"
|
|
7
|
+
},
|
|
8
|
+
"paths": {
|
|
9
|
+
"/api/activity-feed/": {
|
|
10
|
+
"get": {
|
|
11
|
+
"operationId": "activity_feed_retrieve",
|
|
12
|
+
"description": "Возвращает последние сообщения из Telegram-канала клуба (кешируется на 1 минуту).",
|
|
13
|
+
"summary": "Лента активности",
|
|
14
|
+
"tags": [
|
|
15
|
+
"Home"
|
|
16
|
+
],
|
|
17
|
+
"security": [
|
|
18
|
+
{
|
|
19
|
+
"cookieAuth": []
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"tokenAuth": []
|
|
23
|
+
},
|
|
24
|
+
{}
|
|
25
|
+
],
|
|
26
|
+
"responses": {
|
|
27
|
+
"200": {
|
|
28
|
+
"content": {
|
|
29
|
+
"application/json": {
|
|
30
|
+
"schema": {
|
|
31
|
+
"$ref": "#/components/schemas/ActivityFeedResponse"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"description": ""
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"components": {
|
|
42
|
+
"schemas": {
|
|
43
|
+
"ActivityFeedResponse": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"results": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {},
|
|
49
|
+
"description": "Список последних сообщений из Telegram-канала"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"results"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"securitySchemes": {
|
|
58
|
+
"cookieAuth": {
|
|
59
|
+
"type": "apiKey",
|
|
60
|
+
"in": "cookie",
|
|
61
|
+
"name": "sessionid"
|
|
62
|
+
},
|
|
63
|
+
"tokenAuth": {
|
|
64
|
+
"type": "apiKey",
|
|
65
|
+
"in": "header",
|
|
66
|
+
"name": "Authorization",
|
|
67
|
+
"description": "Token-based authentication with required prefix \"Token\""
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|