内容丰富的
- 作者仓库星标 0
- 作者仓库 skills-registry
- 领域
- 工程开发
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @tomevault-io · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Contentful REST API Guide
Language-agnostic guide for Contentful APIs using HTTP/curl.
## Shared References
- **[Authentication](references/authentication.md)** — Token types, auth headers, API base URLs (US/EU)
- **[HTTP Conventions](references/http-conventions.md)** — Version locking, rate limits, pagination, errors, locale structure
## Content Management API (CMA)
Read/write API for managing content, content types, assets, and environments.
**Start here**: [references/content-management/overview.md](references/content-management/overview.md)
- [**entries.md**](references/content-management/entries.md) — CRUD, publish/unpublish, versioning, query parameters
- [**content-types.md**](references/content-management/content-types.md) — Define/update content models, field types, validations
- [**assets.md**](references/content-management/assets.md) — Upload, process, publish media files
- [**environments.md**](references/content-management/environments.md) — Create, clone, manage environments and aliases
## Content Delivery API (CDA)
Read-only API for fetching published content.
**Start here**: [references/content-delivery/overview.md](references/content-delivery/overview.md)
- [**querying.md**](references/content-delivery/querying.md) — Filters, search operators, pagination, ordering
- [**includes-links.md**](references/content-delivery/includes-links.md) — Include parameter, link resolution
- [**localization.md**](references/content-delivery/localization.md) — Locale parameter, fallback chains
- [**sync.md**](references/content-delivery/sync.md) — Incremental content synchronization
## Content Preview API
Draft + published content via same CDA endpoints, different host/token.
**Reference**: [references/content-preview/overview.md](references/content-preview/overview.md)
## Images API
On-the-fly image transformations via URL parameters. No authentication needed.
**Reference**: [references/images/overview.md](references/images/overview.md)
## GraphQL API
Query content via GraphQL with CDA tokens.
**Reference**: [references/graphql/overview.md](references/graphql/overview.md)
## Quick Reference
```bash
# CMA: Create a draft entry
curl -X POST https://api.contentful.com/spaces/{space_id}/environments/{env_id}/entries \
-H "Authorization: Bearer {cma_token}" \
-H "Content-Type: application/vnd.contentful.management.v1+json" \
-H "X-Contentful-Content-Type: blogPost" \
-d '{"fields":{"title":{"en-US":"Hello"}}}'
# Then publish: PUT .../entries/{id}/published with X-Contentful-Version header
# CDA: Fetch entries
curl "https://cdn.contentful.com/spaces/{space_id}/environments/{env_id}/entries?content_type=blogPost" \
-H "Authorization: Bearer {cda_token}"
```
---
> Source: [contentful/skills](https://github.com/contentful/skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->
章节与文件索引
按说明文件中的顺序排列。
共享参考文献
内容管理 API (CMA)
内容交付 API (CDA)
内容预览API
图片API
文件/命令 -> HTTP/curl. · references/authentication.md · US/EU · references/http-conventions.md · Read/write · references/content-management/overview.md · entries.md · references/content-management/entries.md
内容校验值 -> ce309de3e721
当前原文的自动摘译,尚未人工审校。
共享参考文献
身份验证 — 令牌类型、身份验证标头、API 基本 URL(美国/欧盟) HTTP 约定 — 版本锁定、速率限制、分页、错误、区域设置结构
内容管理 API (CMA)
用于管理内容、内容类型、资产和环境的读/写 API。从这里开始:references/content-management/overview.mdentries.md — CRUD、发布/取消发布、版本控制、查询参数 content-types.md — 定义/更新内容模型、字段类型、验证 asset.md — 上传、处理、发布媒体文件
内容交付 API (CDA)
用于获取已发布内容的只读 API。从这里开始:references/content-delivery/overview.md querying.md — 过滤器、搜索运算符、分页、排序includes-links.md — 包含参数、链接解析 locale.md — 语言环境参数、后备链
内容预览API
通过相同的 CDA 端点、不同的主机/令牌草稿+发布内容。参考:references/content-preview/overview.md
图片API
通过 URL 参数进行动态图像转换。无需身份验证。参考:references/images/overview.md