Wikiページの追加

WIkiの新しいページを追加します。

実行可能な権限

管理者 
一般ユーザー 

メソッド

POST 

URL

/api/v2/wikis 

リクエストパラメーター

Content-Type:application/x-www-form-urlencoded 
パラメーター名 内容
projectId (必須) 数値 プロジェクトのID
name (必須) 文字列 ページ名
content (必須) 文字列 ページの内容
mailNotify 真偽値 ページの追加をメールで通知する場合はtrue

レスポンス例

ステータスライン / レスポンスヘッダ

HTTP/1.1 201 CREATED 
Content-Type:application/json;charset=utf-8 
Location:https://xx.backlog.jp/alias/wiki/1 

レスポンスボディ

{ 
    "id": 1, 
    "projectId": 1, 
    "name": "Home", 
    "content": "test", 
    "tags": [ 
        { 
            "id": 12, 
            "name": "議事録" 
        } 
    ], 
    "attachments": [], 
    "sharedFiles": [], 
    "stars": [], 
    "createdUser": { 
        "id": 1, 
        "userId": "admin", 
        "name": "admin", 
        "roleType": 1, 
        "lang": "ja", 
        "mailAddress": "eguchi@nulab.example",
        "lastLoginTime": "2022-09-01T06:35:39Z"
    }, 
    "created": "2012-07-23T06:09:48Z", 
    "updatedUser": { 
        "id": 1, 
        "userId": "admin", 
        "name": "admin", 
        "roleType": 1, 
        "lang": "ja", 
        "mailAddress": "eguchi@nulab.example",
        "lastLoginTime": "2022-09-01T06:35:39Z"
    }, 
    "updated": "2012-07-23T06:09:48Z"
}