Get A Single Article

Get Article

GET {{URL}}/api/v1/articles/:article_id

This endpoint allows you to get a specific article

Path Parameters

Name
Type
Description

article_id

string

The ID of the article to get.

{
    "status": "success",
    "message": "Article retrived successfully",
    "data": {
        "image": {
            "imageUrl": "http://res.cloudinary.com/aura-magazine/image/upload/v1619457274/articles/JPEG_image_22_vqdinp.jpg",
            "publicId": "articles/JPEG_image_22_vqdinp"
        },
        "interests": [
            "607c1b4e70e2f60022703879",
            "607c1b6970e2f6002270387b",
            "607c1acb70e2f60022703875"
        ],
        "isPublished": true,
        "mode": "portrait",
        "_id": "6086f5584eb1a500225c2b4e",
        "category": {
            "_id": "607be83e18d64a0022f3045f",
            "name": "FASHION"
        },
        "author": {
            "_id": "608061131d9aa3a08abd6fee",
            "email": "[email protected]",
            "username": "dropcode-tech"
        },
        "title": "Iverson sings music with wizkid and is nomitted best new act in the grammy's  ",
        "content": "<p>lemme tell you when iverson was a star boy, he was so awesomeall the girls loves him </p><p>and they sing two beautiful songs together</p>",
        "createdAt": "2021-04-26T17:16:08.461Z",
        "slug": "iverson-sings-music-with-wizkid-and-is-nomitted-best-new-act-in-the-grammy's",
        "__v": 0
    }
}

Last updated

Was this helpful?