# Show Homepage

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/content/mobile_app/homepage:
    get:
      summary: Show Homepage
      deprecated: false
      description: >
        Returns information about page that should be displayed as mobile app's
        home view.


        The page may be:

        * `inline` - the HTML should be built from the returned `components` 
        List of components the Page is built of - see: List of components the
        Page is built of - see:
        [ComponentsSchema](doc-341662#public-componentsschema-model)

        * `web` - the HTML returned from the `url` should be presented


        When no page is configured, `404` error is returned.
      tags:
        - 'API Reference/Public API/Mobile App '
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: X-Customer
          in: header
          description: Customer for API context.  [Details](doc-342139)
          required: false
          example: '{{CUSTOMER_ID}}'
          schema:
            type: string
            default: '{{CUSTOMER_ID}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  mobile_app_homepage:
                    anyOf:
                      - $ref: '#/components/schemas/HomePage%3A%3AInline'
                      - $ref: '#/components/schemas/HomePage%3A%3AWeb'
                x-apidog-orders:
                  - mobile_app_homepage
                required:
                  - mobile_app_homepage
                x-apidog-ignore-properties: []
              examples:
                '1':
                  summary: Landing Page
                  value:
                    mobile_app_homepage:
                      type: external_url
                      external_url: https://iml.d.pwg.ai/home
                '2':
                  summary: External URL
                  value:
                    mobile_app_homepage:
                      type: external_url
                      external_url: https://example.com
                '3':
                  summary: Components
                  value:
                    mobile_app_homepage:
                      type: components
                      components:
                        - type: member_welcome
                          title: Welcome
                        - type: member_offers
                          title: Offers
                        - type: member_rewards
                          title: Rewards
                        - type: mixed_content_list
                          layout_type: grid
                          items:
                            - id: 39913
                              type: article
                              customer_id: 447
                              title: ania 14.01 ;) )
                              headline: null
                              visible_since: null
                              visible_until: null
                              created_at: '2025-01-14T13:35:12.013861Z'
                              updated_at: '2025-01-14T13:35:58.123538Z'
                              tag_ids: []
                              image:
                                url: >-
                                  https://cdn-files.dev.placewise.com/f/CL8DEOsBGhFjbXNfYXJ0aWNsZV9pbWFnZSIFMzk5MTM4kZjFQHN2A0XYZNgP55HeagTqWF4
                              publication_status: published
                              url: article/39913
                              slug: ania-14-01
                              teaser: null
                              body: null
                              author: null
                              public_published_at: null
                        - type: mobile_links
                          links:
                            - url: >-
                                https://member.dev.placewise.com/infinity-mall/articles/39913
                              text: Articles
                            - url: >-
                                https://member.dev.placewise.com/infinity-mall/profile
                          title: Links
          headers: {}
          x-apidog-name: Success
        '404':
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  error:
                    type: string
                    examples:
                      - Record not found
                x-apidog-orders:
                  - error
                required:
                  - error
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: 'API Reference/Public API/Mobile App '
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-4063018-run
components:
  schemas:
    HomePage::Web:
      type: object
      properties:
        type:
          type: string
          const: web
        url:
          type: string
          format: uri
          examples:
            - https://website.com/foo
          description: Address that contains content to display
      x-apidog-orders:
        - type
        - url
      required:
        - type
        - url
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    HomePage::Inline:
      type: object
      properties:
        type:
          type: string
          const: inline
        components:
          type: array
          items:
            type: object
            properties: {}
            x-apidog-orders: []
            description: >-
              List of components the Page is built of - see:
              [ComponentsSchema](doc-341662#public-componentsschema-model)
            additionalProperties: true
            x-apidog-ignore-properties: []
      x-apidog-orders:
        - type
        - components
      required:
        - type
        - components
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```