paths:
  /{domain}/v1/page/mobile-html-offline-resources/{title}:
    get:
      tags:
        - Page content
      summary: Get styles and scripts for offline consumption of mobile-html-formatted pages
      description: Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline
      parameters:
        - $ref: '#/components/parameters/domainParam'
        - $ref: '#/components/parameters/title'
      responses:
        200:
          $ref: '#/components/responses/success'
        default:
          $ref: "#/components/responses/problem"
      x-amples:
        - title: Get offline resource links to accompany page content HTML for test page
          request:
            params:
              title: User:BSitzmann_(WMF)/MCS/Test/Frankenstein
          response:
            status: 200
            headers:
              content-type: application/json; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/Mobile-HTML-Offline-Resources/1.0.0"
              access-control-allow-origin: '*'
              access-control-allow-headers: accept, x-requested-with, content-type
              content-security-policy: default-src
              x-content-security-policy: default-src
              x-frame-options: SAMEORIGIN
  /{domain}/v1/page/mobile-html-offline-resources/{title}/{revision}:
    get:
      tags:
        - Page content
      summary: Get styles and scripts for offline consumption of mobile-html-formatted pages
      description: Provides links to scripts and styles needed for viewing mobile-html-formatted pages offline
      parameters:
        - $ref: '#/components/parameters/domainParam'
        - $ref: '#/components/parameters/title'
        - $ref: '#/components/parameters/revision'
      responses:
        200:
          $ref: '#/components/responses/success'
        default:
          $ref: "#/components/responses/problem"
      x-monitor: false

Add spec for offline-resources endpoint
Mobile-html: Add spec for offline-resources endpoint

Bug: T244175
Change-Id: I85d59e3a1a933a5858fd486324fa86f27eb92e2b
