---
title: "ListDocumentsTree"
url: "https://nov18-dev.movespot.fyi/apis/portal-products-2/versions/e27f19d8-63a7-4a90-88ab-02bc91b51306/schemas/ListDocumentsTree"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-products-2/versions/e27f19d8-63a7-4a90-88ab-02bc91b51306.md

# ListDocumentsTree

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Portal Products
  version: 2.0.0
components:
  schemas:
    PaginatedMeta:
      description: returns the pagination information
      type: object
      properties:
        page:
          $ref: "#/components/schemas/PageMeta"
      required:
        - page
      title: PaginatedMeta
    DocumentTree:
      description: a document tree
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: d32d905a-ed33-46a3-a093-d8f536af9a8a
        parent_document_id:
          type: string
          format: uuid
          example: dd4e1b98-3629-4dd3-acc0-759a726ffee2
          nullable: true
        title:
          description: the title of the document
          type: string
          example: Getting Started
        slug:
          description: the slug of the document
          type: string
          example: getting-started
        metadata:
          $ref: "#/components/schemas/Metadata"
        children:
          type: array
          items:
            $ref: "#/components/schemas/DocumentTree"
        created_at:
          $ref: "#/components/schemas/CreatedAt"
        updated_at:
          $ref: "#/components/schemas/UpdatedAt"
      required:
        - id
        - title
        - slug
        - metadata
        - children
        - created_at
        - updated_at
      title: DocumentTree
    PageMeta:
      description: Contains pagination query parameters and the total number of
        objects returned.
      type: object
      properties:
        number:
          type: number
          example: 1
        size:
          type: number
          example: 10
        total:
          type: number
          example: 100
      required:
        - number
        - size
        - total
    Metadata:
      description: Contains key value pairs information about entity's metadata.
      type: object
      example:
        owner: John Appleseed
      additionalProperties: true
    CreatedAt:
      description: An ISO-8601 timestamp representation of entity creation date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    UpdatedAt:
      description: An ISO-8601 timestamp representation of entity update date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    ListDocumentsTree:
      type: object
      properties:
        meta:
          $ref: "#/components/schemas/PaginatedMeta"
        data:
          type: array
          items:
            $ref: "#/components/schemas/DocumentTree"
      required:
        - meta
        - data
```
