メインコンテンツへ移動
Nowledge MemNowledge Mem

エンティティエイリアスの修正

POST
/entities/{entity_id}/aliases

Correct aliases with expected_revision and expected_aliases from GET. add explicitly restores rejected aliases; remove persistently rejects them. Neither operation changes entity identity or links.

パスパラメータ

entity_id*string

リクエストボディ

application/json

TypeScript定義

TypeScriptでrequest body型を使用します。

レスポンスボディ

application/json

curl -X POST "https://example.com/entities/string/aliases" \  -H "Content-Type: application/json" \  -d '{    "expected_aliases": [      "string"    ],    "expected_revision": 0  }'
{  "aliases": [    "string"  ],  "entity_id": "string",  "name": "string",  "rejected_aliases": [    "string"  ],  "revision": 0}