Memos
Memo Service

Set Memo Relations

SetMemoRelations sets relations for a memo.

PATCH
/api/v1/memos/{memo}/relations

Path Parameters

memo*string

The memo id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/v1/memos/string/relations" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "relations": [      {        "memo": {          "name": "string"        },        "relatedMemo": {          "name": "string"        },        "type": "TYPE_UNSPECIFIED"      }    ]  }'
Empty
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings