api.fluff4.me 1.0.195 → 1.0.203

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/index.d.ts CHANGED
@@ -402,6 +402,8 @@ export interface NotificationsBody {
402
402
  notification_ids: string[]
403
403
  }
404
404
 
405
+ export type FeedWorks = Work[]
406
+
405
407
  export interface ErrorResponse {
406
408
  code: number
407
409
  detail?: string | null
@@ -819,4 +821,9 @@ export interface Paths {
819
821
  body?: undefined
820
822
  response: void | ErrorResponse
821
823
  },
824
+ "/feed/get": {
825
+ method: "get"
826
+ body?: undefined
827
+ response: PaginatedResponse<FeedWorks> | ErrorResponse
828
+ },
822
829
  }
package/openapi.json CHANGED
@@ -2066,6 +2066,12 @@
2066
2066
  "notification_ids"
2067
2067
  ]
2068
2068
  },
2069
+ "FeedWorks": {
2070
+ "type": "array",
2071
+ "items": {
2072
+ "$ref": "#/components/schema/Work"
2073
+ }
2074
+ },
2069
2075
  "ErrorResponse": {
2070
2076
  "type": "object",
2071
2077
  "properties": {
@@ -5329,6 +5335,64 @@
5329
5335
  }
5330
5336
  }
5331
5337
  }
5338
+ },
5339
+ "/feed/get": {
5340
+ "parameters": [
5341
+ {
5342
+ "name": "page",
5343
+ "in": "query",
5344
+ "description": "The page of data to query from. This endpoint uses a page size of 25"
5345
+ }
5346
+ ],
5347
+ "get": {
5348
+ "responses": {
5349
+ "200": {
5350
+ "description": "200 response",
5351
+ "content": {
5352
+ "application/json": {
5353
+ "schema": {
5354
+ "type": "object",
5355
+ "properties": {
5356
+ "data": {
5357
+ "$ref": "#/components/schemas/FeedWorks"
5358
+ },
5359
+ "has_more": {
5360
+ "type": "boolean"
5361
+ },
5362
+ "page": {
5363
+ "type": "number",
5364
+ "minimum": 0
5365
+ },
5366
+ "page_count": {
5367
+ "type": "number",
5368
+ "minimum": 0
5369
+ }
5370
+ },
5371
+ "required": [
5372
+ "data",
5373
+ "has_more",
5374
+ "page",
5375
+ "page_count"
5376
+ ]
5377
+ }
5378
+ }
5379
+ }
5380
+ },
5381
+ "304": {
5382
+ "description": "304 response"
5383
+ },
5384
+ "default": {
5385
+ "description": "Error",
5386
+ "content": {
5387
+ "application/json": {
5388
+ "schema": {
5389
+ "$ref": "#/components/schemas/ErrorResponse"
5390
+ }
5391
+ }
5392
+ }
5393
+ }
5394
+ }
5395
+ }
5332
5396
  }
5333
5397
  }
5334
5398
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.195",
3
+ "version": "1.0.203",
4
4
  "types": "index.d.ts"
5
5
  }