Get a story
curl --request GET \
--url https://api.1-news.app/v1/projects/{projectId}/articles/{articleId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"article": {}
}Stories
Get a story
GET /v1/projects//articles/ returns one story, including its body blocks, cover, and SEO fields.
GET
/
v1
/
projects
/
{projectId}
/
articles
/
{articleId}
Get a story
curl --request GET \
--url https://api.1-news.app/v1/projects/{projectId}/articles/{articleId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"article": {}
}