Azure Files · Schema

ListFilesAndDirectoriesSegmentResponse

An enumeration of directories and files.

StorageFile StorageFile SharesNFSCloudMicrosoft AzureServer Message Block

Properties

Name Type Description
ServiceEndpoint string
ShareName string
ShareSnapshot string
Encoded boolean
DirectoryPath string
Prefix object
Marker string
MaxResults integer
Segment object
NextMarker string
DirectoryId string
View JSON Schema on GitHub

JSON Schema

azure-file-storage-list-files-and-directories-segment-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-file-storage/json-schema/azure-file-storage-list-files-and-directories-segment-response-schema.json",
  "title": "ListFilesAndDirectoriesSegmentResponse",
  "description": "An enumeration of directories and files.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-file-storage-openapi.yml#/components/schemas/ListFilesAndDirectoriesSegmentResponse",
  "type": "object",
  "required": [
    "ServiceEndpoint",
    "ShareName",
    "DirectoryPath",
    "Prefix",
    "NextMarker",
    "Segment"
  ],
  "properties": {
    "ServiceEndpoint": {
      "type": "string"
    },
    "ShareName": {
      "type": "string"
    },
    "ShareSnapshot": {
      "type": "string"
    },
    "Encoded": {
      "type": "boolean"
    },
    "DirectoryPath": {
      "type": "string"
    },
    "Prefix": {
      "$ref": "#/$defs/StringEncoded"
    },
    "Marker": {
      "type": "string"
    },
    "MaxResults": {
      "type": "integer"
    },
    "Segment": {
      "$ref": "#/$defs/FilesAndDirectoriesListSegment"
    },
    "NextMarker": {
      "type": "string"
    },
    "DirectoryId": {
      "type": "string"
    }
  },
  "$defs": {
    "DirectoryItem": {
      "description": "A listed directory item.",
      "type": "object",
      "required": [
        "Name"
      ],
      "properties": {
        "Name": {
          "$ref": "#/$defs/StringEncoded"
        },
        "FileId": {
          "type": "string"
        },
        "Properties": {
          "$ref": "#/$defs/FileProperty"
        },
        "Attributes": {
          "type": "string"
        },
        "PermissionKey": {
          "type": "string"
        }
      }
    },
    "FileItem": {
      "description": "A listed file item.",
      "type": "object",
      "required": [
        "Name",
        "Properties"
      ],
      "properties": {
        "Name": {
          "$ref": "#/$defs/StringEncoded"
        },
        "FileId": {
          "type": "string"
        },
        "Properties": {
          "$ref": "#/$defs/FileProperty"
        },
        "Attributes": {
          "type": "string"
        },
        "PermissionKey": {
          "type": "string"
        }
      }
    },
    "FileProperty": {
      "description": "File properties.",
      "type": "object",
      "required": [
        "Content-Length"
      ],
      "properties": {
        "Content-Length": {
          "description": "Content length of the file. This value may not be up-to-date since an SMB client may have modified the file locally. The value of Content-Length may not reflect that fact until the handle is closed or the op-lock is broken. To retrieve current property values, call Get File Properties.",
          "type": "integer",
          "format": "int64"
        },
        "CreationTime": {
          "type": "string",
          "format": "date-time"
        },
        "LastAccessTime": {
          "type": "string",
          "format": "date-time"
        },
        "LastWriteTime": {
          "type": "string",
          "format": "date-time"
        },
        "ChangeTime": {
          "type": "string",
          "format": "date-time"
        },
        "Last-Modified": {
          "type": "string",
          "format": "date-time-rfc1123"
        },
        "Etag": {
          "type": "string"
        }
      }
    },
    "FilesAndDirectoriesListSegment": {
      "description": "Abstract for entries that can be listed from Directory.",
      "type": "object",
      "required": [
        "DirectoryItems",
        "FileItems"
      ],
      "properties": {
        "DirectoryItems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DirectoryItem"
          }
        },
        "FileItems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FileItem"
          }
        }
      }
    },
    "StringEncoded": {
      "type": "object",
      "properties": {
        "Encoded": {
          "type": "boolean"
        },
        "content": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/azure-file-storage-list-files-and-directories-segment-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.