搜索 MotionVideo

搜索视频、创作者、工具、创意团队…

Get the filters

Every value the search endpoints filter by, with how many videos or entries carry it: video categories (with titles and descriptions), models, colours and types; each directory section's filters, categories and sorts; and the move families.

GEThttps://motionvideo.xyz/api/catalog/facets

请求示例

curl -X GET 'https://motionvideo.xyz/api/catalog/facets'

响应

200

The filter values.

响应头

  • Cache-Controlstring

    Browsers reuse a response for 5 minutes and shared caches for an hour, then may serve it stale for up to a day while they revalidate.

    可选值:public, max-age=300, s-maxage=3600, stale-while-revalidate=86400

响应正文application/json

  • videosobject必填
    显示字段
    • totalinteger必填
    • creatorsinteger必填

      How many creators have videos.

    • categoriesobject[]必填
      显示字段
      • idstring必填

        可选值:product-uiphonechartsdiagramskinetic-typeshapesparticlescharactersphotosmusiccode

      • countinteger必填
      • titlestring必填
      • descriptionstring必填
      • urlstringuri必填
    • modelsobject[]必填
      显示字段
      • idstring必填

        可选值:Opus 5.5Fable 5Fable 5.1Fable 5.2Fable 5.5Mythos 5Mythos 5.2GPT-6 AstraGemini 4 ArgonGemini 4 CarbonGemini 4 Neon

      • countinteger必填
      • fullNamestring必填
      • familystring必填
    • colorsobject[]必填
      显示字段
      • idstring必填

        可选值:redorangeyellowgreentealbluepurplepinkbrownblackwhitegray

      • countinteger必填
      • hexstring必填
    • typesFacetCount[]必填
      显示字段
      • idstring必填
      • countinteger必填
    • sortsstring[]必填

      可选值:newestoldest

  • directoriesobject[]必填
    显示字段
    • sectionstring必填

      可选值:toolsskillscreativesextras

    • totalinteger必填
    • filtersFacetCount[]必填
      显示字段
      • idstring必填
      • countinteger必填
    • categoriesFacetCount[]必填
      显示字段
      • idstring必填
      • countinteger必填
    • sortsstring[]必填

      可选值:addedstarsupdatednewestoldest

  • movesobject必填
    显示字段
    • totalinteger必填
    • familiesobject[]必填
      显示字段
      • idstring必填

        可选值:timingtypetransitionsuivectorgenerativecameratexturedatasound

      • countinteger必填

示例

{
  "videos": {
    "total": 0,
    "creators": 0,
    "categories": [
      {
        "id": "product-ui",
        "count": 0,
        "title": "string",
        "description": "string",
        "url": "http://example.com"
      }
    ],
    "models": [
      {
        "id": "Opus 5.5",
        "count": 0,
        "fullName": "string",
        "family": "string"
      }
    ],
    "colors": [
      {
        "id": "red",
        "count": 0,
        "hex": "string"
      }
    ],
    "types": [
      {
        "id": "string",
        "count": 0
      }
    ],
    "sorts": [
      "newest"
    ]
  },
  "directories": [
    {
      "section": "tools",
      "total": 0,
      "filters": [
        {
          "id": "string",
          "count": 0
        }
      ],
      "categories": [
        {
          "id": "string",
          "count": 0
        }
      ],
      "sorts": [
        "added"
      ]
    }
  ],
  "moves": {
    "total": 0,
    "families": [
      {
        "id": "timing",
        "count": 0
      }
    ]
  }
}

400

A parameter is unknown or has a value it can't take.

响应正文application/json

  • errorstring必填

    可选值:invalid_parameter

  • parameterstring必填
  • messagestring必填
  • allowedstring[]

    The values the parameter can take, when it has a fixed set.

示例

{
  "error": "invalid_parameter",
  "parameter": "string",
  "message": "string",
  "allowed": [
    "string"
  ]
}