> ## Documentation Index
> Fetch the complete documentation index at: https://developers.liara.ir/llms.txt
> Use this file to discover all available pages before exploring further.

# Get list from FileBrowser



## OpenAPI

````yaml /spec/file-browser.yaml get /v1/projects/{projectID}/disks/{diskName}/list
openapi: 3.0.1
info:
  title: Liara File Browser API Documentaion
  description: |-
    For managing files in your disks

    Parameters:
    - `teamID`: To access services in a team
  contact:
    name: liara
    url: https://liara.ir
    email: support@liara.ir
  version: 1.0.0
servers:
  - url: https://{filebrowser-url}
    variables:
      filebrowser-url:
        default: Example
        description: This value is assigned by the service provider.
security:
  - jwt: []
tags:
  - name: Disks
    description: Everything about your File Browser in Disks
externalDocs:
  description: Find out more about Liara File Browser
  url: https://docs.liara.ir/disks/file-browser/
paths:
  /v1/projects/{projectID}/disks/{diskName}/list:
    get:
      tags:
        - Disks
      summary: Get list from FileBrowser
      operationId: getList
      parameters:
        - name: projectID
          in: path
          description: The id of your project
          required: true
          schema:
            type: string
        - name: diskName
          in: path
          description: The name of your disk
          required: true
          schema:
            type: string
        - name: path
          in: query
          description: The path of your disk
          required: true
          schema:
            type: string
        - name: sortType
          in: query
          description: >-
            The sortType for pagination. valid values:["name", "size",
            "modTime"]
          schema:
            type: string
        - name: sortDirection
          in: query
          description: The sortDirection for pagination. valid values:["asc", "desc"]
          schema:
            type: string
        - name: page
          in: query
          description: The page for pagination. min 1
          schema:
            type: number
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/list'
        '400':
          description: Bad request
          content: {}
        '401':
          description: Missing authentication
          content: {}
        '404':
          description: App does not exists.
          content: {}
        '500':
          description: Unexpected error
          content: {}
components:
  schemas:
    list:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              name:
                type: string
              size:
                type: number
              extension:
                type: string
              isDir:
                type: boolean
              isSymlink:
                type: boolean
              targetSymlink:
                type: string
              type:
                type: string
              mode:
                type: number
              createAt:
                type: string
              modifiedAt:
                type: string
        diskName:
          type: string
        sorting:
          type: object
          properties:
            sortType:
              type: string
            sortDirection:
              type: string
            page:
              type: number
        path:
          type: string
        name:
          type: string
        numDirs:
          type: number
        numFiles:
          type: number
        size:
          type: number
        extension:
          type: string
        isDir:
          type: boolean
        isSymlink:
          type: boolean
        targetSymlink:
          type: string
        type:
          type: string
        mode:
          type: number
        createAt:
          type: string
        modifiedAt:
          type: string
  securitySchemes:
    jwt:
      type: apiKey
      description: 'Enter the token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".  #'
      name: Authorization
      in: header

````