Contents

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 NameTypeDescription
projectIdOrKeyStringProject ID or Project key
pathStringDirectory path

Query parameters

Parameter NameTypeDescription
orderString”asc” or “desc” default=“desc”
offsetNumber
countNumbernumber 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,
        "projectId": 5,
        "type": "file",
        "dir": "/PressRelease/20091130/",
        "name": "20091130.txt",
        "size": 4836,
        "createdUser": {
            "id": 1,
            "userId": "admin",
            "name": "admin",
            "roleType": 1,
            "lang": "ja",
            "nulabAccount": {
                "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
                "name": "admin",
                "uniqueId": "admin"
            },
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        },
        "created": "2009-11-30T01:22:21Z",
        "updatedUser": null,
        "updated": "2009-11-30T01:22:21Z"
    },
    // ...
]