openapi: 3.0.1
info:
  title: Extpose
  description: 'Extpose — in‑store performance analytics and optimization tool for Chrome extensions. [https://extpose.com](https://extpose.com)'
  termsOfService: https://extpose.com/privacy-policy
  contact:
    email: info@extpose.com
  version: 1.0.0
externalDocs:
  description: Find out more about Extpose
  url: https://extpose.com
servers:
- url: https://extpose.com/api/v1
tags:
- name: user
  description: user-specific methods
paths:
  /user-extensions:
    get:
      tags:
      - user
      summary: Get User Extensions
      description: This endpoint allows you to get list of your extensions including extensions from the watchlist.
      operationId: getUserExtensions
      responses:
        200:
          description: successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Extension'
        400:
          description: Invalid status value
          content: {}
      security:
      - api_key: []
components:
  schemas:
    Extension:
      type: object
      properties:
        extension_id:
          type: integer
          format: int64
        url:
          type: string
          format: uri
        update_ts:
          type: string
          format: date-time
        install_count:
          type: integer
          format: int64
        avg_rating:
          type: number
          format: float
        rating_count:
          type: integer
          format: int64
        prev_install_count:
          type: integer
          format: int64
        prev_rating_count:
          type: integer
          format: int64
        prev_avg_rating:
          type: number
          format: float
      example:
          avg_rating: 4.5
          extension_id: 4186
          install_count: 2333
          prev_avg_rating: 4.57142857142857
          prev_install_count: 1225
          prev_rating_count: 7
          rating_count: 10
          update_ts: 'Tue, 24 Sep 2019 22:16:41 GMT'
          url: 'https://chrome.google.com/webstore/detail/bitcoin-price-ticker/bgddejjmhilkdllbakkgddjodommlimc'
  securitySchemes:
    api_key:
      type: apiKey
      name: X-API-Key
      in: header
