GET restapi/personal/yourfiles/private/folders/{folderId}/v1?searchPhrase={searchPhrase}

Get private files for the current user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
folderId

The folder identifier

integer

Default value is 0

searchPhrase

Optional. Get only the files that matches the search phrase

string

Default value is

Body Parameters

None.

Response Information

Resource Description

List of files and folders

Collection of Itslearning.RestApi.Entities.YourFiles.FileModel
NameDescriptionTypeAdditional information
Name

The name of the file/folder

string

None.

LastModified

The date and time the file was last modified

date

None.

LastModifiedString

The date and time the file was last modified as string

string

None.

FileType

The type of file

string

None.

FileSize

The file size in Kb

integer, 64 bit

None.

FileId

The file identifier

integer

None.

FileRepoId

The file repository identifier

globally unique identifier

None.

IsFolder

If the item is folder

boolean

None.

VirtualPath

Virtual Path

string

None.

Icon

Icon for the item

string

None.

FolderId

The folder identifier

integer

None.

ParentFolderId

The parent folder identifier. If this is a root folder or IsFolder = false, then this value is null.

integer

None.

NameWithoutExtension

The name without file extension

string

None.

Extension

The file extension

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "LastModified": "2025-06-25T13:21:02Z",
    "LastModifiedString": "sample string 3",
    "FileType": "sample string 4",
    "FileSize": 5,
    "FileId": 6,
    "FileRepoId": "176e4e81-dab8-4058-b93e-9d59478b1d69",
    "IsFolder": true,
    "VirtualPath": "sample string 9",
    "Icon": "sample string 10",
    "FolderId": 11,
    "ParentFolderId": 1,
    "NameWithoutExtension": "sample string 12",
    "Extension": "sample string 13"
  },
  {
    "Name": "sample string 1",
    "LastModified": "2025-06-25T13:21:02Z",
    "LastModifiedString": "sample string 3",
    "FileType": "sample string 4",
    "FileSize": 5,
    "FileId": 6,
    "FileRepoId": "b383d1be-bca8-4579-81d6-ff0504d6c1f8",
    "IsFolder": true,
    "VirtualPath": "sample string 9",
    "Icon": "sample string 10",
    "FolderId": 11,
    "ParentFolderId": 1,
    "NameWithoutExtension": "sample string 12",
    "Extension": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <FileModel>
    <Extension>sample string 13</Extension>
    <FileId>6</FileId>
    <FileRepoId>176e4e81-dab8-4058-b93e-9d59478b1d69</FileRepoId>
    <FileSize>5</FileSize>
    <FileType>sample string 4</FileType>
    <FolderId>11</FolderId>
    <Icon>sample string 10</Icon>
    <IsFolder>true</IsFolder>
    <LastModified>2025-06-25T13:21:02Z</LastModified>
    <LastModifiedString>sample string 3</LastModifiedString>
    <Name>sample string 1</Name>
    <NameWithoutExtension>sample string 12</NameWithoutExtension>
    <ParentFolderId>1</ParentFolderId>
    <VirtualPath>sample string 9</VirtualPath>
  </FileModel>
  <FileModel>
    <Extension>sample string 13</Extension>
    <FileId>6</FileId>
    <FileRepoId>b383d1be-bca8-4579-81d6-ff0504d6c1f8</FileRepoId>
    <FileSize>5</FileSize>
    <FileType>sample string 4</FileType>
    <FolderId>11</FolderId>
    <Icon>sample string 10</Icon>
    <IsFolder>true</IsFolder>
    <LastModified>2025-06-25T13:21:02Z</LastModified>
    <LastModifiedString>sample string 3</LastModifiedString>
    <Name>sample string 1</Name>
    <NameWithoutExtension>sample string 12</NameWithoutExtension>
    <ParentFolderId>1</ParentFolderId>
    <VirtualPath>sample string 9</VirtualPath>
  </FileModel>
</ArrayOfFileModel>