curl --request POST \
--url http://api.superwize.ai/api/news/getArticleSources \
--header 'Content-Type: application/json' \
--data '
{
"articleId": "obj_01JHKZ0PV2WX123456789"
}
'[
{
"id": "obj_01JHKZ0PV2WX123456789",
"articleId": "obj_01JHKZ0PV2WX123456789",
"sourceName": "Primary Key",
"sourceUrl": "https://cdn.superwize.ai/assets/sample.png",
"sourceDomain": "dawn.com",
"language": "en",
"position": 123,
"createdAt": 1767225600000,
"updatedAt": 1767225600000
}
]Returns ordered source citations for a specific news article.
curl --request POST \
--url http://api.superwize.ai/api/news/getArticleSources \
--header 'Content-Type: application/json' \
--data '
{
"articleId": "obj_01JHKZ0PV2WX123456789"
}
'[
{
"id": "obj_01JHKZ0PV2WX123456789",
"articleId": "obj_01JHKZ0PV2WX123456789",
"sourceName": "Primary Key",
"sourceUrl": "https://cdn.superwize.ai/assets/sample.png",
"sourceDomain": "dawn.com",
"language": "en",
"position": 123,
"createdAt": 1767225600000,
"updatedAt": 1767225600000
}
]1Article sources returned.