openapi: 3.0.0
info:
  title: Unified.to PASSTHROUGH API
  version: "1.0"
  description: One API to Rule Them All
  contact:
    email: hello@unified.to
    url: https://unified.to/contact
  termsOfService: https://unified.to/tos
externalDocs:
  description: API Documentation
  url: https://docs.unified.to
tags:
  - name: unifiedapi
    description: Unified.to API
  - name: passthrough
security:
  - jwt: []
servers:
  - url: https://api.unified.to
    description: North American data region
  - url: https://api-eu.unified.to
    description: European data region
  - url: https://api-au.unified.to
    description: Australian data region
components:
  securitySchemes:
    jwt:
      type: apiKey
      name: authorization
      in: header
  requestBodies: {}
  schemas: {}
paths:
  /passthrough/{connection_id}/{path}:
    post:
      summary: Passthrough POST
      parameters:
        - name: query
          in: query
          explode: true
          style: form
          schema:
            additionalProperties: true
        - schema:
            type: string
          description: ID of the connection
          name: connection_id
          in: path
          required: true
        - schema:
            type: string
          name: path
          in: path
          required: true
      tags:
        - passthrough
      requestBody:
        description: integration-specific payload
        content:
          application/json:
            schema: {}
          text/plain:
            schema: {}
          "*/*":
            schema:
              type: string
              format: binary
      responses:
        "204":
          description: No content
          headers:
            Date:
              required: false
              schema:
                type: string
        "205":
          description: Reset content
          headers:
            Date:
              required: false
              schema:
                type: string
        "304":
          description: Not modified
          headers:
            Date:
              required: false
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
            application/xml:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            text/plain:
              schema:
                type: string
            "*/*":
              schema:
                type: string
                format: binary
          headers:
            Content-Type:
              required: false
              schema:
                type: string
          description: Successful
      security:
        - jwt: []
      operationId: createPassthrough
    put:
      summary: Passthrough PUT
      parameters:
        - name: query
          in: query
          explode: true
          style: form
          schema:
            additionalProperties: true
        - schema:
            type: string
          description: ID of the connection
          name: connection_id
          in: path
          required: true
        - schema:
            type: string
          name: path
          in: path
          required: true
      tags:
        - passthrough
      requestBody:
        description: integration-specific payload
        content:
          application/json:
            schema: {}
          text/plain:
            schema: {}
          "*/*":
            schema:
              type: string
              format: binary
      responses:
        "204":
          description: No content
          headers:
            Date:
              required: false
              schema:
                type: string
        "205":
          description: Reset content
          headers:
            Date:
              required: false
              schema:
                type: string
        "304":
          description: Not modified
          headers:
            Date:
              required: false
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
            application/xml:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            text/plain:
              schema:
                type: string
            "*/*":
              schema:
                type: string
                format: binary
          headers:
            Content-Type:
              required: false
              schema:
                type: string
          description: Successful
      security:
        - jwt: []
      operationId: updatePassthrough
    patch:
      summary: Passthrough PUT
      parameters:
        - name: query
          in: query
          explode: true
          style: form
          schema:
            additionalProperties: true
        - schema:
            type: string
          description: ID of the connection
          name: connection_id
          in: path
          required: true
        - schema:
            type: string
          name: path
          in: path
          required: true
      tags:
        - passthrough
      requestBody:
        description: integration-specific payload
        content:
          application/json:
            schema: {}
          text/plain:
            schema: {}
          "*/*":
            schema:
              type: string
              format: binary
      responses:
        "204":
          description: No content
          headers:
            Date:
              required: false
              schema:
                type: string
        "205":
          description: Reset content
          headers:
            Date:
              required: false
              schema:
                type: string
        "304":
          description: Not modified
          headers:
            Date:
              required: false
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
            application/xml:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            text/plain:
              schema:
                type: string
            "*/*":
              schema:
                type: string
                format: binary
          headers:
            Content-Type:
              required: false
              schema:
                type: string
          description: Successful
      security:
        - jwt: []
      operationId: patchPassthrough
    get:
      summary: Passthrough GET
      parameters:
        - name: query
          in: query
          explode: true
          style: form
          schema:
            additionalProperties: true
        - schema:
            type: string
          description: ID of the connection
          name: connection_id
          in: path
          required: true
        - schema:
            type: string
          name: path
          in: path
          required: true
      tags:
        - passthrough
      responses:
        "204":
          description: No content
          headers:
            Date:
              required: false
              schema:
                type: string
        "205":
          description: Reset content
          headers:
            Date:
              required: false
              schema:
                type: string
        "304":
          description: Not modified
          headers:
            Date:
              required: false
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
            application/xml:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            text/plain:
              schema:
                type: string
            "*/*":
              schema:
                type: string
                format: binary
          headers:
            Content-Type:
              required: false
              schema:
                type: string
          description: Successful
      security:
        - jwt: []
      operationId: listPassthroughs
    delete:
      summary: Passthrough DELETE
      parameters:
        - name: query
          in: query
          explode: true
          style: form
          schema:
            additionalProperties: true
        - schema:
            type: string
          description: ID of the connection
          name: connection_id
          in: path
          required: true
        - schema:
            type: string
          name: path
          in: path
          required: true
      tags:
        - passthrough
      responses:
        "204":
          description: No content
          headers:
            Date:
              required: false
              schema:
                type: string
        "205":
          description: Reset content
          headers:
            Date:
              required: false
              schema:
                type: string
        "304":
          description: Not modified
          headers:
            Date:
              required: false
              schema:
                type: string
        default:
          content:
            application/json:
              schema: {}
            application/xml:
              schema:
                type: string
            text/csv:
              schema:
                type: string
            text/plain:
              schema:
                type: string
            "*/*":
              schema:
                type: string
                format: binary
          headers:
            Content-Type:
              required: false
              schema:
                type: string
          description: Successful
      security:
        - jwt: []
      operationId: removePassthrough
