微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎬

专业视频托管 · 一键OAuth接入

Vimeo · v1.0.4
专业技能 安全 S 级 作者 byungkyu 公开目录收录
3.6k 下载 5 安装 12k 收藏 41 浏览

简介

通过托管OAuth无缝接入Vimeo API,支持视频上传、专辑/文件夹管理、社交互动及社区功能,适合创作者和开发者整合专业视频托管服务。

原始描述

Vimeo API integration with managed OAuth. Video hosting and sharing platform. Use this skill when users want to upload, manage, or organize videos, create sh...

通过你的 Agent 添加

安装目录:vimeo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/vimeo-10950/
Codex CLI~/.codex/skills/vimeo-10950/
DeepSeek Harness~/.agents/skills/vimeo-10950/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心功能

Vimeo Skill是由Maton官方提供的API集成服务,通过托管OAuth代理方式让用户无需直接处理复杂的Vimeo认证流程即可访问完整Vimeo API。核心功能涵盖:视频上传与管理(获取、更新、删除、搜索)、文件夹(Projects)与专辑(Showcases/Albums)的创建与组织、社区互动功能(点赞、稍后观看、关注用户、评论)以及分类和频道浏览。

显著优点

安全架构设计:采用双重代理模式,用户仅需管理Maton API Key,OAuth令牌由Maton安全托管,大幅降低密钥泄露风险。所有API调用均通过TLS 1.2+加密传输至官方可信端点(api.maton.ai、api.vimeo.com),无中间人攻击风险。

完整功能覆盖:文档详尽列出了用户操作、视频CRUD、文件夹/专辑管理、社交功能等全量API端点,并配有Python、JavaScript等多语言示例代码,开发者可快速上手。

明确安全声明:文档明确声明"所有写入操作需用户显式批准",体现负责任的安全实践。

来源高度可信:作者byungkyu隶属Maton官方组织(ClawHub T2级别),Skill通过CLS-Certify S级安全认证(89分),六维检测均无风险发现。

局限性与约束

环境依赖严格:必须预先配置MATON_API_KEY环境变量,且无有效密钥时完全无法使用,对新手配置门槛较高。

视频上传限制:文档明确说明TUS上传协议未覆盖,需额外参考Vimeo官方文档实现视频文件实际上传,仅支持元数据管理。

账户类型限制:Vimeo API的速率限制和功能权限(如私有视频、高级分析)取决于用户的Vimeo账户等级(Free/Plus/Pro/Enterprise),免费账户功能受限。

多连接管理复杂:当用户拥有多个Vimeo账户时,需手动指定Maton-Connection头部,增加了调用复杂度。

适用人群

  • 需要将Vimeo视频管理能力集成到自动化工作流的内容创作者和团队
  • 开发者构建视频资产管理、批量编辑或社区分析工具
  • 企业用户寻求安全的OAuth代理方案,避免直接管理Vimeo访问令牌

常规风险提示

密钥安全管理:MATON_API_KEY是访问用户Vimeo账户的凭证,若在共享环境、代码仓库或日志中泄露,可能导致账户被恶意操作。建议采用密钥管理服务或环境隔离方案。

操作不可逆性:DELETE操作(删除视频、文件夹、评论等)返回204状态码即永久生效,无回收站机制,执行前务必确认目标资源。

速率限制:频繁API调用可能触发Vimeo或Maton的速率限制(429错误),建议实现指数退避重试策略。

OAuth连接失效:若用户撤销Vimeo端授权或令牌过期,需重新通过https://connect.maton.ai完成授权流程。

技能正文


name: vimeo description: | Vimeo API integration with managed OAuth. Video hosting and sharing platform. Use this skill when users want to upload, manage, or organize videos, create showcases/albums, manage folders, or interact with the Vimeo community. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key. metadata: author: maton version: "1.0" clawdbot: emoji: 🧠 homepage: "https://maton.ai" requires: env: - MATON_API_KEY

Vimeo

Access the Vimeo API with managed OAuth authentication. Upload and manage videos, create showcases and folders, manage likes and watch later, and interact with the Vimeo community.

Quick Start

# Get current user info
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/vimeo/me')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://api.maton.ai/vimeo/{resource}

Maton proxies requests to api.vimeo.com and automatically injects your OAuth token.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Vimeo OAuth connections at https://api.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=vimeo&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'vimeo'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "{connection_id}",
    "status": "ACTIVE",
    "creation_time": "2026-02-09T08:56:53.522100Z",
    "last_updated_time": "2026-02-09T08:58:39.407864Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "vimeo",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple Vimeo connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/vimeo/me')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If you have multiple connections, always include this header to ensure requests go to the intended account.

Security & Permissions

  • Access is scoped to videos, folders, albums, showcases, and video settings within the connected Vimeo account.
  • All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.

API Reference

User Operations

Get Current User
GET /vimeo/me

Response:

{
  "uri": "/users/254399456",
  "name": "Chris",
  "link": "https://vimeo.com/user254399456",
  "account": "free",
  "created_time": "2026-02-09T07:00:20+00:00",
  "pictures": {...},
  "metadata": {
    "connections": {
      "videos": {"uri": "/users/254399456/videos", "total": 2},
      "albums": {"uri": "/users/254399456/albums", "total": 0},
      "folders": {"uri": "/users/254399456/folders", "total": 0},
      "likes": {"uri": "/users/254399456/likes", "total": 0},
      "followers": {"uri": "/users/254399456/followers", "total": 0},
      "following": {"uri": "/users/254399456/following", "total": 0}
    }
  }
}
Get User by ID
GET /vimeo/users/{user_id}
Get User Feed
GET /vimeo/me/feed

Video Operations

List User Videos
GET /vimeo/me/videos

Response:

{
  "total": 2,
  "page": 1,
  "per_page": 25,
  "paging": {
    "next": null,
    "previous": null,
    "first": "/me/videos?page=1",
    "last": "/me/videos?page=1"
  },
  "data": [
    {
      "uri": "/videos/1163160198",
      "name": "My Video",
      "description": "Video description",
      "link": "https://vimeo.com/1163160198",
      "duration": 20,
      "width": 1920,
      "height": 1080,
      "created_time": "2026-02-09T07:05:00+00:00"
    }
  ]
}
Get Video
GET /vimeo/videos/{video_id}
Search Videos
GET /vimeo/videos?query=nature&per_page=10

Query parameters:

  • query - Search query
  • per_page - Results per page (max 100)
  • page - Page number
  • sort - Sort order: relevant, date, alphabetical, plays, likes, comments, duration
  • direction - Sort direction: asc, desc
Update Video
PATCH /vimeo/videos/{video_id}
Content-Type: application/json

{
  "name": "New Video Title",
  "description": "Updated description"
}
Delete Video
DELETE /vimeo/videos/{video_id}

Returns 204 No Content on success.

Folder Operations (Projects)

List Folders
GET /vimeo/me/folders

Response:

{
  "total": 1,
  "page": 1,
  "per_page": 25,
  "data": [
    {
      "uri": "/users/254399456/projects/28177219",
      "name": "My Folder",
      "created_time": "2026-02-09T08:59:20+00:00",
      "privacy": {"view": "nobody"},
      "manage_link": "https://vimeo.com/user/254399456/folder/28177219"
    }
  ]
}
Create Folder
POST /vimeo/me/folders
Content-Type: application/json

{
  "name": "New Folder"
}
Update Folder
PATCH /vimeo/me/projects/{project_id}
Content-Type: application/json

{
  "name": "Renamed Folder"
}
Delete Folder
DELETE /vimeo/me/projects/{project_id}

Returns 204 No Content on success.

Get Folder Videos
GET /vimeo/me/projects/{project_id}/videos
Add Video to Folder
PUT /vimeo/me/projects/{project_id}/videos/{video_id}

Returns 204 No Content on success.

Remove Video from Folder
DELETE /vimeo/me/projects/{project_id}/videos/{video_id}

Album Operations (Showcases)

List Albums
GET /vimeo/me/albums
Create Album
POST /vimeo/me/albums
Content-Type: application/json

{
  "name": "My Showcase",
  "description": "A collection of videos"
}

Response:

{
  "uri": "/users/254399456/albums/12099981",
  "name": "My Showcase",
  "description": "A collection of videos",
  "created_time": "2026-02-09T09:00:00+00:00"
}
Update Album
PATCH /vimeo/me/albums/{album_id}
Content-Type: application/json

{
  "name": "Updated Showcase Name"
}
Delete Album
DELETE /vimeo/me/albums/{album_id}

Returns 204 No Content on success.

Get Album Videos
GET /vimeo/me/albums/{album_id}/videos
Add Video to Album
PUT /vimeo/me/albums/{album_id}/videos/{video_id}

Returns 204 No Content on success.

Remove Video from Album
DELETE /vimeo/me/albums/{album_id}/videos/{video_id}

Comments

Get Video Comments
GET /vimeo/videos/{video_id}/comments
Add Comment
POST /vimeo/videos/{video_id}/comments
Content-Type: application/json

{
  "text": "Great video!"
}

Response:

{
  "uri": "/videos/1163160198/comments/21372988",
  "text": "Great video!",
  "created_on": "2026-02-09T09:05:00+00:00"
}
Delete Comment
DELETE /vimeo/videos/{video_id}/comments/{comment_id}

Returns 204 No Content on success.

Likes

Get Liked Videos
GET /vimeo/me/likes
Like a Video
PUT /vimeo/me/likes/{video_id}

Returns 204 No Content on success.

Unlike a Video
DELETE /vimeo/me/likes/{video_id}

Returns 204 No Content on success.

Watch Later

Get Watch Later List
GET /vimeo/me/watchlater
Add to Watch Later
PUT /vimeo/me/watchlater/{video_id}

Returns 204 No Content on success.

Remove from Watch Later
DELETE /vimeo/me/watchlater/{video_id}

Returns 204 No Content on success.

Followers and Following

Get Followers
GET /vimeo/me/followers
Get Following
GET /vimeo/me/following
Follow a User
PUT /vimeo/me/following/{user_id}
Unfollow a User
DELETE /vimeo/me/following/{user_id}

Channels and Categories

List All Channels
GET /vimeo/channels
Get Channel
GET /vimeo/channels/{channel_id}
List All Categories
GET /vimeo/categories

Response:

{
  "total": 10,
  "data": [
    {"uri": "/categories/animation", "name": "Animation"},
    {"uri": "/categories/comedy", "name": "Comedy"},
    {"uri": "/categories/documentary", "name": "Documentary"}
  ]
}
Get Category Videos
GET /vimeo/categories/{category}/videos

Pagination

Vimeo uses page-based pagination:

GET /vimeo/me/videos?page=1&per_page=25

Response:

{
  "total": 50,
  "page": 1,
  "per_page": 25,
  "paging": {
    "next": "/me/videos?page=2",
    "previous": null,
    "first": "/me/videos?page=1",
    "last": "/me/videos?page=2"
  },
  "data": [...]
}

Parameters:

  • page - Page number (default 1)
  • per_page - Results per page (default 25, max 100)

Code Examples

JavaScript

const response = await fetch(
  'https://api.maton.ai/vimeo/me/videos',
  {
    headers: {
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    }
  }
);
const data = await response.json();

Python

import os
import requests

response = requests.get(
    'https://api.maton.ai/vimeo/me/videos',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'}
)
data = response.json()

Python (Create Folder)

import os
import requests

response = requests.post(
    'https://api.maton.ai/vimeo/me/folders',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={'name': 'New Folder'}
)
folder = response.json()
print(f"Created folder: {folder['uri']}")

Python (Update Video)

import os
import requests

video_id = "1163160198"
response = requests.patch(
    f'https://api.maton.ai/vimeo/videos/{video_id}',
    headers={
        'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}',
        'Content-Type': 'application/json'
    },
    json={
        'name': 'Updated Title',
        'description': 'New description'
    }
)
video = response.json()
print(f"Updated video: {video['name']}")

Notes

  • Video IDs are numeric (e.g., 1163160198)
  • User IDs are numeric (e.g., 254399456)
  • Folders are called "projects" in the API paths
  • Albums are also known as "Showcases" in the Vimeo UI
  • DELETE and PUT operations return 204 No Content on success
  • Video uploads require the TUS protocol (not covered here)
  • Rate limits vary by account type
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments

Error Handling

Status Meaning
400 Missing Vimeo connection or bad request
401 Invalid or missing Maton API key
403 Insufficient permissions or scope
404 Resource not found
429 Rate limited
4xx/5xx Passthrough error from Vimeo API

Vimeo errors include detailed messages:

{
  "error": "Your access token does not have the \"create\" scope"
}

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

  1. Ensure your URL path starts with vimeo. For example:
  • Correct: https://api.maton.ai/vimeo/me/videos
  • Incorrect: https://api.maton.ai/me/videos

Resources

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

videooauthapi-integrationcontent-managementsocial-mediamaton-proxyvimeo

同类 Skill