mightstone.services.wiki.models.WikiRevision
- pydantic model mightstone.services.wiki.models.WikiRevision
A Revision description in the Wiki dump
This object contains the source of the page on a given timestamp
Show JSON schema
{ "title": "WikiRevision", "description": "A Revision description in the Wiki dump\n\nThis object contains the source of the page on a given timestamp", "type": "object", "properties": { "id": { "title": "Id", "type": "integer" }, "parent_id": { "title": "Parent Id", "type": "integer" }, "timestamp": { "format": "date-time", "title": "Timestamp", "type": "string" }, "contributor_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Contributor Name" }, "contributor_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Contributor Id" }, "origin": { "title": "Origin", "type": "integer" }, "source": { "title": "Source", "type": "string" } }, "required": [ "id", "parent_id", "timestamp", "contributor_name", "contributor_id", "origin", "source" ] }
- Fields:
- field contributor_id: int | None [Required]
- field contributor_name: str | None [Required]
- field id: int [Required]
- field origin: int [Required]
- field parent_id: int [Required]
- field source: str [Required]
- field timestamp: datetime [Required]
- static from_tag(revision: Tag)