Search Content
Search for content across the platform by title, description, or author name.
Search Endpoints
There are two ways to search for content:
GET /api/content/search
or with platform ID:
GET /api/content/:PlatformId
Query Parameters
| Parameter | Type | Description |
|---|---|---|
q | string | Search query to match against title, description, or author name |
Example Request
GET /api/content/search?q=tribe
or
GET /api/content/search/36?q=tribe
Response
{
"items": [
{
"id": "number",
"title": "string",
"description": "string",
"type": "string",
"visibility": "string",
"author": {
"id": "number",
"name": "string"
},
"createdAt": "string",
"updatedAt": "string"
}
]
}
Authentication
Authentication token is optional for this endpoint.
Error Handling
| Status Code | Description |
|---|---|
| 400 | Invalid request parameters |
| 500 | Internal server error |