wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/rest-api/routes.json

Summary

Maintainability
Test Coverage
[
    {
        "path": "/wikibase/v0/entities/items/{item_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items",
        "method": "POST",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\CreateItemRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchItemRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchPropertyRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements",
        "method": "POST",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\AddItemStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements",
        "method": "POST",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\AddPropertyStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/statements/{statement_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements/{statement_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements/{statement_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemStatementsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyStatementsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/statements/{statement_id}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\ReplaceStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements/{statement_id}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\ReplaceItemStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements/{statement_id}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\ReplacePropertyStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/statements/{statement_id}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemoveStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements/{statement_id}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemoveItemStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements/{statement_id}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemovePropertyStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/statements/{statement_id}",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/statements/{statement_id}",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchItemStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/statements/{statement_id}",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchPropertyStatementRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemLabelsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyLabelsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels_with_language_fallback/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemLabelWithFallbackRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels_with_language_fallback/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyLabelWithFallbackRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels/{language_code}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\SetItemLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels/{language_code}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\SetPropertyLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchItemLabelsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchPropertyLabelsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/labels/{language_code}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemoveItemLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/labels/{language_code}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemovePropertyLabelRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemDescriptionsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchItemDescriptionsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchPropertyDescriptionsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions_with_language_fallback/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemDescriptionWithFallbackRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions_with_language_fallback/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyDescriptionWithFallbackRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions/{language_code}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\SetItemDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions/{language_code}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\SetPropertyDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/descriptions/{language_code}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemoveItemDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions/{language_code}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemovePropertyDescriptionRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/aliases",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemAliasesRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/descriptions",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyDescriptionsRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/aliases",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyAliasesRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/aliases",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchItemAliasesRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/aliases",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchPropertyAliasesRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/aliases/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetItemAliasesInLanguageRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/aliases/{language_code}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyAliasesInLanguageRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/aliases/{language_code}",
        "method": "POST",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\AddItemAliasesInLanguageRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/properties/{property_id}/aliases/{language_code}",
        "method": "POST",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\AddPropertyAliasesInLanguageRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/sitelinks",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetSitelinksRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/sitelinks",
        "method": "PATCH",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\PatchSitelinksRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/sitelinks/{site_id}",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetSitelinkRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/sitelinks/{site_id}",
        "method": "DELETE",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\RemoveSitelinkRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/entities/items/{item_id}/sitelinks/{site_id}",
        "method": "PUT",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\SetSitelinkRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/openapi.json",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetOpenApiDocRouteHandler::factory"
    },
    {
        "path": "/wikibase/v0/property-data-types",
        "method": "GET",
        "factory": "Wikibase\\Repo\\RestApi\\RouteHandlers\\GetPropertyDataTypesHandler::factory"
    }
]