{"swagger": "2.0", "info": {"title": "WhoColor API", "version": "1.0.0-beta", "description": "Documentation can be found at [api.wikiwho.net](https://api.wikiwho.net).\n\n### **Created by **[GESIS - Leibniz Institute for the Social Sciences, CSS group](https://www.gesis.org/en/institute/departments/computational-social-science/)\n\nData from this API is published under the CC-BY-SA 4.0 license. Original revision data is retrieved from Wikimedia servers and the terms for reuse put forth by Wikimedia apply."}, "host": "www.wikiwho.net", "schemes": ["https"], "paths": {"/{page_title}/": {"get": {"description": "Outputs the extended HTML of the most recent (last) revision of the given article, as available on Wikipedia.\n\n", "produces": ["application/json"], "parameters": [{"description": "The title of the requested article", "in": "path", "name": "page_title", "required": true, "type": "string"}], "responses": {"200": {"description": "OK", "schema": {"required": ["extended_html", "page_title", "success", "present_editors", "tokens", "rev_id", "biggest_conflict_score", "revisions"], "properties": {"page_title": {"type": "string", "example": "Dinar"}, "extended_html": {"type": "string", "example": "seven mostly "}, "success": {"type": "boolean", "example": true}, "present_editors": {"type": "array", "items": {"allOf": [{"required": ["editor_name"], "properties": {"editor_name": {"type": "string"}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["authorship_score"], "properties": {"authorship_score": {"type": "number", "format": "double"}}}], "example": ["Kanguole", "5563803", 19.4672131147541]}}, "tokens": {"type": "array", "items": {"allOf": [{"required": ["conflict_score"], "properties": {"conflict_score": {"type": "integer"}}}, {"required": ["str"], "properties": {"str": {"type": "string"}}}, {"required": ["o_rev_id"], "properties": {"o_rev_id": {"type": "integer"}}}, {"required": ["in"], "properties": {"in": {"type": "array", "items": {"type": "integer"}}}}, {"required": ["out"], "properties": {"out": {"type": "array", "items": {"type": "integer"}}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["age"], "properties": {"age": {"type": "number", "format": "double"}}}], "example": [1, "{{", 294212239, [530917836], [343655203], "773061", 276366173.781772]}}, "rev_id": {"type": "integer", "format": "int64", "example": 56498152}, "biggest_conflict_score": {"type": "integer", "format": "int64", "example": 11}, "revisions": {"required": ["rev_id"], "type": "object", "properties": {"rev_id": {"allOf": [{"required": ["timestamp"], "properties": {"timestamp": {"type": "string"}}}, {"required": ["parent_id"], "properties": {"parent_id": {"type": "integer", "format": "int64"}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["editor_name"], "properties": {"editor_name": {"type": "string"}}}]}}, "example": {"1048945": ["2003-06-17T10:45:57Z", 0, "5f340c8127b65dc0ee98cc2bd8708e75", "0|157.193.172.88"]}}}}}, "400": {"description": "BAD REQUEST"}, "503": {"description": "WP SERVICE UNAVAILABLE"}}, "tags": ["Extended html"], "summary": "Get the extended html of last revision of an article"}}, "/{page_title}/{rev_id}/": {"get": {"description": "Outputs the extended HTML of the given revision.", "produces": ["application/json"], "parameters": [{"description": "The title of the requested article", "in": "path", "name": "page_title", "required": true, "type": "string"}, {"description": "Revision ID to get extended html for", "in": "path", "name": "rev_id", "required": true, "type": "integer"}], "responses": {"200": {"description": "OK", "schema": {"required": ["extended_html", "page_title", "success", "present_editors", "tokens", "rev_id", "biggest_conflict_score", "revisions"], "properties": {"page_title": {"type": "string", "example": "Dinar"}, "extended_html": {"type": "string", "example": "seven mostly "}, "success": {"type": "boolean", "example": true}, "present_editors": {"type": "array", "items": {"allOf": [{"required": ["editor_name"], "properties": {"editor_name": {"type": "string"}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["authorship_score"], "properties": {"authorship_score": {"type": "number", "format": "double"}}}], "example": ["Kanguole", "5563803", 19.4672131147541]}}, "tokens": {"type": "array", "items": {"allOf": [{"required": ["conflict_score"], "properties": {"conflict_score": {"type": "integer"}}}, {"required": ["str"], "properties": {"str": {"type": "string"}}}, {"required": ["o_rev_id"], "properties": {"o_rev_id": {"type": "integer"}}}, {"required": ["in"], "properties": {"in": {"type": "array", "items": {"type": "integer"}}}}, {"required": ["out"], "properties": {"out": {"type": "array", "items": {"type": "integer"}}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["age"], "properties": {"age": {"type": "number", "format": "double"}}}], "example": [1, "{{", 294212239, [530917836], [343655203], "773061", 276366173.781772]}}, "rev_id": {"type": "integer", "format": "int64", "example": 56498152}, "biggest_conflict_score": {"type": "integer", "format": "int64", "example": 11}, "revisions": {"required": ["rev_id"], "type": "object", "properties": {"rev_id": {"allOf": [{"required": ["timestamp"], "properties": {"timestamp": {"type": "string"}}}, {"required": ["parent_id"], "properties": {"parent_id": {"type": "integer", "format": "int64"}}}, {"required": ["class_name"], "properties": {"class_name": {"type": "string"}}}, {"required": ["editor_name"], "properties": {"editor_name": {"type": "string"}}}]}}, "example": {"1048945": ["2003-06-17T10:45:57Z", 0, "5f340c8127b65dc0ee98cc2bd8708e75", "0|157.193.172.88"]}}}}}, "400": {"description": "BAD REQUEST"}, "503": {"description": "WP SERVICE UNAVAILABLE"}}, "tags": ["Extended html"], "summary": "Get the extended html of a specific revision of an article"}}}, "securityDefinitions": {"basic": {"type": "basic"}}, "basePath": "/de/whocolor/v1.0.0-beta"}