Skip to main content

getAllArticles

The getAllArticles API endpoint retrieves all articles available in the collection.

Endpoint

  • Route: /apiv1/getAllArticles
  • Method: GET
  • Rate Limit: 25 requests per minute
  • Cache Timeout: 30 seconds

Request

No parameters are required for this endpoint.

Example

GET /apiv1/getAllArticles

Response

Success Response

  • Status Code: 200 OK

  • Body: JSON array containing all articles.

      [
    {
    "_id": {
    "$oid":"(ArticleID)"
    },
    "Title": "Example Article",
    "Author": "Name",
    "Content": "Article content",
    "Tags": [
    "tag1",
    "tag2",
    "tag3"
    ],
    "imageUrl": "https://ep-img-bucket.s3.eu-central-1.amazonaws.com/(ArticleID)",
    "shortContent": "fdfff",
    "special": false,
    "userID": "HxMC7cjzetf3tNN7INUjkmLO4HC3"
    }
    {
    "_id": {
    "$oid":"(ArticleID)"
    },
    "Title": "Example Article",
    "Author": "Name",
    "Content": "Article content",
    "Tags": [
    "tag1",
    "tag2",
    "tag3"
    ],
    "imageUrl": "https://ep-img-bucket.s3.eu-central-1.amazonaws.com/(ArticleID)",
    "shortContent": "fdfff",
    "special": false,
    "userID": "HxMC7cjzetf3tNN7INUjkmLO4HC3"
    }
    ]