Contents
Link Shared Files to Wiki
Links Shared Files to Wiki.
Role
Administrator
Normal User
Method
POST
URL
/api/v2/wikis/:wikiId/sharedFiles
URL parameters
Parameter Name | Type | Description |
---|---|---|
wikiId | Number | Wiki page’s ID |
Form parameters
Content-Type:application/x-www-form-urlencoded
Parameter Name | Type | Description |
---|---|---|
fileId[] (Required) | Number | Shared File Id |
Response example
Status Line / Response Header
HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8
Response Body
{
"id": 4056,
"type": "file",
"projectId": 5,
"dir": "/design/",
"name": "site.png",
"size": 2735,
"createdUser": {
"id": 5686,
"userId": "takada",
"name": "takada",
"roleType":2,
"lang":"ja",
"nulabAccount": {
"nulabId": "r4iGCWu4mU64aGUJykJH4GhBwdAXMTAtVRQ5RwZTDpeaECoBs2",
"name": "takada",
"uniqueId": "takada"
},
"mailAddress":"takada@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
},
"created": "2009-02-27T03:26:15Z",
"updatedUser": {
"id": 5686,
"userId": "takada",
"name": "takada",
"roleType": 2,
"lang": "ja",
"nulabAccount": {
"nulabId": "r4iGCWu4mU64aGUJykJH4GhBwdAXMTAtVRQ5RwZTDpeaECoBs2",
"name": "takada",
"uniqueId": "takada"
},
"mailAddress": "takada@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
},
"updated":"2010-05-02T17:37:10Z"
}