Add a new Prebunk
Add a new article Prebunk
Request
POST https://api.factcricis.efcsn.com/prebunk/
Request body
The request body takes a complete Prebunk resource, containing the following writable properties:
{
"articleBody": "string",
"claimReviews": [
{
"associatedClaimReview": [
"url"
],
"claimReviewed": "string",
"claimReviewedNative": "string",
"reviewRating": "string"
}
],
"contentLocation": [
"string"
],
"countryOfOrigin": "string",
"evidences": {
"title": "string",
"url": "url"
},
"headline": "string",
"headlineNative": "string",
"image": "url",
"inLanguage": "string",
"keywords": [
"string"
],
"topics": [
"string"
],
"type": "string",
"url": "url"
}
Properties
Name | Type | Description | Additional |
---|---|---|---|
articleBody | string |
Text of the article article |
Optional |
claimReviews[] | array |
A list of fact-checking reviews of claims made |
|
claimReviews[].associatedClaimReview[] | array of url |
URL of related fact-checks or debunks |
Optional |
claimReviews[].claimReviewed | string |
Text of the claim being reviewed in English |
|
claimReviews[].claimReviewedNative | string |
Text of the claim being reviewed in native language |
|
claimReviews[].reviewRating | string |
Review rating |
|
contentLocation[] | array of string |
Country/Countries identified in article Possible values are:
|
Optional |
countryOfOrigin | string |
Country of the publisher that created the article Possible values are:
|
Optional |
evidences | object | Evidences | Optional |
evidences.title | string |
Title evidence |
Optional |
evidences.url | url |
Url evidence |
Optional |
headline | string |
Title of the article in English |
Optional |
headlineNative | string |
Title of the article article in native language |
|
image | url |
Image representing the article |
Optional |
inLanguage | string |
Language of the article Possible values are:
|
Optional |
keywords[] | array of string |
List of keywords |
Optional |
topics[] | array of string |
Topics of the article Possible values are:
|
|
type | string |
Type of document. Possible values are:
|
|
url | url |
Url article |
Authorization
This request requires the use of one of following authorization methods:
OAuth2
.
For OAuth 2 authorization, the following scopes are required:
Scope | Description |
---|---|
read:prebunks | read your prebunks |
write:prebunks | modify prebunks in your account |
Response
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK The article has been successfully create |
|
400 | Bad Request The article is not a valid object |
|
401 | Unauthorized The user is not authenticated |
|
409 | Conflict The article already exists |