# Show Website

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/content/website:
    get:
      summary: Show Website
      deprecated: false
      description: ''
      tags:
        - API Reference/Public API/Website
      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:
                  website:
                    $ref: '#/components/schemas/Website'
                x-apidog-orders:
                  - website
                required:
                  - website
                x-apidog-ignore-properties: []
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Public API/Website
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3510887-run
components:
  schemas:
    Website:
      type: object
      properties:
        primary_domain:
          type: string
          nullable: true
        secondary_domains:
          type: array
          items:
            type: string
          nullable: true
        primary_language:
          type: string
          examples:
            - en
        secondary_languages:
          type: array
          items:
            type: string
          examples:
            - - 'no'
              - pl
        service_pages:
          type: object
          properties:
            home_page: &ref_0
              $ref: '#/components/schemas/WebsiteServicePage'
            articles_list: *ref_0
            article_page: *ref_0
            events_list: *ref_0
            event_page: *ref_0
            promotions_list: *ref_0
            promotion_page: *ref_0
            stores_list: *ref_0
            store_page: *ref_0
            jobs_list: *ref_0
            job_page: *ref_0
            press_releases_list: *ref_0
            press_release_page: *ref_0
          x-apidog-orders:
            - home_page
            - articles_list
            - article_page
            - events_list
            - event_page
            - promotions_list
            - promotion_page
            - stores_list
            - store_page
            - jobs_list
            - job_page
            - press_releases_list
            - press_release_page
          required:
            - home_page
            - articles_list
            - article_page
            - events_list
            - event_page
            - promotions_list
            - promotion_page
            - stores_list
            - store_page
            - jobs_list
            - job_page
            - press_releases_list
            - press_release_page
          readOnly: true
          description: Service pages setup
          x-apidog-ignore-properties: []
        layout:
          type: object
          properties:
            components:
              type: array
              items:
                type: object
                properties: {}
                x-apidog-orders: []
                description: ComponentsSchema
                additionalProperties: true
                x-apidog-ignore-properties: []
          required:
            - components
          x-apidog-orders:
            - components
          description: (WIP) Describes general layout of the website
          x-apidog-ignore-properties: []
        config:
          type: object
          properties: {}
          x-apidog-orders: []
          description: |
            Contains arbitrary configuration values for the website
          additionalProperties: true
          x-apidog-ignore-properties: []
          nullable: true
        service_name:
          type: string
          nullable: true
        service_namespace:
          type: string
          enum:
            - app-cms-bento
            - app-cms-websites
            - app-lucee-websites
          x-apidog-enum:
            - value: app-cms-bento
              name: ''
              description: ''
            - value: app-cms-websites
              name: ''
              description: ''
            - value: app-lucee-websites
              name: ''
              description: ''
          examples:
            - app-cms-websites
        favicon:
          $ref: '#/components/schemas/File'
          description: 'Must be uploaded as a file of type: cms_website_favicon'
          readOnly: true
        tracking_identifiers:
          description: Used for tracking purposes e.g. google analytics
          $ref: '#/components/schemas/cms.tracking_identifiers'
      required:
        - primary_domain
        - secondary_domains
        - primary_language
        - secondary_languages
        - service_pages
        - layout
        - config
        - service_name
        - service_namespace
        - favicon
        - tracking_identifiers
      x-apidog-orders:
        - primary_domain
        - secondary_domains
        - primary_language
        - secondary_languages
        - service_pages
        - layout
        - config
        - service_name
        - service_namespace
        - favicon
        - tracking_identifiers
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    cms.tracking_identifiers:
      type: array
      items:
        type: object
        properties:
          type:
            type: string
            enum:
              - google_analytics
              - google_tag_manager
              - facebook_pixel
            description: specifies type of identifier, e.g. google_analytics
            x-apidog-enum:
              - value: google_analytics
                name: ''
                description: ''
              - value: google_tag_manager
                name: ''
                description: ''
              - value: facebook_pixel
                name: ''
                description: ''
          value:
            type: string
        x-apidog-orders:
          - type
          - value
        required:
          - type
          - value
        x-apidog-ignore-properties: []
      x-apidog-folder: ''
    File:
      type: object
      properties:
        url:
          type: string
          format: uri
          readOnly: true
          examples:
            - https://example.com/image.png
        identifier:
          type: string
          description: Only present when parent record has many files
          examples:
            - '1'
        mime_type:
          type: string
          examples:
            - image/jpeg
          readOnly: true
          description: Only present in certain circumstances
          nullable: true
        created_at:
          type: string
          format: date-time
          examples:
            - '2022-11-09T15:46:00.252860Z'
        updated_at:
          type: string
          format: date-time
          readOnly: true
          examples:
            - '2022-11-09T15:46:00.252860Z'
        image_details:
          type: object
          properties:
            width:
              type: integer
              minimum: 1
            height:
              type: integer
              minimum: 1
          x-apidog-orders:
            - width
            - height
          x-apidog-ignore-properties: []
          nullable: true
      x-apidog-orders:
        - url
        - identifier
        - mime_type
        - created_at
        - updated_at
        - image_details
      required:
        - url
        - created_at
        - updated_at
      readOnly: true
      x-apidog-ignore-properties: []
      nullable: true
      x-apidog-folder: ''
    WebsiteServicePage:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/id'
        url:
          $ref: '#/components/schemas/cms.url'
      x-apidog-orders:
        - id
        - url
      required:
        - id
        - url
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    cms.url:
      type: string
      description: Address of the entity page on website
      examples:
        - path/to/:id
      readOnly: true
      x-apidog-folder: ''
    id:
      type: integer
      description: Primary identifier of the record
      format: uint64
      readOnly: true
      examples:
        - 1
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```