curl --request GET \
--url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content/{id}Retrieve a specific content item by ID
curl --request GET \
--url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/content/{id}{
"id": "cont124",
"typeId": "ct123",
"typeVersion": 2,
"version": 1,
"lastPublishedVersion": 1,
"packageVersion": "1.0.0",
"name": "Introduction to Metabind",
"description": "Getting Started with Metabind. A comprehensive guide...",
"status": "published",
"isTemplate": false,
"content": {
"title": "Getting Started with Metabind",
"subtitle": "Your complete guide to the platform",
"heroImage": "asset124",
"author": "Jane Doe",
"publishDate": "2024-03-21",
"components": [
{
"type": "ArticleParagraph",
"text": "Metabind is a powerful platform that revolutionizes how teams collaborate..."
},
{
"type": "ArticleHeading",
"text": "What is Metabind?",
"level": 2
},
{
"type": "ArticleParagraph",
"text": "At its core, Metabind provides a unified environment..."
},
{
"type": "ArticleImage",
"image": "asset125",
"caption": "The Metabind dashboard showing key features",
"alt": "Screenshot of Metabind dashboard"
}
]
},
"compiled": "const body = () => { const props = {...}; return ArticleLayout(props); }",
"tags": ["Technology", "Tutorial"],
"metadata": {
"author": "[email protected]",
"publishedAt": "2024-03-21T14:30:00Z",
"publishedBy": "user456",
"locale": "en-US"
},
"folderId": "folder123",
"organizationId": "org123",
"projectId": "proj456",
"createdAt": "2024-03-21T10:00:00Z",
"updatedAt": "2024-03-21T14:30:00Z",
"createdBy": "user456",
"updatedBy": "user456"
}
{
"error": {
"code": "NOT_FOUND",
"message": "Content not found",
"details": {
"id": "cont124"
}
}
}
curl -X GET "https://api.metabind.ai/v1/organizations/org123/projects/proj456/content/cont124" \
-H "Authorization: Bearer YOUR_API_KEY"