Get List of Shared Files

Gets list of Shared Files.

Role

Administrator
Normal User

Method

GET

URL

/api/v2/projects/:projectIdOrKey/files/metadata/:path

URL Parameters

Parameter Name Type Description
projectIdOrKey String Project ID or Project key
path String Directory path

Query Parameters

Parameter Name Type Description
order String "asc" or "desc" default="desc"
offset Number
count Number number of records to retrieve(1-100) default=20

Response Example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

[
    {
        "id": 825952,
        "type": "file",
        "dir": "/PressRelease/20091130/",
        "name": "20091130.txt",
        "size": 4836,
        "createdUser": {
            "id": 1,
            "userId": "admin",
            "name": "admin",
            "roleType": 1,
            "lang": "ja",
            "mailAddress": "eguchi@nulab.example"
        },
        "created": "2009-11-30T01:22:21Z",
        "updatedUser": null,
        "updated": "2009-11-30T01:22:21Z"
    },
    ...
]