Archive a story
curl --request POST \
--url https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}/archive \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}/archive', 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}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)Stories
Archive a story
POST /v1/projects//articles//archive marks a story archived so it is no longer a live or draft story.
POST
/
v1
/
projects
/
{projectId}
/
articles
/
{articleId}
/
archive
Archive a story
curl --request POST \
--url https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}/archive \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.1-news.app/v1/projects/{projectId}/articles/{articleId}/archive', 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}/archive"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)