Model articles
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | x | x | | |
| all | | | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| author | String | | | | x | | |
| avg_secs_engaged | Number | | | | | | |
| comment_count | Number | | | | | | |
| comment_status | String | | | | | | |
| content | String | | | | | | |
| createdAt | Date | | | | | | |
| custom_section_label | String | | | | | | |
| date_modified | Date | | | | x | | |
| date_published | Date | | | | x | | |
| engagement_rate | Number | | | | | | |
| excerpt | String | | | | | | |
| google_categories | Array | | | [Function] | | | |
| google_entities | Array of Mixed | | | [Function] | | | |
| google_sentiment.documentSentiment.magnitude | Number | | | | | | |
| google_sentiment.documentSentiment.score | Number | | | | | | |
| google_sentiment.language | String | | | | | | |
| google_sentiment.sentences | Array of Mixed | | | [Function] | | | |
| hits | Array of Mixed | | | [Function] | | | |
| img_full | String | | | | | | |
| img_medium | String | | | | | | |
| img_thumbnail | String | | | | | | |
| logged_in_hits | Array of Mixed | | | [Function] | | | |
| newsletter_hits | Array of Mixed | | | [Function] | | | |
| post_id | Number | | | | x | x | |
| primary_section | String | | | | x | | |
| readers_led_to_subscription | Array of Mixed | | | [Function] | | | |
| returning_readers | Number | | | | | | |
| sections | Array of String | | | [Function] | | | |
| status | String | | | | | | |
| subscriber_hits | Array of Mixed | | | [Function] | | | |
| summary | String | | | | | | |
| tags | Array of String | | | [Function] | | | |
| terms | Array of String | | | [Function] | | | |
| title | String | | | | | | |
| type | String | | | | | | |
| unique_hits | Array of Mixed | | | [Function] | | | |
| updatedAt | Date | | | | | | |
| urlid | String | | | | x | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}author
{
"path": "author",
"instance": "String",
"options": {
"index": true
},
"validators": []
}avg_secs_engaged
{
"path": "avg_secs_engaged",
"instance": "Number",
"options": {},
"validators": []
}comment_count
{
"path": "comment_count",
"instance": "Number",
"options": {},
"validators": []
}comment_status
{
"path": "comment_status",
"instance": "String",
"options": {},
"validators": []
}content
{
"path": "content",
"instance": "String",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}custom_section_label
{
"path": "custom_section_label",
"instance": "String",
"options": {},
"validators": []
}date_modified
{
"path": "date_modified",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}date_published
{
"path": "date_published",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}engagement_rate
{
"path": "engagement_rate",
"instance": "Number",
"options": {},
"validators": []
}excerpt
{
"path": "excerpt",
"instance": "String",
"options": {},
"validators": []
}google_categories
{
"path": "google_categories",
"instance": "Array",
"options": {
"type": [
{}
]
},
"validators": [],
"defaultValue": "[Function]"
}google_entities
{
"path": "google_entities",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}google_sentiment.documentSentiment.magnitude
{
"path": "google_sentiment.documentSentiment.magnitude",
"instance": "Number",
"options": {},
"validators": []
}google_sentiment.documentSentiment.score
{
"path": "google_sentiment.documentSentiment.score",
"instance": "Number",
"options": {},
"validators": []
}google_sentiment.language
{
"path": "google_sentiment.language",
"instance": "String",
"options": {},
"validators": []
}google_sentiment.sentences
{
"path": "google_sentiment.sentences",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}hits
{
"path": "hits",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}img_full
{
"path": "img_full",
"instance": "String",
"options": {},
"validators": []
}img_medium
{
"path": "img_medium",
"instance": "String",
"options": {},
"validators": []
}img_thumbnail
{
"path": "img_thumbnail",
"instance": "String",
"options": {},
"validators": []
}logged_in_hits
{
"path": "logged_in_hits",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}newsletter_hits
{
"path": "newsletter_hits",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}post_id
{
"path": "post_id",
"instance": "Number",
"options": {
"index": true,
"unique": true
},
"validators": []
}primary_section
{
"path": "primary_section",
"instance": "String",
"options": {
"index": true
},
"validators": []
}readers_led_to_subscription
{
"path": "readers_led_to_subscription",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}returning_readers
{
"path": "returning_readers",
"instance": "Number",
"options": {},
"validators": []
}sections
{
"path": "sections",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}status
{
"path": "status",
"instance": "String",
"options": {},
"validators": []
}subscriber_hits
{
"path": "subscriber_hits",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}summary
{
"path": "summary",
"instance": "String",
"options": {},
"validators": []
}tags
{
"path": "tags",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}terms
{
"path": "terms",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}title
{
"path": "title",
"instance": "String",
"options": {},
"validators": []
}type
{
"path": "type",
"instance": "String",
"options": {},
"validators": []
}unique_hits
{
"path": "unique_hits",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "Mixed"
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}urlid
{
"path": "urlid",
"instance": "String",
"options": {
"index": true
},
"validators": []
}