Batch Get Link Metadata
BatchGetLinkMetadata fetches the metadata of up to 10 links.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request message for MemoService.BatchGetLinkMetadata.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/memos/-/linkMetadata:batchGet" \ -H "Content-Type: application/json" \ -d '{ "urls": [ "string" ] }'{ "linkMetadata": [ { "url": "string", "title": "string", "description": "string", "image": "string" } ]}Update Instance Setting
UpdateInstanceSetting replaces an instance setting. Admin only. Fields declarative configuration manages cannot be changed. Empty write-only credentials keep the stored values. Saving the AI setting lists the models of each provider that is new or whose type, endpoint or key changed. A rejected key, an unreachable or redirecting endpoint, or no answer in time refuses the save with a google.rpc.ErrorInfo in the "memos.api" domain: AI_PROVIDER_AUTH_FAILED or AI_PROVIDER_REDIRECTED with FAILED_PRECONDITION, AI_PROVIDER_UNREACHABLE with UNAVAILABLE, AI_PROVIDER_TIMEOUT with DEADLINE_EXCEEDED. Metadata "upstream_status" carries the provider's HTTP status when there was one. Other provider answers do not refuse the save.
Create Memo
CreateMemo creates a memo owned by the authenticated user. The request body is a Memo; set its Markdown content and visibility (defaults to PRIVATE). Set memo.parent to create a comment on that memo, which must be readable by the caller and not archived. Requires authentication.