Apideck · Schema

FilesSort

IntegrationsUnified API

Properties

Name Type Description
by string The field on which to sort the Files
direction object
View JSON Schema on GitHub

JSON Schema

apideck-filessort-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FilesSort",
  "title": "FilesSort",
  "type": "object",
  "x-apideck-schema-id": "FilesSort",
  "example": {
    "by": "updated_at",
    "direction": "desc"
  },
  "properties": {
    "by": {
      "type": "string",
      "x-apideck-enum-id": "files.sort_by",
      "description": "The field on which to sort the Files",
      "enum": [
        "created_at",
        "updated_at",
        "name"
      ],
      "example": "updated_at"
    },
    "direction": {
      "$ref": "#/components/schemas/SortDirection"
    }
  },
  "additionalProperties": false
}