Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 3.14 KB

OfflineApi.md

File metadata and controls

66 lines (41 loc) · 3.14 KB

{{classname}}

All URIs are relative to /api/rest_v1

Method HTTP request Description
PageMobileHtmlOfflineResourcesTitleGet Get /page/mobile-html-offline-resources/{title} Get styles and scripts for offline consumption of mobile-html-formatted pages
PageMobileHtmlOfflineResourcesTitleRevisionGet Get /page/mobile-html-offline-resources/{title}/{revision} Get styles and scripts for offline consumption of mobile-html-formatted pages

PageMobileHtmlOfflineResourcesTitleGet

string PageMobileHtmlOfflineResourcesTitleGet(ctx, title) 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

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
title string Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.

Return type

string

Authorization

No authorization required

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]

PageMobileHtmlOfflineResourcesTitleRevisionGet

string PageMobileHtmlOfflineResourcesTitleRevisionGet(ctx, title, revision) 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

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
title string Page title. Use underscores instead of spaces. Use percent-encoding. Example: `Main_Page`.
revision int32 Optional page revision. Note that older revisions are not stored, so request latency with the revision would be higher.

Return type

string

Authorization

No authorization required

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]