Wiki Graph
ページのリンクグラフ(nodes/edges)を返す(Section 4)。viewer 以上。
設計の /pages/graph は /pages/{page_id} とルートが衝突するため /wiki/graph で提供する。
GET
/wiki/graphHeader parameters
authorizationstring | anyX-Api-Keystring | anyResponses
200Successful Response
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredRequest
curl -X GET "/wiki/graph"const response = await fetch("/wiki/graph", {
method: "GET"
});import requests
response = requests.get(
"/wiki/graph",
)Response
"string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}