---
openapi: 3.0.0
info:
  title: Installation
  version: '2.1'
servers:
- url: https://wappsto.com/services/2.1
  description: Server to connect to the API
components:
  schemas:
    Deletelist:
      title: Deletelist
      type: object
      properties:
        deleted:
          type: array
          items:
            type: string
          description: List of deleted objects
        child_deleted:
          type: array
          items:
            type: string
          description: List of deleted children object related to the chosen objects
            to delete
        shared_deleted:
          type: array
          items:
            type: string
          description: List of removed objects previosly shared and accepted by the
            user
        shared_child_deleted:
          type: array
          items:
            type: string
          description: List of removed children objects previosly shared and accepted
            by the user related to the chosen objects to delete
        not_deleted:
          type: array
          items:
            type: string
          description: List of not deleted objects
        child_not_deleted:
          type: array
          items:
            type: string
          description: List of not deleted children object related to the chosen objects
            to delete
        shared_not_deleted:
          type: array
          items:
            type: string
          description: List of not removed objects previosly shared and accepted by
            the user
        shared_child_not_deleted:
          type: array
          items:
            type: string
          description: List of not removed children objects previosly shared and accepted
            by the user related to the chosen objects to delete
        pending:
          type: array
          items:
            type: string
          description: List of objects that will be deleted eventually
        child_pending:
          type: array
          items:
            type: string
          description: List of children objects that will be deleted eventually
        owned_not_deleted_because_it_has_parent:
          type: array
          items:
            type: string
          description: List of owned object not deleted since they have a parent
        shared_not_deleted_because_it_has_parent:
          type: array
          items:
            type: string
          description: List of shared object not deleted since they have a parent
        code:
          type: integer
          description: Code of the deletion
        message:
          type: string
          description: Final status of the deletion
        error:
          type: string
          description: Possible incurred errors
        meta:
          type: object
          description: Meta data of the object
        unsuccessful:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              message:
                type: string
              data:
                type: object
          description: An array that includes a more deep description about the reason
            of unsuccessful deletions
      additionalProperties: false
      description: Output obtained when one or multiple objects are deleted with a
        DELETE request
    Httpresponse:
      title: Httpresponse
      type: object
      properties:
        message:
          type: string
          description: Message of the error
        data:
          type: object
          description: More information about the error
        code:
          type: integer
          description: Identifier code of the error
        service:
          type: string
          description: Service that sent the error
        meta:
          type: object
          description: Meta data of the object
      additionalProperties: false
      description: Output obtain when a fast communication is returned (usually an
        error)
    Idlist:
      title: Idlist
      type: object
      properties:
        id:
          items:
            type: string
            pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          type: array
          description: Ids found
        more:
          type: boolean
          description: If true, it means that using offset it is possible to retrieve
            other values
        limit:
          type: integer
          multipleOf: 1
          minimum: 1
          description: Limit used to retrieve the ids
        count:
          type: integer
          multipleOf: 1
          minimum: 0
          description: Number of ids returned
        data:
          type: object
          description: Further information in relation of the service
        child:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              version:
                type: string
                pattern: "(\\d+)\\.(\\d+)"
          description: It is an array that gives a brief description of the type and
            the version of the retrieved objects
        meta:
          type: object
      additionalProperties: false
      description: Output obtain when a list is returned
    Fetch:
      title: Fetch
      type: object
      properties:
        filter:
          type: object
        return:
          type: string
          description: A graphQL string that describes the format it needs to be returned
        table:
          type: boolean
          description: If true, use iot table to fetch the data
        data:
          type: object
          description: The output obtained after filtering and parsing the results
            with the GraphQL request
        meta:
          type: object
          description: Meta data of the object
      additionalProperties: false
      description: Output obtained when the input is a fetch request
    Installation:
      title: Installation
      type: object
      properties:
        application:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        version_id:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        title:
          type: string
          description: Title of the installation
          example: New installation
        name:
          type: string
          description: Name of the Application
          example: Pananix Digital Side Compressor
        author:
          type: string
          description: The author of the application
          example: Phontforge
        supported_features:
          items:
            type: string
          type: array
          description: The type of the application
          example:
          - foreground
        version_app:
          type: string
          pattern: "\\d+(\\.\\d+)*"
          description: The version of the application
          example: 1.0.0
        session_user:
          type: boolean
          description: If true, the application has administration permission
          example: false
        native:
          type: boolean
          description: If true, the application has been integrated directly into
            the server
        name_folder:
          type: string
          description: Folder of the application, if the application has been integrated
            directly into the server
        icon:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        uninstallable:
          type: boolean
          description: Return if an installation can be uninstalled or not
        upgrade:
          type: boolean
          description: Used to upgrade an installation
        ignore_this_notification:
          type: string
          description: Identifier of the notification that we want to ignore
          example: []
        token_installation:
          type: string
          description: A token to use extsync with this installation
          example: 25cf08ccf325076bf32e226c94283956c11715f3634542392ac3f252dcdbf3fa9825ea0f04dab95257a6fc53669c3730435c005d4193f68988de59604993b650
        extsync:
          type: boolean
          description: If false, the token_installation cannot be used to communicate
            with the installation
          example: false
        restart:
          type: object
          additionalProperties: false
          properties:
            new_process:
              type: boolean
            new_user:
              type: boolean
            stop_background:
              type: boolean
          description: Options for restarting the installation
        status:
          type: object
          additionalProperties: false
          properties:
            background:
              type: string
            version:
              type: string
            payment:
              type: string
          description: Status of the background, session, version and payment of the
            installation
          example:
            background: no_background
            version: updated
        description:
          type: object
          additionalProperties: false
          properties:
            general:
              type: string
            foreground:
              type: string
            background:
              type: string
            widget:
              type: string
            version:
              type: string
          description: A list of descriptions for the application
          example:
            general: Distinctio dignissimos quam nemo maxime odio est aperiam. Ipsa
              consequatur distinctio sit error soluta sit. Doloremque explicabo aliquam
              commodi id. Totam ex est cupiditate quisquam enim aliquid nostrum.
            foreground: Separate the curds from the weythe slice of cheese is placed
              on top of the meat pattycut to size.
            background: Pancetta ground round brisket t-bone swine doner Kevin ball
              tip. Cow leberkas capicola shank kielbasa jerky. Meatloaf ribeye beef
              rump cow tongue. Andouille spare ribs salami Kevin sausage short ribs
              leberkas ham hock.
            widget: For the gs rolling down the street tha shiznit plizzay hizzouse
              it's 1993. Smokin' weed Mr. Buckwort through all the drama Snoopy Doggfada
              make a few ends smokin' indo I love my momma if you was me and I was
              you. Long beach the S oh yes with my mind on my money fo shizzle realer
              waddup how we do it rolling down the street Coupe de Ville.
            version: Out-of-pocket costs appeal second surgical opinion impaired risk
              health care provider risk. Beneficiary exclusion period reasonable and
              customary eligible expenses HMO R&C charge HIPAA medicare skilled nursing
              facility. Case management clinical practice guidelines assignment of
              benefits custodial care ambulatory care schedule of benefits and exclusions
              full-time student EAPs health employer data and information set.
        oauth_id:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        meta:
          type: object
          description: Meta data of the object
          example:
            id: 69953a50-023e-43f4-8d56-aab5ef16d728
            type: installation
            version: '2.1'
        oauth:
          type: array
          items:
            type: object
          description: Oauth owned by the installation
          example: []
      additionalProperties: false
      required:
      - application
      description: Each user can install one or multiple versions of an application.
        You can manage these installations with the service /installation.
    Oauth:
      title: Oauth
      type: object
      properties:
        client_id:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        name:
          type: string
          description: Name of the oauth
          example: Alexa
        expires:
          type: boolean
          description: Expiration time of the oauth
          example: true
        expired:
          type: boolean
          description: If the oauth expired
          example: false
        active:
          type: boolean
          description: If the oauth is active
          example: true
        installation_id:
          type: string
          pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
        meta:
          type: object
          description: Meta data of the object
          example:
            id: 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
            type: oauth
            version: '2.1'
      additionalProperties: false
      description: An oauth is used to create an oauth connection between a third
        party api and an installation
  parameters:
    url_id:
      name: :id
      in: path
      required: true
      description: Id of the given object
      schema:
        type: string
        pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
    url_hex:
      name: :token
      in: path
      required: true
      description: Token used for some operation
      schema:
        type: string
        pattern: "^[0-9a-fA-F]{64}$"
tags:
- name: Installation
  description: Each user can install one or multiple versions of an application. You
    can manage these installations with the service /installation.
- name: Oauth
  description: An oauth is used to create an oauth connection between a third party
    api and an installation
paths:
  "/installation":
    post:
      tags:
      - Installation
      summary: Fetch request of installation
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Installation"
            example:
              filter:
                id:
                - 69953a50-023e-43f4-8d56-aab5ef16d728
                - a4d6f916-b873-4f82-863f-3b036cb6b08e
              return: "{ installation {meta {id}}}"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Fetch"
              example:
                meta:
                  type: fetch
                  version: '2.0'
                data:
                  installation:
                  - meta:
                      id: 69953a50-023e-43f4-8d56-aab5ef16d728
                  - meta:
                      id: a4d6f916-b873-4f82-863f-3b036cb6b08e
    get:
      tags:
      - Installation
      summary: Retrieve list of installation
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Idlist"
              example:
                child:
                - type: installation
                  version: '2.1'
                id:
                - 69953a50-023e-43f4-8d56-aab5ef16d728
                - a4d6f916-b873-4f82-863f-3b036cb6b08e
                - 494bde03-abac-4ed5-bb95-30825f7417fb
                - bdce3bc7-6069-4dc6-8dd0-d2ee65c626f6
                more: false
                limit: 1000
                count: 4
                meta:
                  type: idlist
                  version: '2.1'
    head:
      tags:
      - Installation
      summary: Check if list of installation is retrievable
      parameters: []
      responses:
        '200':
          description: OK
    patch:
      tags:
      - Installation
      summary: Update multiple installations
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Installation"
            example:
              title: Other replaced title
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Installation"
              example:
              - oauth: []
                application: 54ca087b-7c5c-4397-bc58-9bbed36d6926
                version_id: d876eb5f-0658-49c3-9236-dec319fd5117
                title: Other replaced title
                name: Pananix Digital Side Compressor
                author: Phontforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: 25cf08ccf325076bf32e226c94283956c11715f3634542392ac3f252dcdbf3fa9825ea0f04dab95257a6fc53669c3730435c005d4193f68988de59604993b650
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Distinctio dignissimos quam nemo maxime odio est aperiam.
                    Ipsa consequatur distinctio sit error soluta sit. Doloremque explicabo
                    aliquam commodi id. Totam ex est cupiditate quisquam enim aliquid
                    nostrum.
                  foreground: Separate the curds from the weythe slice of cheese is
                    placed on top of the meat pattycut to size.
                  background: Pancetta ground round brisket t-bone swine doner Kevin
                    ball tip. Cow leberkas capicola shank kielbasa jerky. Meatloaf
                    ribeye beef rump cow tongue. Andouille spare ribs salami Kevin
                    sausage short ribs leberkas ham hock.
                  widget: For the gs rolling down the street tha shiznit plizzay hizzouse
                    it's 1993. Smokin' weed Mr. Buckwort through all the drama Snoopy
                    Doggfada make a few ends smokin' indo I love my momma if you was
                    me and I was you. Long beach the S oh yes with my mind on my money
                    fo shizzle realer waddup how we do it rolling down the street
                    Coupe de Ville.
                  version: Out-of-pocket costs appeal second surgical opinion impaired
                    risk health care provider risk. Beneficiary exclusion period reasonable
                    and customary eligible expenses HMO R&C charge HIPAA medicare
                    skilled nursing facility. Case management clinical practice guidelines
                    assignment of benefits custodial care ambulatory care schedule
                    of benefits and exclusions full-time student EAPs health employer
                    data and information set.
                meta:
                  id: 69953a50-023e-43f4-8d56-aab5ef16d728
                  type: installation
                  version: '2.1'
              - oauth: []
                application: f10afa5d-4572-4afe-84c6-17172c8ec445
                version_id: 1bd1c67d-3bfd-43ad-96ad-9a81cac01510
                title: Other replaced title
                name: Reusche Performance Remote Ferrule
                author: Broffeforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: a744d2f9b796d279323726fb9be8de31a6886026f438e088a7b52513043621ec67d1c0ad069c528c29b440301362e62decd357a56c5cef4f6d7b6025d6f68f27
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Alias exercitationem distinctio eum perferendis. Ipsa tempora
                    vel cum voluptate quia aliquid excepturi tenetur. Quisquam assumenda
                    et ipsa voluptatem tenetur esse voluptatibus consequatur. Assumenda
                    a eius placeat eum hic at ut qui. Aliquid quia sint rerum id qui.
                  foreground: Blue fungi in creamsalt, pepper, mustard and vinegaris
                    like chalk and cheese.
                  background: Pork loin filet mignon sausage boudin fatback. Fatback
                    short loin hamburger salami jowl corned beef short ribs sirloin.
                    Kevin sirloin frankfurter shoulder ball tip short loin shank.
                    Tail pastrami turkey cow tongue short ribs pig. Hamburger pancetta
                    prosciutto meatloaf cow jowl strip steak.
                  widget: The lbc if you was me and I was you through all the drama
                    guess what? the Dogg Pound Coupe de Ville rolling down the street.
                    Recognize if you was me and I was you drizzle eighty degrees hizzouse.
                    Rizzoad bionic waddup fo rizzle now I'm on parole everybody got
                    they cups fizzle feel the breeze the dopest. If the ride is more
                    fly, then you must buy nasty the dopest realer feel the breeze
                    through all the drama bubbles in the tub. Guess what? bubbles
                    in the tub the dopest smokin' indo now I'm on parole the Magic
                    Johnson of rap.
                  version: Hcpcs preventive care general agent self-insured administrative
                    services only PCP managed care formulary. Eligible expenses COB
                    short-term medical insurance usual and customary charge pre-certification
                    master policy. Covered benefit lapse admitting privileges network
                    eligible dependent major medical. Accredited appeal full-time
                    student care plan hospice care staff model health care provider
                    claim national association of insurance commissioners.
                meta:
                  id: a4d6f916-b873-4f82-863f-3b036cb6b08e
                  type: installation
                  version: '2.1'
    delete:
      tags:
      - Installation
      summary: Delete all installation
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Deletelist"
              example:
                deleted:
                - a4d6f916-b873-4f82-863f-3b036cb6b08e
                - 494bde03-abac-4ed5-bb95-30825f7417fb
                - bdce3bc7-6069-4dc6-8dd0-d2ee65c626f6
                code: 105000004
                message: Cleared
                internal_code: documentstore_cleared
                meta:
                  type: deletelist
                  version: '2.1'
  "/installation/:id":
    get:
      tags:
      - Installation
      summary: Retrieve installation by ID
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Installation"
              example:
                oauth: []
                application: 54ca087b-7c5c-4397-bc58-9bbed36d6926
                version_id: d876eb5f-0658-49c3-9236-dec319fd5117
                title: New installation
                name: Pananix Digital Side Compressor
                author: Phontforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: 25cf08ccf325076bf32e226c94283956c11715f3634542392ac3f252dcdbf3fa9825ea0f04dab95257a6fc53669c3730435c005d4193f68988de59604993b650
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Distinctio dignissimos quam nemo maxime odio est aperiam.
                    Ipsa consequatur distinctio sit error soluta sit. Doloremque explicabo
                    aliquam commodi id. Totam ex est cupiditate quisquam enim aliquid
                    nostrum.
                  foreground: Separate the curds from the weythe slice of cheese is
                    placed on top of the meat pattycut to size.
                  background: Pancetta ground round brisket t-bone swine doner Kevin
                    ball tip. Cow leberkas capicola shank kielbasa jerky. Meatloaf
                    ribeye beef rump cow tongue. Andouille spare ribs salami Kevin
                    sausage short ribs leberkas ham hock.
                  widget: For the gs rolling down the street tha shiznit plizzay hizzouse
                    it's 1993. Smokin' weed Mr. Buckwort through all the drama Snoopy
                    Doggfada make a few ends smokin' indo I love my momma if you was
                    me and I was you. Long beach the S oh yes with my mind on my money
                    fo shizzle realer waddup how we do it rolling down the street
                    Coupe de Ville.
                  version: Out-of-pocket costs appeal second surgical opinion impaired
                    risk health care provider risk. Beneficiary exclusion period reasonable
                    and customary eligible expenses HMO R&C charge HIPAA medicare
                    skilled nursing facility. Case management clinical practice guidelines
                    assignment of benefits custodial care ambulatory care schedule
                    of benefits and exclusions full-time student EAPs health employer
                    data and information set.
                meta:
                  id: 69953a50-023e-43f4-8d56-aab5ef16d728
                  type: installation
                  version: '2.1'
    head:
      tags:
      - Installation
      summary: Check if installation by ID is retrievable
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
    post:
      tags:
      - Installation
      summary: Accept shared installation
      parameters:
      - "$ref": "#/components/parameters/url_id"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Installation"
            example: {}
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Installation"
              example:
                oauth: []
                application: f10afa5d-4572-4afe-84c6-17172c8ec445
                version_id: 1bd1c67d-3bfd-43ad-96ad-9a81cac01510
                name: Reusche Performance Remote Ferrule
                author: Broffeforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: 322bf12d838759bb3d2d930fb18f52802878ec41891b76607319e5e758daf878101f5db7a6c6f8b0fa2cbc5fefc0fdd5dff5bd7186379ca2205c438bea1dcda7
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Alias exercitationem distinctio eum perferendis. Ipsa tempora
                    vel cum voluptate quia aliquid excepturi tenetur. Quisquam assumenda
                    et ipsa voluptatem tenetur esse voluptatibus consequatur. Assumenda
                    a eius placeat eum hic at ut qui. Aliquid quia sint rerum id qui.
                  foreground: Blue fungi in creamsalt, pepper, mustard and vinegaris
                    like chalk and cheese.
                  background: Pork loin filet mignon sausage boudin fatback. Fatback
                    short loin hamburger salami jowl corned beef short ribs sirloin.
                    Kevin sirloin frankfurter shoulder ball tip short loin shank.
                    Tail pastrami turkey cow tongue short ribs pig. Hamburger pancetta
                    prosciutto meatloaf cow jowl strip steak.
                  widget: The lbc if you was me and I was you through all the drama
                    guess what? the Dogg Pound Coupe de Ville rolling down the street.
                    Recognize if you was me and I was you drizzle eighty degrees hizzouse.
                    Rizzoad bionic waddup fo rizzle now I'm on parole everybody got
                    they cups fizzle feel the breeze the dopest. If the ride is more
                    fly, then you must buy nasty the dopest realer feel the breeze
                    through all the drama bubbles in the tub. Guess what? bubbles
                    in the tub the dopest smokin' indo now I'm on parole the Magic
                    Johnson of rap.
                  version: Hcpcs preventive care general agent self-insured administrative
                    services only PCP managed care formulary. Eligible expenses COB
                    short-term medical insurance usual and customary charge pre-certification
                    master policy. Covered benefit lapse admitting privileges network
                    eligible dependent major medical. Accredited appeal full-time
                    student care plan hospice care staff model health care provider
                    claim national association of insurance commissioners.
                meta:
                  id: f9eac523-913c-4fd3-b6aa-74d7a82253d7
                  type: installation
                  version: '2.1'
    patch:
      tags:
      - Installation
      summary: Update an installation by ID
      parameters:
      - "$ref": "#/components/parameters/url_id"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Installation"
            example:
              title: Other title
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Installation"
              example:
                oauth: []
                application: 54ca087b-7c5c-4397-bc58-9bbed36d6926
                version_id: d876eb5f-0658-49c3-9236-dec319fd5117
                title: Other title
                name: Pananix Digital Side Compressor
                author: Phontforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: 25cf08ccf325076bf32e226c94283956c11715f3634542392ac3f252dcdbf3fa9825ea0f04dab95257a6fc53669c3730435c005d4193f68988de59604993b650
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Distinctio dignissimos quam nemo maxime odio est aperiam.
                    Ipsa consequatur distinctio sit error soluta sit. Doloremque explicabo
                    aliquam commodi id. Totam ex est cupiditate quisquam enim aliquid
                    nostrum.
                  foreground: Separate the curds from the weythe slice of cheese is
                    placed on top of the meat pattycut to size.
                  background: Pancetta ground round brisket t-bone swine doner Kevin
                    ball tip. Cow leberkas capicola shank kielbasa jerky. Meatloaf
                    ribeye beef rump cow tongue. Andouille spare ribs salami Kevin
                    sausage short ribs leberkas ham hock.
                  widget: For the gs rolling down the street tha shiznit plizzay hizzouse
                    it's 1993. Smokin' weed Mr. Buckwort through all the drama Snoopy
                    Doggfada make a few ends smokin' indo I love my momma if you was
                    me and I was you. Long beach the S oh yes with my mind on my money
                    fo shizzle realer waddup how we do it rolling down the street
                    Coupe de Ville.
                  version: Out-of-pocket costs appeal second surgical opinion impaired
                    risk health care provider risk. Beneficiary exclusion period reasonable
                    and customary eligible expenses HMO R&C charge HIPAA medicare
                    skilled nursing facility. Case management clinical practice guidelines
                    assignment of benefits custodial care ambulatory care schedule
                    of benefits and exclusions full-time student EAPs health employer
                    data and information set.
                meta:
                  id: 69953a50-023e-43f4-8d56-aab5ef16d728
                  type: installation
                  version: '2.1'
    put:
      tags:
      - Installation
      summary: Replace an installation by ID
      parameters:
      - "$ref": "#/components/parameters/url_id"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Installation"
            example:
              title: A new name 2
              application: 54ca087b-7c5c-4397-bc58-9bbed36d6926
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Installation"
              example:
                oauth: []
                application: 54ca087b-7c5c-4397-bc58-9bbed36d6926
                version_id: d876eb5f-0658-49c3-9236-dec319fd5117
                title: A new name 2
                name: Pananix Digital Side Compressor
                author: Phontforge
                supported_features:
                - foreground
                version_app: 1.0.0
                session_user: false
                ignore_this_notification: []
                token_installation: 25cf08ccf325076bf32e226c94283956c11715f3634542392ac3f252dcdbf3fa9825ea0f04dab95257a6fc53669c3730435c005d4193f68988de59604993b650
                extsync: false
                status:
                  background: no_background
                  version: updated
                description:
                  general: Distinctio dignissimos quam nemo maxime odio est aperiam.
                    Ipsa consequatur distinctio sit error soluta sit. Doloremque explicabo
                    aliquam commodi id. Totam ex est cupiditate quisquam enim aliquid
                    nostrum.
                  foreground: Separate the curds from the weythe slice of cheese is
                    placed on top of the meat pattycut to size.
                  background: Pancetta ground round brisket t-bone swine doner Kevin
                    ball tip. Cow leberkas capicola shank kielbasa jerky. Meatloaf
                    ribeye beef rump cow tongue. Andouille spare ribs salami Kevin
                    sausage short ribs leberkas ham hock.
                  widget: For the gs rolling down the street tha shiznit plizzay hizzouse
                    it's 1993. Smokin' weed Mr. Buckwort through all the drama Snoopy
                    Doggfada make a few ends smokin' indo I love my momma if you was
                    me and I was you. Long beach the S oh yes with my mind on my money
                    fo shizzle realer waddup how we do it rolling down the street
                    Coupe de Ville.
                  version: Out-of-pocket costs appeal second surgical opinion impaired
                    risk health care provider risk. Beneficiary exclusion period reasonable
                    and customary eligible expenses HMO R&C charge HIPAA medicare
                    skilled nursing facility. Case management clinical practice guidelines
                    assignment of benefits custodial care ambulatory care schedule
                    of benefits and exclusions full-time student EAPs health employer
                    data and information set.
                meta:
                  id: 69953a50-023e-43f4-8d56-aab5ef16d728
                  type: installation
                  version: '2.1'
    delete:
      tags:
      - Installation
      summary: Delete an installation by ID
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Deletelist"
              example:
                deleted:
                - 69953a50-023e-43f4-8d56-aab5ef16d728
                code: 105000003
                message: Deleted
                internal_code: documentstore_deleted
                meta:
                  type: deletelist
                  version: '2.1'
  "/oauth/authorize":
    get:
      tags:
      - Oauth
      summary: Request a request token
      parameters:
      - name: client_id
        in: query
        description: Client id of the oauth
        example: 300748ed-6e9f-417a-82c5-c6b31d8366d7
        schema:
          type: string
      - name: redirect_uri
        in: query
        description: Uri used to redirect
        example: https://redirect_here.com/validation
        schema:
          type: string
      - name: response_type
        in: query
        description: Type of response (code)
        example: code
        schema:
          type: string
      - name: installation
        in: query
        description: Installation that you want to obtain access
        example: 941a6bc8-ae29-40fb-bc4a-4f284a757414
        schema:
          type: string
      responses:
        '200':
          description: OAuth request was successful
  "/oauth/token":
    get:
      tags:
      - Oauth
      summary: Request an access token
      parameters:
      - name: client_id
        in: query
        description: Client id of the oauth
        example: 300748ed-6e9f-417a-82c5-c6b31d8366d7
        schema:
          type: string
      - name: grant_type
        in: query
        description: Type of grant (authorization_code or refresh_token)
        example: authorization_code
        schema:
          type: string
      - name: code
        in: query
        description: The request token used
        example: 45a9e43dd1e9fbfd94a19c0ba8cd1471
        schema:
          type: string
      - name: client_secret
        in: query
        description: Client secret used to authenticate the oauth
        example: a39758472bb46faf9eab21538b76ca0a84e83eaae8ebb481cda3289340e926d3
        schema:
          type: string
      - name: redirect_uri
        in: query
        description: Uri used to redirect
        example: https://redirect_here.com/validation
        schema:
          type: string
      - name: state
        in: query
        description: String to check if the message has been sent correctly
        example: my_state
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                access_token: 4b2c80e1939d74721f78cf72f5a95205
                token_type: bearer
                refresh_token: 1b78afc8b9ad57e1b78a2de72d7b6ac8
                expires: 3
                state: my_state
  "/oauth":
    get:
      tags:
      - Oauth
      summary: Retrieve list of oauth
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Idlist"
              example:
                child:
                - type: oauth
                  version: '2.1'
                id:
                - 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                - 6025f30a-fa0e-4aa2-9434-95492eb7279c
                - 58d2311b-8f8c-45a5-956e-1477394257a0
                - b7bc36f8-b118-4f6a-a9c6-6b5c1ed38508
                - cdd818ab-48de-46b4-a799-42a6a7dea95b
                more: false
                limit: 1000
                count: 5
                meta:
                  type: idlist
                  version: '2.1'
    head:
      tags:
      - Oauth
      summary: Check if list of oauth is retrievable
      parameters: []
      responses:
        '200':
          description: OK
    post:
      tags:
      - Oauth
      summary: Fetch request of oauth
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Oauth"
            example:
              filter:
                id:
                - 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                - 6025f30a-fa0e-4aa2-9434-95492eb7279c
              return: "{ oauth {meta {id}}}"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Fetch"
              example:
                meta:
                  type: fetch
                  version: '2.0'
                data:
                  oauth:
                  - meta:
                      id: 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                  - meta:
                      id: 6025f30a-fa0e-4aa2-9434-95492eb7279c
    delete:
      tags:
      - Oauth
      summary: Delete multiple oauth
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Deletelist"
              example:
                deleted:
                - 58d2311b-8f8c-45a5-956e-1477394257a0
                - b7bc36f8-b118-4f6a-a9c6-6b5c1ed38508
                - cdd818ab-48de-46b4-a799-42a6a7dea95b
                code: 105000004
                message: Cleared
                internal_code: documentstore_cleared
                meta:
                  type: deletelist
                  version: '2.1'
  "/oauth/:id":
    get:
      tags:
      - Oauth
      summary: Retrieve oauth by ID
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Oauth"
              example:
                client_id: 300748ed-6e9f-417a-82c5-c6b31d8366d7
                name: Alexa
                expires: true
                expired: false
                active: true
                meta:
                  id: 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                  type: oauth
                  version: '2.1'
    head:
      tags:
      - Oauth
      summary: Check if oauth by ID is retrievable
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
    post:
      tags:
      - Oauth
      summary: Fetch request of oauth
      parameters:
      - "$ref": "#/components/parameters/url_id"
      requestBody:
        content:
          application/json:
            schema:
              "$ref": "#/components/schemas/Oauth"
            example:
              return: "{ object: oauth {meta {id} client_id}}"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Fetch"
              example:
                meta:
                  type: fetch
                  version: '2.0'
                data:
                  object:
                  - client_id: 300748ed-6e9f-417a-82c5-c6b31d8366d7
                    meta:
                      id: 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
    delete:
      tags:
      - Oauth
      summary: Delete an oauth
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Deletelist"
              example:
                deleted:
                - 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                code: 105000003
                message: Deleted
                internal_code: documentstore_deleted
                meta:
                  type: deletelist
                  version: '2.1'
  "/installation/:id/oauth":
    get:
      tags:
      - Oauth
      summary: Retrieve list of oauth children of installation
      parameters:
      - "$ref": "#/components/parameters/url_id"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                "$ref": "#/components/schemas/Idlist"
              example:
                child:
                - type: oauth
                  version: '2.1'
                id:
                - 8ba23ff6-0b25-4f85-a2f3-48e20166d66e
                more: false
                limit: 1000
                count: 1
                meta:
                  type: idlist
                  version: '2.1'
