api.fluff4.me 1.0.957 → 1.0.958
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 +18 -0
- package/openapi.json +91 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -992,6 +992,16 @@ export interface EmbedSearch {
|
|
|
992
992
|
url: string
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
+
export interface OEmbedResponseSchema {
|
|
996
|
+
version: string
|
|
997
|
+
title: string
|
|
998
|
+
provider_name: string
|
|
999
|
+
provider_url: string
|
|
1000
|
+
type: string
|
|
1001
|
+
author_name?: string | null
|
|
1002
|
+
author_url?: string | null
|
|
1003
|
+
}
|
|
1004
|
+
|
|
995
1005
|
export interface ErrorResponse {
|
|
996
1006
|
code: number
|
|
997
1007
|
detail?: string | null
|
|
@@ -2121,4 +2131,12 @@ export interface Paths {
|
|
|
2121
2131
|
}
|
|
2122
2132
|
response: void | ErrorResponse
|
|
2123
2133
|
},
|
|
2134
|
+
"/oembed": {
|
|
2135
|
+
method: "get"
|
|
2136
|
+
body?: undefined
|
|
2137
|
+
search: {
|
|
2138
|
+
url: string
|
|
2139
|
+
}
|
|
2140
|
+
response: Response<OEmbedResponseSchema> | ErrorResponse
|
|
2141
|
+
},
|
|
2124
2142
|
}
|
package/openapi.json
CHANGED
|
@@ -5618,6 +5618,53 @@
|
|
|
5618
5618
|
"url"
|
|
5619
5619
|
]
|
|
5620
5620
|
},
|
|
5621
|
+
"OEmbedResponseSchema": {
|
|
5622
|
+
"type": "object",
|
|
5623
|
+
"properties": {
|
|
5624
|
+
"version": {
|
|
5625
|
+
"type": "string"
|
|
5626
|
+
},
|
|
5627
|
+
"title": {
|
|
5628
|
+
"type": "string"
|
|
5629
|
+
},
|
|
5630
|
+
"provider_name": {
|
|
5631
|
+
"type": "string"
|
|
5632
|
+
},
|
|
5633
|
+
"provider_url": {
|
|
5634
|
+
"type": "string"
|
|
5635
|
+
},
|
|
5636
|
+
"type": {
|
|
5637
|
+
"type": "string"
|
|
5638
|
+
},
|
|
5639
|
+
"author_name": {
|
|
5640
|
+
"anyOf": [
|
|
5641
|
+
{
|
|
5642
|
+
"type": "string"
|
|
5643
|
+
},
|
|
5644
|
+
{
|
|
5645
|
+
"type": "null"
|
|
5646
|
+
}
|
|
5647
|
+
]
|
|
5648
|
+
},
|
|
5649
|
+
"author_url": {
|
|
5650
|
+
"anyOf": [
|
|
5651
|
+
{
|
|
5652
|
+
"type": "string"
|
|
5653
|
+
},
|
|
5654
|
+
{
|
|
5655
|
+
"type": "null"
|
|
5656
|
+
}
|
|
5657
|
+
]
|
|
5658
|
+
}
|
|
5659
|
+
},
|
|
5660
|
+
"required": [
|
|
5661
|
+
"version",
|
|
5662
|
+
"title",
|
|
5663
|
+
"provider_name",
|
|
5664
|
+
"provider_url",
|
|
5665
|
+
"type"
|
|
5666
|
+
]
|
|
5667
|
+
},
|
|
5621
5668
|
"ErrorResponse": {
|
|
5622
5669
|
"type": "object",
|
|
5623
5670
|
"properties": {
|
|
@@ -13079,6 +13126,50 @@
|
|
|
13079
13126
|
}
|
|
13080
13127
|
}
|
|
13081
13128
|
}
|
|
13129
|
+
},
|
|
13130
|
+
"/oembed": {
|
|
13131
|
+
"get": {
|
|
13132
|
+
"parameters": [
|
|
13133
|
+
{
|
|
13134
|
+
"name": "url",
|
|
13135
|
+
"in": "query",
|
|
13136
|
+
"required": true,
|
|
13137
|
+
"schema": {
|
|
13138
|
+
"type": "string"
|
|
13139
|
+
}
|
|
13140
|
+
}
|
|
13141
|
+
],
|
|
13142
|
+
"responses": {
|
|
13143
|
+
"200": {
|
|
13144
|
+
"description": "200 response",
|
|
13145
|
+
"content": {
|
|
13146
|
+
"application/json": {
|
|
13147
|
+
"schema": {
|
|
13148
|
+
"type": "object",
|
|
13149
|
+
"properties": {
|
|
13150
|
+
"data": {
|
|
13151
|
+
"$ref": "#/components/schemas/OEmbedResponseSchema"
|
|
13152
|
+
}
|
|
13153
|
+
},
|
|
13154
|
+
"required": [
|
|
13155
|
+
"data"
|
|
13156
|
+
]
|
|
13157
|
+
}
|
|
13158
|
+
}
|
|
13159
|
+
}
|
|
13160
|
+
},
|
|
13161
|
+
"default": {
|
|
13162
|
+
"description": "Error",
|
|
13163
|
+
"content": {
|
|
13164
|
+
"application/json": {
|
|
13165
|
+
"schema": {
|
|
13166
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
13167
|
+
}
|
|
13168
|
+
}
|
|
13169
|
+
}
|
|
13170
|
+
}
|
|
13171
|
+
}
|
|
13172
|
+
}
|
|
13082
13173
|
}
|
|
13083
13174
|
}
|
|
13084
13175
|
}
|
package/package.json
CHANGED