mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove unused httpmeta getter api
This commit is contained in:
@ -1891,40 +1891,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/o/get/GetWebsiteMetadata": {
|
||||
"get": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"get"
|
||||
],
|
||||
"summary": "Get website metadata",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Website URL",
|
||||
"name": "url",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Extracted metadata",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/getter.HTMLMeta"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Missing website url | Wrong url"
|
||||
},
|
||||
"406": {
|
||||
"description": "Failed to get website meta with url: %s"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/o/r/{resourceId}": {
|
||||
"get": {
|
||||
"description": "*Swagger UI may have problems displaying other file types than images",
|
||||
@ -2002,20 +1968,6 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"getter.HTMLMeta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"github_com_usememos_memos_store.UserSetting": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -2033,6 +1985,14 @@ const docTemplate = `{
|
||||
"profile.Profile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"driver": {
|
||||
"description": "Driver is the database driver\nsqlite, mysql",
|
||||
"type": "string"
|
||||
},
|
||||
"dsn": {
|
||||
"description": "DSN points to where Memos stores its own data",
|
||||
"type": "string"
|
||||
},
|
||||
"mode": {
|
||||
"description": "Mode can be \"prod\" or \"dev\" or \"demo\"",
|
||||
"type": "string"
|
||||
@ -2139,8 +2099,11 @@ const docTemplate = `{
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"parentID": {
|
||||
"description": "Composed fields\nFor those comment memos, the parent ID is the memo ID of the memo being commented.\nIf the parent ID is nil, then this memo is not a comment.",
|
||||
"type": "integer"
|
||||
},
|
||||
"pinned": {
|
||||
"description": "Composed fields",
|
||||
"type": "boolean"
|
||||
},
|
||||
"relationList": {
|
||||
@ -2189,11 +2152,11 @@ const docTemplate = `{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"REFERENCE",
|
||||
"ADDITIONAL"
|
||||
"COMMENT"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"MemoRelationReference",
|
||||
"MemoRelationAdditional"
|
||||
"MemoRelationComment"
|
||||
]
|
||||
},
|
||||
"store.Resource": {
|
||||
@ -2406,9 +2369,6 @@ const docTemplate = `{
|
||||
"filename": {
|
||||
"type": "string"
|
||||
},
|
||||
"internalPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
|
Reference in New Issue
Block a user