This page provides information about the /en/api/content/get
endpoint.
Endpoint Description
The /en/api/content/get
endpoint is designed to retrieve content based on specific criteria. It is commonly used for fetching articles, blog posts, or any type of content from the server.
Usage
To use this endpoint, you need to send a GET request to /en/api/content/get
with the necessary query parameters. Here's an example of how to structure the URL:
/en/api/content/get?category=technology&limit=10
In this example, the request would return the latest 10 technology articles.
Query Parameters
category
: The category of content you want to retrieve. For example,technology
,health
,finance
, etc.limit
: The maximum number of results you want to retrieve. This parameter is optional and defaults to 10 if not specified.
Example Response
[
{
"title": "The Future of Technology",
"author": "Jane Doe",
"date": "2023-01-01",
"content": "This article discusses the future of technology and its impact on society."
},
{
"title": "Health Benefits of Exercise",
"author": "John Smith",
"date": "2023-01-02",
"content": "This article explores the health benefits of regular exercise."
}
]
Related Links
```markdown
<img src="https://cloud-image.ullrai.com/q/technology/" alt="Technology"/>