Documentation ¶
Overview ¶
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Wikimedia REST API * * This API provides cacheable and straightforward access to Wikimedia content and data, in machine-readable formats. ### Global Rules - Limit your clients to no more than 200 requests/s to this API. Each API endpoint's documentation may detail more specific usage limits. - Set a unique `User-Agent` or `Api-User-Agent` header that allows us to contact you quickly. Email addresses or URLs of contact pages work well. By using this API, you agree to Wikimedia's [Terms of Use](https://wikimediafoundation.org/wiki/Terms_of_Use) and [Privacy Policy](https://wikimediafoundation.org/wiki/Privacy_policy). Unless otherwise specified in the endpoint documentation below, content accessed via this API is licensed under the [CC-BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) and [GFDL](https://www.gnu.org/copyleft/fdl.html) licenses, and you irrevocably agree to release modifications or additions made through this API under these licenses. See https://www.mediawiki.org/wiki/REST_API for background and details. ### Endpoint documentation Please consult each endpoint's documentation for details on: - Licensing information for the specific type of content and data served via the endpoint. - Stability markers to inform you about development status and change policy, according to [our API version policy](https://www.mediawiki.org/wiki/API_versioning). - Endpoint specific usage limits. * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Action
- type Announcement
- type AnnouncementsResponse
- type BasicAuth
- type Batch
- type CheckTypeBody
- type CitationApiGetCitationOpts
- type CitationApiService
- type Configuration
- type CxDict
- type CxDictTranslations
- type CxMt
- type DataParsoid
- type EntriesBatchBody
- type Feed
- type FeedApiService
- func (a *FeedApiService) AggregatedFeed(ctx context.Context, yyyy string, mm string, dd string) (Feed, *http.Response, error)
- func (a *FeedApiService) FeedAnnouncementsGet(ctx context.Context) (AnnouncementsResponse, *http.Response, error)
- func (a *FeedApiService) OnThisDay(ctx context.Context, type_ string, mm string, dd string) (OnthisdayResponse, *http.Response, error)
- type FromFromBody
- type FromProviderBody
- type GenericSwaggerError
- type HtmlTitleBody
- type HtmlTitleBody1
- type Image
- type ImageDescription
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse2002
- type InlineResponse2003
- type InlineResponse2004
- type InlineResponse2005
- type InlineResponse2005Batch
- type InlineResponse2006
- type LintTitleBody
- type ListCreateBatch
- type ListEntryRead
- type ListEntryWrite
- type ListId
- type ListRead
- type ListWrite
- type Listing
- type ListingLinks
- type ListingLinksNext
- type MathApiService
- func (a *MathApiService) MediaMathCheckTypePost(ctx context.Context, q string, type_ string) (interface{}, *http.Response, error)
- func (a *MathApiService) MediaMathFormulaHashGet(ctx context.Context, hash string) (interface{}, *http.Response, error)
- func (a *MathApiService) MediaMathRenderFormatHashGet(ctx context.Context, format string, hash string) (string, *http.Response, error)
- type MediaItem
- type MediaItemCaption
- type MediaItemOriginal
- type MediaList
- type MobileApiGetSectionsLeadOpts
- type MobileApiGetSectionsLeadWithRevisionOpts
- type MobileApiGetSectionsOpts
- type MobileApiGetSectionsRemainingOpts
- type MobileApiGetSectionsRemainingWithRevisionOpts
- type MobileApiGetSectionsWithRevisionOpts
- type MobileApiService
- func (a *MobileApiService) DataCssMobileTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
- func (a *MobileApiService) DataI18nTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
- func (a *MobileApiService) DataJavascriptMobileTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSections(ctx context.Context, title string, localVarOptionals *MobileApiGetSectionsOpts) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSectionsLead(ctx context.Context, title string, ...) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSectionsLeadWithRevision(ctx context.Context, title string, revision int32, ...) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSectionsRemaining(ctx context.Context, title string, ...) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSectionsRemainingWithRevision(ctx context.Context, title string, revision int32, ...) (interface{}, *http.Response, error)
- func (a *MobileApiService) GetSectionsWithRevision(ctx context.Context, title string, revision int32, ...) (interface{}, *http.Response, error)
- type MobilehtmlTitleBody
- type MorelikeResultInner
- type Mostread
- type MostreadArticle
- type NewsItem
- type OfflineApiService
- type OnthisdayInner
- type OnthisdayResponse
- type Originalimage
- type PageContentApiGetContentMediaListOpts
- type PageContentApiGetContentMobileHtmlOpts
- type PageContentApiGetContentWithRevisionMediaListOpts
- type PageContentApiGetContentWithRevisionMobileHtmlOpts
- type PageContentApiGetFormatRevisionOpts
- type PageContentApiPageDataParsoidTitleRevisionTidGetOpts
- type PageContentApiPageHtmlTitleGetOpts
- type PageContentApiPageSummaryTitleGetOpts
- type PageContentApiService
- func (a *PageContentApiService) GetContentMediaList(ctx context.Context, title string, ...) (MediaList, *http.Response, error)
- func (a *PageContentApiService) GetContentMobileHtml(ctx context.Context, title string, ...) (string, *http.Response, error)
- func (a *PageContentApiService) GetContentWithRevisionMediaList(ctx context.Context, title string, revision int32, ...) (MediaList, *http.Response, error)
- func (a *PageContentApiService) GetContentWithRevisionMobileHtml(ctx context.Context, title string, revision int32, ...) (string, *http.Response, error)
- func (a *PageContentApiService) GetFormatRevision(ctx context.Context, title string, revision int32, ...) (string, *http.Response, error)
- func (a *PageContentApiService) GetRelatedPages(ctx context.Context, title string) (Related, *http.Response, error)
- func (a *PageContentApiService) PageDataParsoidTitleRevisionTidGet(ctx context.Context, title string, revision int32, tid string, ...) (DataParsoid, *http.Response, error)
- func (a *PageContentApiService) PageGet(ctx context.Context) (Listing, *http.Response, error)
- func (a *PageContentApiService) PageHtmlTitleGet(ctx context.Context, title string, ...) (string, *http.Response, error)
- func (a *PageContentApiService) PageHtmlTitlePost(ctx context.Context, baseEtag string, html string, csrfToken string, ...) (interface{}, *http.Response, error)
- func (a *PageContentApiService) PageLintTitleGet(ctx context.Context, title string) (interface{}, *http.Response, error)
- func (a *PageContentApiService) PageLintTitleRevisionGet(ctx context.Context, title string, revision int32) (interface{}, *http.Response, error)
- func (a *PageContentApiService) PageMobileHtmlOfflineResourcesTitleGet(ctx context.Context, title string) (string, *http.Response, error)
- func (a *PageContentApiService) PageMobileHtmlOfflineResourcesTitleRevisionGet(ctx context.Context, title string, revision int32) (string, *http.Response, error)
- func (a *PageContentApiService) PagePdfTitleFormatGet(ctx context.Context, title string, format string) (string, *http.Response, error)
- func (a *PageContentApiService) PagePdfTitleFormatTypeGet(ctx context.Context, title string, format string, type_ string) (string, *http.Response, error)
- func (a *PageContentApiService) PagePdfTitleGet(ctx context.Context, title string) (string, *http.Response, error)
- func (a *PageContentApiService) PageRandomFormatGet(ctx context.Context, format string) (Problem, *http.Response, error)
- func (a *PageContentApiService) PageSegmentsTitleGet(ctx context.Context, title string) (InlineResponse200, *http.Response, error)
- func (a *PageContentApiService) PageSegmentsTitleRevisionGet(ctx context.Context, title string, revision int32) (InlineResponse200, *http.Response, error)
- func (a *PageContentApiService) PageSummaryTitleGet(ctx context.Context, title string, ...) (Summary, *http.Response, error)
- func (a *PageContentApiService) PageTitleTitleGet(ctx context.Context, title string) (Revision, *http.Response, error)
- func (a *PageContentApiService) PageTitleTitleRevisionGet(ctx context.Context, title string, revision int32) (Revision, *http.Response, error)
- func (a *PageContentApiService) PageWikitextTitlePost(ctx context.Context, baseEtag string, wikitext string, csrfToken string, ...) (*http.Response, error)
- type Problem
- type ReadingListsApiDataListsChangesSinceDateGetOpts
- type ReadingListsApiDataListsGetOpts
- type ReadingListsApiDataListsIdPutOpts
- type ReadingListsApiDataListsPagesProjectTitleGetOpts
- type ReadingListsApiGetListEntriesOpts
- type ReadingListsApiService
- func (a *ReadingListsApiService) DataListsBatchPost(ctx context.Context, body Batch, csrfToken string) (ListCreateBatch, *http.Response, error)
- func (a *ReadingListsApiService) DataListsChangesSinceDateGet(ctx context.Context, date time.Time, ...) (InlineResponse2001, *http.Response, error)
- func (a *ReadingListsApiService) DataListsGet(ctx context.Context, localVarOptionals *ReadingListsApiDataListsGetOpts) (InlineResponse2001, *http.Response, error)
- func (a *ReadingListsApiService) DataListsIdDelete(ctx context.Context, id int32) (interface{}, *http.Response, error)
- func (a *ReadingListsApiService) DataListsIdEntriesBatchPost(ctx context.Context, body EntriesBatchBody, csrfToken string, id int32) (InlineResponse2005, *http.Response, error)
- func (a *ReadingListsApiService) DataListsIdEntriesEntryIdDelete(ctx context.Context, id int32, entryId int32) (interface{}, *http.Response, error)
- func (a *ReadingListsApiService) DataListsIdEntriesPost(ctx context.Context, body ListEntryWrite, csrfToken string, id int32) (InlineResponse2004, *http.Response, error)
- func (a *ReadingListsApiService) DataListsIdPut(ctx context.Context, csrfToken string, id int32, ...) (InlineResponse2002, *http.Response, error)
- func (a *ReadingListsApiService) DataListsPagesProjectTitleGet(ctx context.Context, project string, title string, ...) (InlineResponse2006, *http.Response, error)
- func (a *ReadingListsApiService) DataListsPost(ctx context.Context, body ListWrite, csrfToken string) (InlineResponse2002, *http.Response, error)
- func (a *ReadingListsApiService) DataListsSetupPost(ctx context.Context, csrfToken string) (interface{}, *http.Response, error)
- func (a *ReadingListsApiService) DataListsTeardownPost(ctx context.Context, csrfToken string) (interface{}, *http.Response, error)
- func (a *ReadingListsApiService) GetListEntries(ctx context.Context, id int32, ...) (InlineResponse2003, *http.Response, error)
- type RecommendationApiDataRecommendationArticleCreationTranslationFromLangGetOpts
- type RecommendationApiDataRecommendationArticleCreationTranslationFromLangSeedArticleGetOpts
- type RecommendationApiService
- func (a *RecommendationApiService) DataRecommendationArticleCreationMorelikeSeedArticleGet(ctx context.Context, seedArticle string) ([]MorelikeResultInner, *http.Response, error)
- func (a *RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangGet(ctx context.Context, fromLang string, ...) (RecommendationResult, *http.Response, error)
- func (a *RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangSeedArticleGet(ctx context.Context, fromLang string, seedArticle string, ...) (RecommendationResult, *http.Response, error)
- type RecommendationResult
- type RecommendationResultItems
- type Related
- type Result
- type Revision
- type RevisionIdentifier
- type RevisionInfo
- type Revisions
- type Summary
- type SummaryCoordinates
- type TalkPagesApiPageTalkTitleGetOpts
- type TalkPagesApiPageTalkTitleRevisionGetOpts
- type TalkPagesApiService
- type Thumbnail
- type TitleRevisionBody
- type TitleRevisionBody1
- type TitleRevisionBody2
- type TitlesSet
- type ToHtmlBody
- type ToLintBody
- type ToLintBody1
- type ToWikitextBody
- type TransformsApiService
- func (a *TransformsApiService) DoDict(ctx context.Context, from string, word string) (CxDict, *http.Response, error)
- func (a *TransformsApiService) DoDictProvider(ctx context.Context, from string, word string, provider string) (CxDict, *http.Response, error)
- func (a *TransformsApiService) DoMT(ctx context.Context, html string, from string) (CxMt, *http.Response, error)
- func (a *TransformsApiService) DoMTProvider(ctx context.Context, html string, from string, provider string) (CxMt, *http.Response, error)
- func (a *TransformsApiService) TransformHtmlToWikitextPost(ctx context.Context, html string, scrubWikitext bool, ...) (string, *http.Response, error)
- func (a *TransformsApiService) TransformHtmlToWikitextTitlePost(ctx context.Context, html string, scrubWikitext bool, title string, ...) (string, *http.Response, error)
- func (a *TransformsApiService) TransformHtmlToWikitextTitleRevisionPost(ctx context.Context, html string, scrubWikitext bool, title string, ...) (string, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToHtmlPost(ctx context.Context, wikitext string, bodyOnly bool, stash bool) (string, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToHtmlTitlePost(ctx context.Context, wikitext string, bodyOnly bool, stash bool, title string) (string, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToHtmlTitleRevisionPost(ctx context.Context, wikitext string, bodyOnly bool, stash bool, title string, ...) (string, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToLintPost(ctx context.Context, wikitext string) (interface{}, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToLintTitlePost(ctx context.Context, wikitext string, title string) (interface{}, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToLintTitleRevisionPost(ctx context.Context, wikitext string, title string, revision int32) (interface{}, *http.Response, error)
- func (a *TransformsApiService) TransformWikitextToMobileHtml(ctx context.Context, wikitext string, title string, ...) (string, *http.Response, error)
- type TransformsApiTransformHtmlToWikitextPostOpts
- type TransformsApiTransformHtmlToWikitextTitlePostOpts
- type TransformsApiTransformHtmlToWikitextTitleRevisionPostOpts
- type TransformsApiTransformWikitextToMobileHtmlOpts
- type WikitextTitleBody
- type WikitextTitleBody1
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { CitationApi *CitationApiService FeedApi *FeedApiService MathApi *MathApiService MobileApi *MobileApiService OfflineApi *OfflineApiService PageContentApi *PageContentApiService ReadingListsApi *ReadingListsApiService RecommendationApi *RecommendationApiService TalkPagesApi *TalkPagesApiService TransformsApi *TransformsApiService // contains filtered or unexported fields }
APIClient manages communication with the Wikimedia REST API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type Announcement ¶
type Announcement struct { // Unique ID of the announcement Id string `json:"id"` // The type of announcement. Possible values are \"survey\" or \"fundraising\" Type_ string `json:"type"` // The date to begin showing the announcement StartTime string `json:"start_time"` // The date to stop showing the announcement EndTime string `json:"end_time"` // An array of platforms to display the announcement. Possible values are \"iOSApp\" or \"AndroidApp\" Platforms []string `json:"platforms"` // The text of the announcement Text string `json:"text"` // The URL of the image for the announcement Image string `json:"image,omitempty"` Action *Action `json:"action,omitempty"` // HTML to display below the announcement. Usually a privacy statment and link to a policy CaptionHTML string `json:"caption_HTML,omitempty"` // An array of country codes in which to display the announcement. Clients should derive the country from 'GeoIP' portion of the Set-Cookie header Countries []string `json:"countries"` }
type AnnouncementsResponse ¶
type AnnouncementsResponse struct {
Announce []Announcement `json:"announce"`
}
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CheckTypeBody ¶
type CheckTypeBody struct { // The formula to check Q string `json:"q"` }
type CitationApiService ¶
type CitationApiService service
func (*CitationApiService) GetCitation ¶
func (a *CitationApiService) GetCitation(ctx context.Context, format string, query string, localVarOptionals *CitationApiGetCitationOpts) (Result, *http.Response, error)
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CxDict ¶
type CxDict struct { // the original word to look up Source string `json:"source,omitempty"` // the translations found Translations []CxDictTranslations `json:"translations,omitempty"` }
type CxDictTranslations ¶
type CxMt ¶
type CxMt struct { // the translated content Contents string `json:"contents,omitempty"` }
type DataParsoid ¶
type DataParsoid struct { Counter int32 `json:"counter"` Ids *interface{} `json:"ids"` }
Result format for Parsoid data queries
type EntriesBatchBody ¶
type EntriesBatchBody struct {
Batch []ListEntryWrite `json:"batch"`
}
type Feed ¶
type Feed struct { Tfa *Summary `json:"tfa,omitempty"` Mostread *Mostread `json:"mostread,omitempty"` News *[]NewsItem `json:"news,omitempty"` Image *Image `json:"image,omitempty"` Onthisday *[]OnthisdayInner `json:"onthisday,omitempty"` }
Aggregated feed content for a given date
type FeedApiService ¶
type FeedApiService service
func (*FeedApiService) AggregatedFeed ¶
func (a *FeedApiService) AggregatedFeed(ctx context.Context, yyyy string, mm string, dd string) (Feed, *http.Response, error)
FeedApiService Aggregated featured content Provides the aggregated feed content for the given date. The endpoint returns the featured article of the day, most read articles for the previous day, news content and the featured image and video of the day. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param yyyy Year the aggregated content is requested for
- @param mm Month the aggregated content is requested for, 0-padded
- @param dd Day of the month the aggregated content is requested for, 0-padded
@return Feed
func (*FeedApiService) FeedAnnouncementsGet ¶
func (a *FeedApiService) FeedAnnouncementsGet(ctx context.Context) (AnnouncementsResponse, *http.Response, error)
FeedApiService Current announcements to display Gets announcements for display in the official Wikipedia iOS and Android apps. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AnnouncementsResponse
func (*FeedApiService) OnThisDay ¶
func (a *FeedApiService) OnThisDay(ctx context.Context, type_ string, mm string, dd string) (OnthisdayResponse, *http.Response, error)
FeedApiService Events on this day Provides events that historically happened on the provided day and month. Supported types of events are: - All: all of the following - Selected: a list of a few selected anniversaries which occur on the provided day and month; often the entries are curated for the current year - Births: a list of birthdays which happened on the provided day and month - Deaths: a list of deaths which happened on the provided day and month - Holidays: a list of fixed holidays celebrated on the provided day and month - Events: a list of significant events which happened on the provided day and month and which are not covered by the other types yet Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param type_ Type of events
- @param mm Month events are requested for, 0-padded
- @param dd Day of the month events are requested for, 0-padded
@return OnthisdayResponse
type FromFromBody ¶
type FromFromBody struct { // The HTML content to translate Html string `json:"html"` }
type FromProviderBody ¶
type FromProviderBody struct { // The HTML content to translate Html string `json:"html"` }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type HtmlTitleBody ¶
type HtmlTitleBody struct { // ETag header of the revision the edit is based on. Should be supplied for all existing pages to ensure clean round-tripping. BaseEtag string `json:"base_etag,omitempty"` // HTML of the page to save. Html string `json:"html"` // CSRF edit token provided by the MW API. CsrfToken string `json:"csrf_token"` // Comment summarizing the change. Comment string `json:"comment,omitempty"` // Flag indicating a minor change. IsMinor bool `json:"is_minor,omitempty"` // Flag indicating a bot edit. IsBot bool `json:"is_bot,omitempty"` }
type HtmlTitleBody1 ¶
type Image ¶
type Image struct { // Image title Title string `json:"title"` Thumbnail *Thumbnail `json:"thumbnail"` Image *Thumbnail `json:"image"` Description *ImageDescription `json:"description,omitempty"` }
type ImageDescription ¶
type InlineResponse200 ¶
type InlineResponse200 struct { // The source language of the page SourceLanguage string `json:"sourceLanguage,omitempty"` // The title of the segmented page returned Title string `json:"title,omitempty"` // The revision ID of the segmented page Revision int32 `json:"revision,omitempty"` // The segmented HTML body of the contents of the page SegmentedContent string `json:"segmentedContent,omitempty"` }
type InlineResponse2001 ¶
type InlineResponse2002 ¶
type InlineResponse2003 ¶
type InlineResponse2003 struct { Entries []ListEntryRead `json:"entries,omitempty"` // Continuation token. Next string `json:"next,omitempty"` }
type InlineResponse2004 ¶
type InlineResponse2004 struct { // List entry ID Deprecated, will be removed. Use the full entry object instead. Id int32 `json:"id"` Entry *ListEntryRead `json:"entry"` }
type InlineResponse2005 ¶
type InlineResponse2005 struct { Batch []InlineResponse2005Batch `json:"batch"` Entries []ListEntryRead `json:"entries"` }
type InlineResponse2005Batch ¶
type InlineResponse2005Batch struct { // List entry ID Id int32 `json:"id,omitempty"` }
type InlineResponse2006 ¶
type LintTitleBody ¶
type LintTitleBody struct { // The Wikitext to check Wikitext string `json:"wikitext"` }
type ListCreateBatch ¶
type ListEntryRead ¶
type ListEntryRead struct { Id int32 `json:"id,omitempty"` // Domain of the wiki containing the page. Project string `json:"project,omitempty"` // Title of the page containing the page, in database format. Title string `json:"title,omitempty"` // Creation date (in ISO 8601) Created time.Time `json:"created,omitempty"` // Last modification date (in ISO 8601) Updated time.Time `json:"updated,omitempty"` }
type ListEntryWrite ¶
type Listing ¶
type Listing struct { Items []string `json:"items"` Links *ListingLinks `json:"_links,omitempty"` }
The result format for listings
type ListingLinks ¶
type ListingLinks struct {
Next *ListingLinksNext `json:"next,omitempty"`
}
type ListingLinksNext ¶
type ListingLinksNext struct { // Relative link to next result page. Href string `json:"href,omitempty"` }
type MathApiService ¶
type MathApiService service
func (*MathApiService) MediaMathCheckTypePost ¶
func (a *MathApiService) MediaMathCheckTypePost(ctx context.Context, q string, type_ string) (interface{}, *http.Response, error)
MathApiService Check and normalize a TeX formula. Checks the supplied TeX formula for correctness and returns the normalised formula representation as well as information about identifiers. Available types are tex and inline-tex. The response contains the `x-resource-location` header which can be used to retrieve the render of the checked formula in one of the supported rendering formats. Just append the value of the header to `/media/math/{format}/` and perform a GET request against that URL. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param q
- @param type_ The input type of the given formula; can be tex or inline-tex
@return interface{}
func (*MathApiService) MediaMathFormulaHashGet ¶
func (a *MathApiService) MediaMathFormulaHashGet(ctx context.Context, hash string) (interface{}, *http.Response, error)
MathApiService Get a previously-stored formula Returns the previously-stored formula via `/media/math/check/{type}` for the given hash. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param hash The hash string of the previous POST data
@return interface{}
func (*MathApiService) MediaMathRenderFormatHashGet ¶
func (a *MathApiService) MediaMathRenderFormatHashGet(ctx context.Context, format string, hash string) (string, *http.Response, error)
MathApiService Get rendered formula in the given format. Given a request hash, renders a TeX formula into its mathematic representation in the given format. When a request is issued to the `/media/math/check/{format}` POST endpoint, the response contains the `x-resource-location` header denoting the hash ID of the POST data. Once obtained, this endpoint has to be used to obtain the actual render. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param format The output format; can be svg or mml
- @param hash The hash string of the previous POST data
@return string
type MediaItem ¶
type MediaItem struct { // The file page title Title string `json:"title,omitempty"` Type_ string `json:"type"` // section ID in which the item is found on the page SectionId int32 `json:"section_id"` // whether the client should show the file in an image gallery presentation ShowInGallery bool `json:"showInGallery"` Caption *MediaItemCaption `json:"caption,omitempty"` Original *MediaItemOriginal `json:"original,omitempty"` }
type MediaItemCaption ¶
type MediaItemOriginal ¶
type MediaItemOriginal struct { // Mathoid image render URL Source string `json:"source,omitempty"` // the Mathoid image mime type Mime string `json:"mime,omitempty"` }
reference to a Mathoid-rendered math formula image
type MobileApiService ¶
type MobileApiService service
func (*MobileApiService) DataCssMobileTypeGet ¶
func (a *MobileApiService) DataCssMobileTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
MobileApiService Get CSS for mobile apps. Gets common CSS mobile apps need to properly display pages using Page Content Service. In most cases all of the types are needed (preferably in this order): * base (Common mobile CSS from ResourceLoader) * site (Site-specific, mobile CSS from ResourceLoader, as defined in MediaWiki\\:Mobile.css) * pcs (CSS for the Page Content Service) The `base` and `pcs` responses are the same regardless of what domain is used. For these we suggest meta.wikimedia.org. You can still pass pagelib for type, but this is a legacy version of the CSS for existing app clients. Stability: [unstable](https://www.mediawiki.org/wiki/Wikimedia_Product/Wikimedia_Product_Infrastructure_team/API_endpoint_stability_policy#Unstable) Please follow [wikitech-l](https://lists.wikimedia.org/mailman/listinfo/wikitech-l) or [mediawiki-api-announce](https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce) for announcements of breaking changes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param type_ The desired CSS bundle
@return interface{}
func (*MobileApiService) DataI18nTypeGet ¶
func (a *MobileApiService) DataI18nTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
MobileApiService Get internationalization info Gets internationalization information for the given site. Currently the only supported type is pcs for the Page Content Service. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param type_ The desired internationalization bundle
@return interface{}
func (*MobileApiService) DataJavascriptMobileTypeGet ¶
func (a *MobileApiService) DataJavascriptMobileTypeGet(ctx context.Context, type_ string) (interface{}, *http.Response, error)
MobileApiService Get JavaScript for mobileapps Gets the JavaScript bundle so that clients can have convenient access to that for consuming the page HTML. Amongst other things, * it allows to detect the platform and through that enable platform specific CSS rules, * has code to lazy load images on the page, * code for collapsing and expanding tables. Valid types are pagelib or pcs. Passing pcs will return the JavaScript for the Page Content Service. Passing pagelib will return a deprecated legacy version of the wikimedia-page-library JavaScript to support existing app clients. Stability: [unstable](https://www.mediawiki.org/wiki/Wikimedia_Product/Wikimedia_Product_Infrastructure_team/API_endpoint_stability_policy#Unstable) Please follow [wikitech-l](https://lists.wikimedia.org/mailman/listinfo/wikitech-l) or [mediawiki-api-announce](https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce) for announcements of breaking changes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param type_ The desired JavaScript bundle
@return interface{}
func (*MobileApiService) GetSections ¶
func (a *MobileApiService) GetSections(ctx context.Context, title string, localVarOptionals *MobileApiGetSectionsOpts) (interface{}, *http.Response, error)
func (*MobileApiService) GetSectionsLead ¶
func (a *MobileApiService) GetSectionsLead(ctx context.Context, title string, localVarOptionals *MobileApiGetSectionsLeadOpts) (interface{}, *http.Response, error)
func (*MobileApiService) GetSectionsLeadWithRevision ¶
func (a *MobileApiService) GetSectionsLeadWithRevision(ctx context.Context, title string, revision int32, localVarOptionals *MobileApiGetSectionsLeadWithRevisionOpts) (interface{}, *http.Response, error)
func (*MobileApiService) GetSectionsRemaining ¶
func (a *MobileApiService) GetSectionsRemaining(ctx context.Context, title string, localVarOptionals *MobileApiGetSectionsRemainingOpts) (interface{}, *http.Response, error)
func (*MobileApiService) GetSectionsRemainingWithRevision ¶
func (a *MobileApiService) GetSectionsRemainingWithRevision(ctx context.Context, title string, revision int32, localVarOptionals *MobileApiGetSectionsRemainingWithRevisionOpts) (interface{}, *http.Response, error)
func (*MobileApiService) GetSectionsWithRevision ¶
func (a *MobileApiService) GetSectionsWithRevision(ctx context.Context, title string, revision int32, localVarOptionals *MobileApiGetSectionsWithRevisionOpts) (interface{}, *http.Response, error)
type MobilehtmlTitleBody ¶
type MobilehtmlTitleBody struct { // The Wikitext to transform to HTML Wikitext string `json:"wikitext"` }
type MorelikeResultInner ¶
type MorelikeResultInner struct { // Wikidata ID for the item WikidataId string `json:"wikidata_id,omitempty"` // Score of the recommendation. The higher the score, the more important the recommendation is. Score float64 `json:"score,omitempty"` // Source of the recommendation -- which wiki is recommending the current article. SourceLanguage string `json:"source_language,omitempty"` }
type Mostread ¶
type Mostread struct { // The date which the data correspond to Date string `json:"date"` // Array of most popular articles Articles []MostreadArticle `json:"articles"` }
type MostreadArticle ¶
type MostreadArticle struct { // Article title in a form of DB key Title string `json:"title"` // Article title as it should be presented to the user Normalizedtitle string `json:"normalizedtitle"` // Number of views on the requested day Views int32 `json:"views"` // Position in the list of most viewed articles Rank int32 `json:"rank"` Thumbnail *Thumbnail `json:"thumbnail,omitempty"` // Wikidata description of the article Description string `json:"description,omitempty"` // First several sentences of an article in plain text Extract string `json:"extract,omitempty"` }
type OfflineApiService ¶
type OfflineApiService service
func (*OfflineApiService) PageMobileHtmlOfflineResourcesTitleGet ¶
func (a *OfflineApiService) PageMobileHtmlOfflineResourcesTitleGet(ctx context.Context, title string) (string, *http.Response, error)
OfflineApiService Get styles and scripts for offline consumption of mobile-html-formatted pages Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return string
func (*OfflineApiService) PageMobileHtmlOfflineResourcesTitleRevisionGet ¶
func (a *OfflineApiService) PageMobileHtmlOfflineResourcesTitleRevisionGet(ctx context.Context, title string, revision int32) (string, *http.Response, error)
OfflineApiService Get styles and scripts for offline consumption of mobile-html-formatted pages Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision Optional page revision. Note that older revisions are not stored, so request latency with the revision would be higher.
@return string
type OnthisdayInner ¶
type OnthisdayResponse ¶
type OnthisdayResponse struct { Births *[]OnthisdayInner `json:"births,omitempty"` Deaths *[]OnthisdayInner `json:"deaths,omitempty"` Events *[]OnthisdayInner `json:"events,omitempty"` Holidays *[]OnthisdayInner `json:"holidays,omitempty"` Selected *[]OnthisdayInner `json:"selected,omitempty"` }
Lists of events which happened on the provided day and month
type Originalimage ¶
type PageContentApiService ¶
type PageContentApiService service
func (*PageContentApiService) GetContentMediaList ¶
func (a *PageContentApiService) GetContentMediaList(ctx context.Context, title string, localVarOptionals *PageContentApiGetContentMediaListOpts) (MediaList, *http.Response, error)
func (*PageContentApiService) GetContentMobileHtml ¶
func (a *PageContentApiService) GetContentMobileHtml(ctx context.Context, title string, localVarOptionals *PageContentApiGetContentMobileHtmlOpts) (string, *http.Response, error)
func (*PageContentApiService) GetContentWithRevisionMediaList ¶
func (a *PageContentApiService) GetContentWithRevisionMediaList(ctx context.Context, title string, revision int32, localVarOptionals *PageContentApiGetContentWithRevisionMediaListOpts) (MediaList, *http.Response, error)
func (*PageContentApiService) GetContentWithRevisionMobileHtml ¶
func (a *PageContentApiService) GetContentWithRevisionMobileHtml(ctx context.Context, title string, revision int32, localVarOptionals *PageContentApiGetContentWithRevisionMobileHtmlOpts) (string, *http.Response, error)
func (*PageContentApiService) GetFormatRevision ¶
func (a *PageContentApiService) GetFormatRevision(ctx context.Context, title string, revision int32, localVarOptionals *PageContentApiGetFormatRevisionOpts) (string, *http.Response, error)
func (*PageContentApiService) GetRelatedPages ¶
func (a *PageContentApiService) GetRelatedPages(ctx context.Context, title string) (Related, *http.Response, error)
PageContentApiService Get pages related to the given title Returns summaries for 20 pages related to the given page. Summaries include page title, namespace and id along with short text description of the page and a thumbnail. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return Related
func (*PageContentApiService) PageDataParsoidTitleRevisionTidGet ¶
func (a *PageContentApiService) PageDataParsoidTitleRevisionTidGet(ctx context.Context, title string, revision int32, tid string, localVarOptionals *PageContentApiPageDataParsoidTitleRevisionTidGetOpts) (DataParsoid, *http.Response, error)
func (*PageContentApiService) PageGet ¶
PageContentApiService List page-related API entry points. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return Listing
func (*PageContentApiService) PageHtmlTitleGet ¶
func (a *PageContentApiService) PageHtmlTitleGet(ctx context.Context, title string, localVarOptionals *PageContentApiPageHtmlTitleGetOpts) (string, *http.Response, error)
func (*PageContentApiService) PageHtmlTitlePost ¶
func (a *PageContentApiService) PageHtmlTitlePost(ctx context.Context, baseEtag string, html string, csrfToken string, comment string, isMinor bool, isBot bool, title string) (interface{}, *http.Response, error)
PageContentApiService Save a new revision using HTML. Save a new revision of a page given in [Parsoid HTML](https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec) format. For new pages, or when editting the latest revision of a page, the `base_etag` parameter should be left empty. For editing old revisions, it should contain the `ETag` header of the revision the edit is derived from. The latest page revision ETag header could be provided in the If-Match header to detect edit conflicts. If the new page is created, appropriate user cookies must be provided. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param baseEtag
- @param html
- @param csrfToken
- @param comment
- @param isMinor
- @param isBot
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return interface{}
func (*PageContentApiService) PageLintTitleGet ¶
func (a *PageContentApiService) PageLintTitleGet(ctx context.Context, title string) (interface{}, *http.Response, error)
PageContentApiService Get the linter errors for a specific title/revision. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return interface{}
func (*PageContentApiService) PageLintTitleRevisionGet ¶
func (a *PageContentApiService) PageLintTitleRevisionGet(ctx context.Context, title string, revision int32) (interface{}, *http.Response, error)
PageContentApiService Get the linter errors for a specific title/revision. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision The revision
@return interface{}
func (*PageContentApiService) PageMobileHtmlOfflineResourcesTitleGet ¶
func (a *PageContentApiService) PageMobileHtmlOfflineResourcesTitleGet(ctx context.Context, title string) (string, *http.Response, error)
PageContentApiService Get styles and scripts for offline consumption of mobile-html-formatted pages Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return string
func (*PageContentApiService) PageMobileHtmlOfflineResourcesTitleRevisionGet ¶
func (a *PageContentApiService) PageMobileHtmlOfflineResourcesTitleRevisionGet(ctx context.Context, title string, revision int32) (string, *http.Response, error)
PageContentApiService Get styles and scripts for offline consumption of mobile-html-formatted pages Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision Optional page revision. Note that older revisions are not stored, so request latency with the revision would be higher.
@return string
func (*PageContentApiService) PagePdfTitleFormatGet ¶
func (a *PageContentApiService) PagePdfTitleFormatGet(ctx context.Context, title string, format string) (string, *http.Response, error)
PageContentApiService Get a page as PDF Renders the page content as PDF. Format and type are optional parameters and the default values are \"a4\" for format and \"desktop\" for type. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param format PDF format
@return string
func (*PageContentApiService) PagePdfTitleFormatTypeGet ¶
func (a *PageContentApiService) PagePdfTitleFormatTypeGet(ctx context.Context, title string, format string, type_ string) (string, *http.Response, error)
PageContentApiService Get a page as PDF Renders the page content as PDF. Format and type are optional parameters and the default values are \"a4\" for format and \"desktop\" for type. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param format PDF format
- @param type_ PDF type - `mobile` (optimized for reading on mobile devices) or `desktop` (regular PDF). `desktop` is the default render mode and it will used if param `type` is not passed
@return string
func (*PageContentApiService) PagePdfTitleGet ¶
func (a *PageContentApiService) PagePdfTitleGet(ctx context.Context, title string) (string, *http.Response, error)
PageContentApiService Get a page as PDF Renders the page content as PDF. Format and type are optional parameters and the default values are \"a4\" for format and \"desktop\" for type. Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return string
func (*PageContentApiService) PageRandomFormatGet ¶
func (a *PageContentApiService) PageRandomFormatGet(ctx context.Context, format string) (Problem, *http.Response, error)
PageContentApiService Get content for a random page Redirects the client to the URI for the desired format for a random page title. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param format The desired return format
@return Problem
func (*PageContentApiService) PageSegmentsTitleGet ¶
func (a *PageContentApiService) PageSegmentsTitleGet(ctx context.Context, title string) (InlineResponse200, *http.Response, error)
PageContentApiService Fetches a segmented page to be used in machine translation Use this end point to fetch the segmented content of a page. Clients should use the returned content in conjunction with the [language transform API](https://wikimedia.org/api/rest_v1/#!/Transform). Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return InlineResponse200
func (*PageContentApiService) PageSegmentsTitleRevisionGet ¶
func (a *PageContentApiService) PageSegmentsTitleRevisionGet(ctx context.Context, title string, revision int32) (InlineResponse200, *http.Response, error)
PageContentApiService Fetches a segmented page to be used in machine translation Use this end point to fetch the segmented content of a page. Clients should use the returned content in conjunction with the [language transform API](https://wikimedia.org/api/rest_v1/#!/Transform). Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision The revision id
@return InlineResponse200
func (*PageContentApiService) PageSummaryTitleGet ¶
func (a *PageContentApiService) PageSummaryTitleGet(ctx context.Context, title string, localVarOptionals *PageContentApiPageSummaryTitleGetOpts) (Summary, *http.Response, error)
func (*PageContentApiService) PageTitleTitleGet ¶
func (a *PageContentApiService) PageTitleTitleGet(ctx context.Context, title string) (Revision, *http.Response, error)
PageContentApiService Get revision metadata for a title. Returns the revision metadata for the given title. If a revision ID is provided, metadata for that revision is returned, otherwise the latest revision ID is assumed. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return Revision
func (*PageContentApiService) PageTitleTitleRevisionGet ¶
func (a *PageContentApiService) PageTitleTitleRevisionGet(ctx context.Context, title string, revision int32) (Revision, *http.Response, error)
PageContentApiService Get revision metadata for a title. Returns the revision metadata for the given title. If a revision ID is provided, metadata for that revision is returned, otherwise the latest revision ID is assumed. Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision The revision id
@return Revision
func (*PageContentApiService) PageWikitextTitlePost ¶
func (a *PageContentApiService) PageWikitextTitlePost(ctx context.Context, baseEtag string, wikitext string, csrfToken string, comment string, isMinor bool, isBot bool, title string) (*http.Response, error)
PageContentApiService Save a new revision of a page using Wikitext. For new pages, or when editting the latest revision of a page, the `base_etag` parameter should be left empty. For editing old revisions, it should contain the ETag header of the revision the edit is derived from. The latest page revision ETag header should be provided in the If-Match header to detect edit conflicts. If the new page is created, appropriate user cookies must be provided. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param baseEtag
- @param wikitext
- @param csrfToken
- @param comment
- @param isMinor
- @param isBot
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
type ReadingListsApiService ¶
type ReadingListsApiService service
func (*ReadingListsApiService) DataListsBatchPost ¶
func (a *ReadingListsApiService) DataListsBatchPost(ctx context.Context, body Batch, csrfToken string) (ListCreateBatch, *http.Response, error)
ReadingListsApiService Create multiple new lists for the current user. See `POST /lists/`. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param csrfToken The CRSF edit token provided by the MediaWiki API
@return ListCreateBatch
func (*ReadingListsApiService) DataListsChangesSinceDateGet ¶
func (a *ReadingListsApiService) DataListsChangesSinceDateGet(ctx context.Context, date time.Time, localVarOptionals *ReadingListsApiDataListsChangesSinceDateGetOpts) (InlineResponse2001, *http.Response, error)
func (*ReadingListsApiService) DataListsGet ¶
func (a *ReadingListsApiService) DataListsGet(ctx context.Context, localVarOptionals *ReadingListsApiDataListsGetOpts) (InlineResponse2001, *http.Response, error)
func (*ReadingListsApiService) DataListsIdDelete ¶
func (a *ReadingListsApiService) DataListsIdDelete(ctx context.Context, id int32) (interface{}, *http.Response, error)
ReadingListsApiService Delete a list. List must belong to current user and request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
@return interface{}
func (*ReadingListsApiService) DataListsIdEntriesBatchPost ¶
func (a *ReadingListsApiService) DataListsIdEntriesBatchPost(ctx context.Context, body EntriesBatchBody, csrfToken string, id int32) (InlineResponse2005, *http.Response, error)
ReadingListsApiService Create multiple new list entries. See `POST /lists/{id}/entries/`. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param csrfToken The CRSF edit token provided by the MediaWiki API
- @param id
@return InlineResponse2005
func (*ReadingListsApiService) DataListsIdEntriesEntryIdDelete ¶
func (a *ReadingListsApiService) DataListsIdEntriesEntryIdDelete(ctx context.Context, id int32, entryId int32) (interface{}, *http.Response, error)
ReadingListsApiService Delete a list entry. Deletes a given list entry. The list must belong to the current user and the request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
- @param entryId
@return interface{}
func (*ReadingListsApiService) DataListsIdEntriesPost ¶
func (a *ReadingListsApiService) DataListsIdEntriesPost(ctx context.Context, body ListEntryWrite, csrfToken string, id int32) (InlineResponse2004, *http.Response, error)
ReadingListsApiService Create a new list entry. Creates a new list entry in the given list. On conflict, does nothing and returns the data of an existing list. The list must belong to the current user and the request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) This endpoint is deprecated and might be removed without warning. Use the batch version instead.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param csrfToken The CRSF edit token provided by the MediaWiki API
- @param id
@return InlineResponse2004
func (*ReadingListsApiService) DataListsIdPut ¶
func (a *ReadingListsApiService) DataListsIdPut(ctx context.Context, csrfToken string, id int32, localVarOptionals *ReadingListsApiDataListsIdPutOpts) (InlineResponse2002, *http.Response, error)
func (*ReadingListsApiService) DataListsPagesProjectTitleGet ¶
func (a *ReadingListsApiService) DataListsPagesProjectTitleGet(ctx context.Context, project string, title string, localVarOptionals *ReadingListsApiDataListsPagesProjectTitleGetOpts) (InlineResponse2006, *http.Response, error)
func (*ReadingListsApiService) DataListsPost ¶
func (a *ReadingListsApiService) DataListsPost(ctx context.Context, body ListWrite, csrfToken string) (InlineResponse2002, *http.Response, error)
ReadingListsApiService Create a new list for the current user. Creates a new empty list. On name conflict, does nothing and returns the data of an existing list. Request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable) This endpoint is deprecated and might be removed without warning. Use the batch version instead.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
- @param csrfToken The CRSF edit token provided by the MediaWiki API
@return InlineResponse2002
func (*ReadingListsApiService) DataListsSetupPost ¶
func (a *ReadingListsApiService) DataListsSetupPost(ctx context.Context, csrfToken string) (interface{}, *http.Response, error)
ReadingListsApiService Opt in to use reading lists. Must precede other list operations. Request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param csrfToken The CRSF edit token provided by the MediaWiki API
@return interface{}
func (*ReadingListsApiService) DataListsTeardownPost ¶
func (a *ReadingListsApiService) DataListsTeardownPost(ctx context.Context, csrfToken string) (interface{}, *http.Response, error)
ReadingListsApiService Opt out from using reading lists. Deletes all data. User needs to opt in again before being able to do anything. Request must be authenticated with a MediaWiki session cookie. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param csrfToken The CRSF edit token provided by the MediaWiki API
@return interface{}
func (*ReadingListsApiService) GetListEntries ¶
func (a *ReadingListsApiService) GetListEntries(ctx context.Context, id int32, localVarOptionals *ReadingListsApiGetListEntriesOpts) (InlineResponse2003, *http.Response, error)
type RecommendationApiService ¶
type RecommendationApiService service
func (*RecommendationApiService) DataRecommendationArticleCreationMorelikeSeedArticleGet ¶
func (a *RecommendationApiService) DataRecommendationArticleCreationMorelikeSeedArticleGet(ctx context.Context, seedArticle string) ([]MorelikeResultInner, *http.Response, error)
RecommendationApiService Recommend missing articles Recommends articles similar to the seed article but are missing from the domain language Wikipedia. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param seedArticle The article title used to search similar but missing articles
@return []MorelikeResultInner
func (*RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangGet ¶
func (a *RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangGet(ctx context.Context, fromLang string, localVarOptionals *RecommendationApiDataRecommendationArticleCreationTranslationFromLangGetOpts) (RecommendationResult, *http.Response, error)
func (*RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangSeedArticleGet ¶
func (a *RecommendationApiService) DataRecommendationArticleCreationTranslationFromLangSeedArticleGet(ctx context.Context, fromLang string, seedArticle string, localVarOptionals *RecommendationApiDataRecommendationArticleCreationTranslationFromLangSeedArticleGetOpts) (RecommendationResult, *http.Response, error)
type RecommendationResult ¶
type RecommendationResult struct { // the number of recommendations returned Count int32 `json:"count,omitempty"` // the list of articles recommended for translation Items []RecommendationResultItems `json:"items,omitempty"` }
type RecommendationResultItems ¶
type RecommendationResultItems struct { // wikidata id for the item WikidataId string `json:"wikidata_id,omitempty"` // title of the article in the source language Title string `json:"title,omitempty"` // count of sites the wikidata item is linked to SitelinkCount int32 `json:"sitelink_count,omitempty"` }
type Revision ¶
type Revision struct { Count int32 `json:"count"` Items *RevisionInfo `json:"items"` }
Result format for revision items
type RevisionIdentifier ¶
type RevisionIdentifier struct { Revision int32 `json:"revision,omitempty"` Tid string `json:"tid,omitempty"` }
Unique revision identifier
type RevisionInfo ¶
type RevisionInfo struct { Title string `json:"title,omitempty"` PageId int32 `json:"page_id,omitempty"` Rev int32 `json:"rev,omitempty"` Tid string `json:"tid,omitempty"` Comment string `json:"comment,omitempty"` Restrictions []string `json:"restrictions,omitempty"` Tags []string `json:"tags,omitempty"` UserId int32 `json:"user_id,omitempty"` UserText string `json:"user_text,omitempty"` Timestamp time.Time `json:"timestamp,omitempty"` Redirect bool `json:"redirect,omitempty"` PageLanguage string `json:"page_language,omitempty"` }
Complete information about the revision
type Revisions ¶
type Revisions struct {
Items *RevisionIdentifier `json:"items"`
}
The result format for revision listing
type Summary ¶
type Summary struct { Titles *TitlesSet `json:"titles"` // The page title. Deprecated: Use `titles.normalized` instead. Title string `json:"title,omitempty"` // The page title how it should be shown to the user. Deprecated: Use `titles.display` instead. Displaytitle string `json:"displaytitle,omitempty"` // The page ID Pageid int32 `json:"pageid,omitempty"` // First several sentences of an article in plain text Extract string `json:"extract"` // First several sentences of an article in simple HTML format ExtractHtml string `json:"extract_html,omitempty"` Thumbnail *Thumbnail `json:"thumbnail,omitempty"` Originalimage *Originalimage `json:"originalimage,omitempty"` // The page language code Lang string `json:"lang"` // The page language direction code Dir string `json:"dir"` // The time when the page was last edited in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format Timestamp string `json:"timestamp,omitempty"` // Wikidata description for the page Description string `json:"description,omitempty"` Coordinates *SummaryCoordinates `json:"coordinates,omitempty"` }
type SummaryCoordinates ¶
type SummaryCoordinates struct { // The latitude Lat float64 `json:"lat"` // The longitude Lon float64 `json:"lon"` }
The coordinates of the item
type TalkPagesApiService ¶
type TalkPagesApiService service
func (*TalkPagesApiService) PageTalkTitleGet ¶
func (a *TalkPagesApiService) PageTalkTitleGet(ctx context.Context, title string, localVarOptionals *TalkPagesApiPageTalkTitleGetOpts) (string, *http.Response, error)
func (*TalkPagesApiService) PageTalkTitleRevisionGet ¶
func (a *TalkPagesApiService) PageTalkTitleRevisionGet(ctx context.Context, title string, revision int32, localVarOptionals *TalkPagesApiPageTalkTitleRevisionGetOpts) (string, *http.Response, error)
type TitleRevisionBody ¶
type TitleRevisionBody1 ¶
type TitleRevisionBody2 ¶
type TitleRevisionBody2 struct { // The Wikitext to check Wikitext string `json:"wikitext"` }
type TitlesSet ¶
type TitlesSet struct { // the DB key (non-prefixed), e.g. may have _ instead of spaces, best for making request URIs, still requires Percent-encoding Canonical string `json:"canonical"` // the normalized title (https://www.mediawiki.org/wiki/API:Query#Example_2:_Title_normalization), e.g. may have spaces instead of _ Normalized string `json:"normalized"` // the title as it should be displayed to the user Display string `json:"display"` }
a good example of the differences can be seen in https://en.wikipedia.org/api/rest_v1/page/summary/IOS_13
type ToHtmlBody ¶
type ToLintBody ¶
type ToLintBody struct { // The Wikitext to check Wikitext string `json:"wikitext"` }
type ToLintBody1 ¶
type ToLintBody1 struct { // The Wikitext to check Wikitext string `json:"wikitext"` }
type ToWikitextBody ¶
type TransformsApiService ¶
type TransformsApiService service
func (*TransformsApiService) DoDict ¶
func (a *TransformsApiService) DoDict(ctx context.Context, from string, word string) (CxDict, *http.Response, error)
TransformsApiService Fetch the dictionary meaning of a word Fetches the dictionary meaning of a word from a language and displays it in the target language. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param from The source language code
- @param word The word to lookup
@return CxDict
func (*TransformsApiService) DoDictProvider ¶
func (a *TransformsApiService) DoDictProvider(ctx context.Context, from string, word string, provider string) (CxDict, *http.Response, error)
TransformsApiService Fetch the dictionary meaning of a word Fetches the dictionary meaning of a word from a language and displays it in the target language. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param from The source language code
- @param word The word to lookup
- @param provider The dictionary provider id
@return CxDict
func (*TransformsApiService) DoMT ¶
func (a *TransformsApiService) DoMT(ctx context.Context, html string, from string) (CxMt, *http.Response, error)
TransformsApiService Machine-translate content Fetches the machine translation for the posted content from the source to the language of this wiki. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param html
- @param from The source language code
@return CxMt
func (*TransformsApiService) DoMTProvider ¶
func (a *TransformsApiService) DoMTProvider(ctx context.Context, html string, from string, provider string) (CxMt, *http.Response, error)
TransformsApiService Machine-translate content Fetches the machine translation for the posted content from the source to the language of this wiki. Stability: [unstable](https://www.mediawiki.org/wiki/API_versioning#Unstable)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param html
- @param from The source language code
- @param provider The machine translation provider id
@return CxMt
func (*TransformsApiService) TransformHtmlToWikitextPost ¶
func (a *TransformsApiService) TransformHtmlToWikitextPost(ctx context.Context, html string, scrubWikitext bool, localVarOptionals *TransformsApiTransformHtmlToWikitextPostOpts) (string, *http.Response, error)
func (*TransformsApiService) TransformHtmlToWikitextTitlePost ¶
func (*TransformsApiService) TransformHtmlToWikitextTitleRevisionPost ¶
func (*TransformsApiService) TransformWikitextToHtmlPost ¶
func (a *TransformsApiService) TransformWikitextToHtmlPost(ctx context.Context, wikitext string, bodyOnly bool, stash bool) (string, *http.Response, error)
TransformsApiService Transform Wikitext to HTML Transform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. - Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable) - Rate limit: 25 req/s (5 req/s when `stash: true`)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
- @param bodyOnly
- @param stash
@return string
func (*TransformsApiService) TransformWikitextToHtmlTitlePost ¶
func (a *TransformsApiService) TransformWikitextToHtmlTitlePost(ctx context.Context, wikitext string, bodyOnly bool, stash bool, title string) (string, *http.Response, error)
TransformsApiService Transform Wikitext to HTML Transform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. - Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable) - Rate limit: 25 req/s (5 req/s when `stash: true`)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
- @param bodyOnly
- @param stash
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return string
func (*TransformsApiService) TransformWikitextToHtmlTitleRevisionPost ¶
func (a *TransformsApiService) TransformWikitextToHtmlTitleRevisionPost(ctx context.Context, wikitext string, bodyOnly bool, stash bool, title string, revision int32) (string, *http.Response, error)
TransformsApiService Transform Wikitext to HTML Transform wikitext to HTML. Note that if you set `stash: true`, you also need to supply the title. - Stability: [stable](https://www.mediawiki.org/wiki/API_versioning#Stable) - Rate limit: 25 req/s (5 req/s when `stash: true`)
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
- @param bodyOnly
- @param stash
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision The page revision
@return string
func (*TransformsApiService) TransformWikitextToLintPost ¶
func (a *TransformsApiService) TransformWikitextToLintPost(ctx context.Context, wikitext string) (interface{}, *http.Response, error)
TransformsApiService Check Wikitext for lint errors Parse the supplied wikitext and check it for lint errors. - Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) - Rate limit: 25 req/s
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
@return interface{}
func (*TransformsApiService) TransformWikitextToLintTitlePost ¶
func (a *TransformsApiService) TransformWikitextToLintTitlePost(ctx context.Context, wikitext string, title string) (interface{}, *http.Response, error)
TransformsApiService Check Wikitext for lint errors Parse the supplied wikitext and check it for lint errors. - Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) - Rate limit: 25 req/s
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
@return interface{}
func (*TransformsApiService) TransformWikitextToLintTitleRevisionPost ¶
func (a *TransformsApiService) TransformWikitextToLintTitleRevisionPost(ctx context.Context, wikitext string, title string, revision int32) (interface{}, *http.Response, error)
TransformsApiService Check Wikitext for lint errors Parse the supplied wikitext and check it for lint errors. - Stability: [experimental](https://www.mediawiki.org/wiki/API_versioning#Experimental) - Rate limit: 25 req/s
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wikitext
- @param title Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
- @param revision The page revision
@return interface{}
func (*TransformsApiService) TransformWikitextToMobileHtml ¶
func (a *TransformsApiService) TransformWikitextToMobileHtml(ctx context.Context, wikitext string, title string, localVarOptionals *TransformsApiTransformWikitextToMobileHtmlOpts) (string, *http.Response, error)
type WikitextTitleBody ¶
type WikitextTitleBody struct { // The ETag header of the revision the edit is based on. BaseEtag string `json:"base_etag,omitempty"` // The wikitext source of the page to save Wikitext string `json:"wikitext"` // The CRSF edit token provided by the MW API CsrfToken string `json:"csrf_token"` // The summary of the change Comment string `json:"comment,omitempty"` // Whether this represents a minor change IsMinor bool `json:"is_minor,omitempty"` // Whether the change is being made by a bot IsBot bool `json:"is_bot,omitempty"` }
type WikitextTitleBody1 ¶
Source Files ¶
- api_citation.go
- api_feed.go
- api_math.go
- api_mobile.go
- api_offline.go
- api_page_content.go
- api_reading_lists.go
- api_recommendation.go
- api_talk_pages.go
- api_transforms.go
- client.go
- configuration.go
- model_action.go
- model_announcement.go
- model_announcements_response.go
- model_batch.go
- model_check_type_body.go
- model_cx_dict.go
- model_cx_dict_translations.go
- model_cx_mt.go
- model_data_parsoid.go
- model_entries_batch_body.go
- model_feed.go
- model_from_from_body.go
- model_from_provider_body.go
- model_html_title_body.go
- model_html_title_body_1.go
- model_image.go
- model_image_description.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_2.go
- model_inline_response_200_3.go
- model_inline_response_200_4.go
- model_inline_response_200_5.go
- model_inline_response_200_5_batch.go
- model_inline_response_200_6.go
- model_lint_title_body.go
- model_list_create_batch.go
- model_list_entry_read.go
- model_list_entry_write.go
- model_list_id.go
- model_list_read.go
- model_list_write.go
- model_listing.go
- model_listing__links.go
- model_listing__links_next.go
- model_media_item.go
- model_media_item_caption.go
- model_media_item_original.go
- model_media_list.go
- model_mobilehtml_title_body.go
- model_morelike_result_inner.go
- model_mostread.go
- model_mostread_article.go
- model_news_item.go
- model_onthisday_inner.go
- model_onthisday_response.go
- model_originalimage.go
- model_problem.go
- model_recommendation_result.go
- model_recommendation_result_items.go
- model_related.go
- model_result.go
- model_revision.go
- model_revision_identifier.go
- model_revision_info.go
- model_revisions.go
- model_summary.go
- model_summary_coordinates.go
- model_thumbnail.go
- model_title_revision_body.go
- model_title_revision_body_1.go
- model_title_revision_body_2.go
- model_titles_set.go
- model_to_html_body.go
- model_to_lint_body.go
- model_to_lint_body_1.go
- model_to_wikitext_body.go
- model_wikitext_title_body.go
- model_wikitext_title_body_1.go
- response.go