DocumentationAPI reference

Rust · 0.1.0

Get Link Metadata

GET /api/v1/memos/-/linkMetadata

MemoService · MemoService_GetLinkMetadata

Protocol-derived reference. Authorization and instance policy still apply. Schema descriptions are inherited from the MIT-licensed application contract; examples here are not executed against a live server.

Access

Anonymous calls are allowed only when the instance permits public access. Authenticated calls remain subject to resource visibility and operation-specific filtering.

Request

GetLinkMetadata gets metadata for a link.

GET/api/v1/memos/-/linkMetadata

Parameters

Name / locationType / requirementDescription
url
query
string
Required (contract description)
Required. The link URL.

Request body

No request body is declared.

Responses

200 · OK

application/json · LinkMetadata

default · Default error response

application/json · Status

Complete operation definition

All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.

Open JSON definition
{
  "tags": [
    "MemoService"
  ],
  "description": "GetLinkMetadata gets metadata for a link.",
  "operationId": "MemoService_GetLinkMetadata",
  "parameters": [
    {
      "name": "url",
      "in": "query",
      "description": "Required. The link URL.",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/LinkMetadata"
          }
        }
      }
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}