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-ControlstringBrowsers 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-typeshapesparticlescharactersphotosmusiccodecountinteger必須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 Neoncountinteger必須fullNamestring必須familystring必須
colorsobject[]必須フィールドを表示
idstring必須値:
redorangeyellowgreentealbluepurplepinkbrownblackwhitegraycountinteger必須hexstring必須
typesFacetCount[]必須フィールドを表示
idstring必須countinteger必須
sortsstring[]必須値:
newestoldest
directoriesobject[]必須フィールドを表示
sectionstring必須値:
toolsskillscreativesextrastotalinteger必須filtersFacetCount[]必須フィールドを表示
idstring必須countinteger必須
categoriesFacetCount[]必須フィールドを表示
idstring必須countinteger必須
sortsstring[]必須値:
addedstarsupdatednewestoldest
movesobject必須フィールドを表示
totalinteger必須familiesobject[]必須フィールドを表示
idstring必須値:
timingtypetransitionsuivectorgenerativecameratexturedatasoundcountinteger必須
例
{
"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_parameterparameterstring必須messagestring必須allowedstring[]The values the parameter can take, when it has a fixed set.
例
{
"error": "invalid_parameter",
"parameter": "string",
"message": "string",
"allowed": [
"string"
]
}