---
openapi: 3.0.0
paths:
  /accessPolicy:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "201":
          description: Created
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "409":
          description: Conflict
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
      operationId: postAccessPolicyItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/newMultirulePolicyRequest"
        required: true
      tags:
        - accessPolicy
    get:
      responses:
        "200":
          description: List of policies
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/existing_multirule_policies"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Policy Not Found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: getAccessPolicyCollection
      parameters:
        - name: offset
          in: query
          description: Starting index of the returned collection.
          schema:
            type: integer
            default: 0
        - name: limit
          in: query
          description: Maximum number of items that the caller can process at a time.
          schema:
            type: integer
            default: 1000
        - name: orderby
          in: query
          description: Sort order.
          schema:
            type: string
            default: name
        - name: name
          in: query
          description: The policy name.
          schema:
            type: string
            default: ""
      tags:
        - accessPolicy
  "/accessPolicy/{id}":
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
    put:
      responses:
        "204":
          description: Policy updated
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: putAccessPolicyItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/existingMultirulePolicy"
        required: true
      tags:
        - accessPolicy
    delete:
      responses:
        "204":
          description: Policy deleted
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Policy not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "409":
          description: Conflict
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: deleteAccessPolicyItem
      tags:
        - accessPolicy
    get:
      responses:
        "200":
          description: Policy
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/newMultirulePolicyWithId"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Policy not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: getAccessPolicyItem
      tags:
        - accessPolicy
  /api-specification:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    get:
      responses:
        "200":
          description: ApiSpecification
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Accept:
              description: Returns yaml if set to application/x-yaml otherwise json
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Accept:
              description: Returns yaml if set to application/x-yaml otherwise json
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Accept:
              description: Returns yaml if set to application/x-yaml otherwise json
              schema:
                type: string
      operationId: getApiSpecification
      tags:
        - apiSpecification
  /applications:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "201":
          description: Application created
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Graph_New_Application_front_facing"
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: "Return: Newly created application and/or status code"
      operationId: postApplicationItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Graph_New_Applications_front_facing"
        required: true
      tags:
        - applications
    get:
      responses:
        "200":
          description: List of applications
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/existing_apps_front_facing"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: "Return: Paginated list of applications"
      operationId: getApplicationCollection
      parameters:
        - name: offset
          in: query
          description: Starting index of the returned collection.
          schema:
            type: integer
            default: 0
        - name: limit
          in: query
          description: Maximum number of items that the caller can process at a time.
          schema:
            type: integer
            default: 1000
        - name: orderby
          in: query
          description: Sort order.
          schema:
            type: string
            default: name
        - name: name
          in: query
          description: The application name.
          schema:
            type: string
            default: ""
        - name: type
          in: query
          description: The application type.
          schema:
            type: string
            default: ""
      tags:
        - applications
  "/applications/{id}":
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: string
    put:
      responses:
        "204":
          description: Application updated
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Application not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "409":
          description: Icon already in use. Returns application object that is using the
            icon.
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: "Return: single updated application"
      description: |-
        All fields are mandatory, but
        can be set to null to indicate
        an unset state.
      operationId: putApplicationItem
      parameters:
        - name: action
          in: query
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Graph_Existing_Application"
        required: true
      tags:
        - applications
    delete:
      responses:
        "204":
          description: Application deleted
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Application not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: Deletes application matching id
      description: If graphDB is enabled, validate the primary and secondary databases
        before returning
      operationId: deleteApplicationItem
      tags:
        - applications
    get:
      responses:
        "200":
          description: Application with ID
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Graph_New_Application_front_facing"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Application not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            Accept:
              description: application/json
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: "Return: single application by id"
      operationId: getApplicationItem
      parameters:
        - name: action
          in: query
          schema:
            type: string
      tags:
        - applications
  /certificate:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "201":
          description: Certificate created
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/customer_certificate_response"
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
      summary: Uploads a certificate
      operationId: postCustomerCertificateItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/customer_certificate_request"
        required: true
      tags:
        - certificate
    get:
      responses:
        "200":
          description: List of certificates
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/all_customer_certificates"
        "400":
          description: Unable to get all certificates
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: Retrieves information of uploaded certificates
      operationId: getCustomerCertificateCollection
      tags:
        - certificate
  "/certificate/application/{application_id}/domain/{domain}":
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
      - name: application_id
        in: path
        required: true
        schema:
          type: string
      - name: domain
        in: path
        required: true
        schema:
          type: string
    put:
      responses:
        "204":
          description: Application certificate updated
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "400":
          description: invalidJson
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: Associates an existing certificate to a specific application and domain
      operationId: putApplicationCertificateItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/customer_certificate_id"
        required: true
      tags:
        - certificate
    delete:
      responses:
        "204":
          description: Application certificate deleted
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "400":
          description: Application ID and domain are mandatory arguments
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Certificate association not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: Deletes the association between an existing certificate to a specific
        application and domain
      operationId: deleteApplicationCertificateItem
      tags:
        - certificate
    get:
      responses:
        "200":
          description: Application certificate fetched
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/application_certificate_response"
        "400":
          description: Invalid Application URL
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Certificate Not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      summary: Retrieves the association between an existing certificate to a specific
        application and domain
      operationId: getApplicationCertificateItem
      tags:
        - certificate
  /routingDomains:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "201":
          description: Route added
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Routing_Detail"
        "400":
          description: Request error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "409":
          description: Conflict
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
      operationId: postRoutingDomainsItem
      requestBody:
        $ref: "#/components/requestBodies/Routing_Detail"
      tags:
        - routingDomains
    get:
      responses:
        "200":
          description: Routing Domains List
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Graph_Routing_Domain_List_with_ID"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Routing Domains  Not Found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: getRoutingDomainsCollection
      parameters:
        - name: status
          in: query
          description: Fetch status of routing domains instead of full list
          schema:
            type: boolean
            default: false
        - name: offset
          in: query
          description: The starting index of the returned collection
          schema:
            type: integer
            default: 0
        - name: limit
          in: query
          description: Specifying the maximum number of items that the caller can process
            at a time
          schema:
            type: integer
            default: 1000
        - name: orderby
          in: query
          description: Sort order in increasing alpha
          schema:
            type: string
            default: ""
      tags:
        - routingDomains
  /routingDomains/reset:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "200":
          description: Routing Domains reset
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Routing_Detail"
        "201":
          description: All Routing Domains Successfully Reset (regenerated from existing
            apps)
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Graph_Routing_Domain_List_with_ID"
        "400":
          description: Request error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: postRoutingDomainsReset
      tags:
        - routingDomains
  /routingDomains/search:
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
    post:
      responses:
        "200":
          description: Routing Domains List
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Routing_Domain_List"
        "400":
          description: Request error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Route not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: postRoutingDomainsSelectedList
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/FQDN_List"
        required: true
      tags:
        - routingDomains
  "/routingDomains/{fqdn}":
    parameters:
      - name: Citrix-Customerid
        in: header
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      - name: Accept
        in: header
        required: true
        schema:
          type: string
      - name: Citrix-TransactionId
        in: header
        schema:
          type: string
      - name: fqdn
        in: path
        required: true
        schema:
          type: string
    put:
      responses:
        "204":
          description: Route updated
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Routing_Detail"
        "400":
          description: Request error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "404":
          description: Route not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
            Location:
              description: Hostname/top-level domain
              schema:
                type: string
      operationId: putRoutingDomainsItem
      requestBody:
        $ref: "#/components/requestBodies/Routing_Detail"
      tags:
        - routingDomains
    delete:
      responses:
        "204":
          description: Route deleted
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "400":
          description: Request error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Route not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: deleteRoutingDomainsItem
      tags:
        - routingDomains
    get:
      responses:
        "200":
          description: Routing Domain
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Routing_Detail"
        "401":
          description: Authentication Error
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "404":
          description: Route not found
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
        "406":
          description: Not Acceptable
          headers:
            Cache-Control:
              description: no-cache, no-store
              schema:
                type: string
            Content-Type:
              description: application/json; charset=utf-8
              schema:
                type: string
            X-Content-Type-Options:
              description: nosniff
              schema:
                type: string
            Citrix-TransactionId:
              description: Transaction ID that will be used to track this request. If not
                provided, a new GUID will be generated and returned.
              schema:
                type: string
      operationId: getRoutingDomainsItem
      tags:
        - routingDomains
info:
  title: Public Gateway Core Config API
  version: "1.0"
  description: A Public API customers use to configure web & saas applications for NGS
tags:
  - name: applications
    description: Public Customer API - Applications collection
  - name: certificate
    description: Public Customer API - Application certificates collection
  - name: apiSpecification
    description: Public Customer API - Specification
  - name: routingDomains
    description: Public Customer API - Adaptive Access routing collection
  - name: accessPolicy
    description: Public Customer API - Adaptive Access policies collection
servers:
  - url: /accessSecurity
components:
  responses:
    ParseError:
      description: When a mask can't be parsed
    MaskError:
      description: When any error occurs on mask
  requestBodies:
    Routing_Detail:
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Routing_Detail"
      required: true
  schemas:
    Graph_New_Applications_front_facing:
      allOf:
        - $ref: "#/components/schemas/base_application_front_facing"
        - $ref: "#/components/schemas/Graph_Related_URLs_Optional"
        - $ref: "#/components/schemas/Icon"
        - $ref: "#/components/schemas/Graph_SSO_Details"
        - properties:
            usingTemplate:
              type: boolean
              description: This field is required when creating non-ZTNA (secure)
                applications.
            templateName:
              description: Template name
              maxLength: 512
              nullable: true
              type: string
          type: object
    base_application_front_facing:
      required:
        - name
        - type
      properties:
        name:
          type: string
          description: Name of this application
          minLength: 1
          maxLength: 512
        type:
          type: string
          description: Type of application
          example: web
          enum:
            - web
            - saas
            - ztna
        description:
          description: Description of this application
          minLength: 1
          maxLength: 2048
          nullable: true
          type: string
        category:
          description: category of this application
          minLength: 1
          maxLength: 2048
          nullable: true
          type: string
        keywords:
          example: []
          nullable: true
          type: array
          items: {}
        locations:
          type: array
          items:
            $ref: "#/components/schemas/location"
        url:
          type: string
          description: Application URL. This field is required when creating non-ZTNA
            (secure) applications.
          example: https://sample.com
        policies:
          type: array
          items:
            $ref: "#/components/schemas/new_policy_capability"
        sbsOnlyLaunch:
          example: true
          nullable: true
          type: boolean
        mobileSecurity:
          example: true
          nullable: true
          type: boolean
        customerDomainFields:
          example: {}
          oneOf:
            - type: object
            - type: array
              items: {}
            - type: string
          nullable: true
        hidden:
          type: boolean
          description: Whether to hide the App
          default: false
        agentlessAccess:
          example: true
          nullable: true
          type: boolean
        destination:
          example: []
          nullable: true
          type: array
          items: {}
        policyCount:
          description: Contextual Policy count associated with application
          nullable: true
          type: string
        createdTime:
          type: object
          description: Application Created Time
      type: object
    location:
      required:
        - name
        - uuid
      properties:
        name:
          type: string
          description: Resource location friendly name
          minLength: 1
          maxLength: 512
        uuid:
          type: string
          description: Resource location UUID
          minLength: 1
          maxLength: 2048
      type: object
    new_policy_capability:
      required:
        - data
        - type
      properties:
        type:
          type: string
          example: patterns
          enum:
            - patterns
            - capability
        data:
          example: {}
          oneOf:
            - type: object
            - type: array
              items: {}
            - type: string
          nullable: true
      type: object
    Destination:
      properties:
        destination:
          type: string
          description: Destination Value shoud be one of the following 
        port:
          description: Port Number for the secureaccess App
          nullable: true
          type: string
        protocol:
          description: Protocol for the secureaccess App
          example: PROTOCOL_TCP
          enum:
            - PROTOCOL_TCP
            - PROTOCOL_UDP
          nullable: true
          type: string
        subtype:
          description: Subtype of secureaccess App
          example: SUBTYPE_HOSTNAME
          enum:
            - SUBTYPE_HOSTNAME
            - SUBTYPE_IP_AND_CIDR
            - SUBTYPE_IP_RANGE
          nullable: true
          type: string
      type: object
    Graph_Related_URLs_Optional:
      properties:
        relatedURLs:
          type: array
          description: This field is required when creating non-ZTNA (secure) applications.
          minItems: 1
          items:
            type: string
            pattern: (?=^.{4,253}$)(?:^(?!\.)(?:\*\.)?(?:(?!-)[a-zA-Z0-9-_]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z0-9]{1,63}$)
      type: object
    Icon:
      properties:
        icon:
          description: Base64 encoded icon data
          example: SXQgY2Fubm90IGJlIHNlZW4sIGNhbm5vdCBiZSBmZWx0LApDYW5ub3QgYmUgaGVhcmQsIGNhbm5vdCBiZSBzbWVsdC4KSXQgbGllcyBiZWhpbmQgc3RhcnMgYW5kIHVuZGVyIGhpbGxzLApBbmQgZW1wdHkgaG9sZXMgaXQgZmlsbHMuCkl0IGNvbWVzIGZpcnN0IGFuZCBmb2xsb3dzIGFmdGVyLApFbmRzIGxpZmUsIGtpbGxzIGxhdWdodGVyLgo=
          minLength: 1
          maxLength: 787246
          nullable: true
          type: string
        iconURL:
          type: string
          description: Application Icon Url
      type: object
    Graph_SSO_Details:
      properties:
        sso:
          type: object
      type: object
    Graph_New_Application_front_facing:
      allOf:
        - $ref: "#/components/schemas/Graph_New_Applications_front_facing"
        - $ref: "#/components/schemas/Graph_Application_ID"
        - properties:
            state:
              type: string
              description: Application state
          type: object
    Graph_Application_ID:
      required:
        - id
      properties:
        id:
          type: string
          description: Application identifier (unique)
      type: object
    existing_apps_front_facing:
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/Graph_New_Application_front_facing"
        totalNum:
          type: integer
      type: object
    Graph_Existing_Application:
      allOf:
        - $ref: "#/components/schemas/Base_Application_Optional"
        - $ref: "#/components/schemas/Icon"
        - $ref: "#/components/schemas/Graph_Related_URLs_Optional"
        - $ref: "#/components/schemas/Graph_SSO_Details"
        - properties:
            usingTemplate:
              type: boolean
              description: This field is required when creating non-ZTNA (secure)
                applications.
            templateName:
              description: Template name
              maxLength: 512
              nullable: true
              type: string
          type: object
    Base_Application_Optional:
      properties:
        name:
          type: string
          description: Name of this application
          minLength: 1
          maxLength: 512
        type:
          type: string
          description: Type of application
          example: web
          enum:
            - web
            - saas
            - ztna
        description:
          description: Description of this application
          minLength: 1
          maxLength: 2048
          nullable: true
          type: string
        category:
          description: category of this application
          minLength: 1
          maxLength: 2048
          nullable: true
          type: string
        keywords:
          example: []
          nullable: true
          type: array
          items: {}
        locations:
          type: array
          items:
            $ref: "#/components/schemas/location"
        url:
          type: string
          description: Application URL
          example: https://sample.com
        policies:
          type: array
          items:
            $ref: "#/components/schemas/new_policy_capability"
        sbsOnlyLaunch:
          example: true
          nullable: true
          type: boolean
        mobileSecurity:
          example: true
          nullable: true
          type: boolean
        customerDomainFields:
          example: {}
          oneOf:
            - type: object
            - type: array
              items: {}
            - type: string
          nullable: true
        hidden:
          type: boolean
          description: Whether to hide the App
          default: false
        agentlessAccess:
          example: true
          nullable: true
          type: boolean
        destination:
          example: []
          nullable: true
          type: array
          items: {}
        policyCount:
          description: Contextual Policy count associated with application
          nullable: true
          type: string
        createdTime:
          type: object
          description: Application Created Time
      type: object
    customer_certificate_request:
      allOf:
        - $ref: "#/components/schemas/customer_certificate_name"
        - required:
            - certificate
          properties:
            certificate:
              description: Base64 encoded certificate data
              nullable: true
              type: string
            certificatePassword:
              type: string
          type: object
    customer_certificate_name:
      required:
        - certificateName
      properties:
        certificateName:
          type: string
      type: object
    customer_certificate_response:
      allOf:
        - $ref: "#/components/schemas/customer_certificate_name"
        - required:
            - certificateId
          properties:
            certificateId:
              type: string
          type: object
    all_customer_certificates:
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/customer_certificate_response"
      type: object
    customer_certificate_id:
      required:
        - certificateId
      properties:
        certificateId:
          type: string
      type: object
    application_certificate_response:
      allOf:
        - $ref: "#/components/schemas/customer_certificate_name"
        - $ref: "#/components/schemas/customer_certificate_id"
        - required:
            - domain
          properties:
            domain:
              type: string
          type: object
    Routing_Detail:
      required:
        - comment
        - error
        - flag
        - fqdn
        - locationIds
        - type
      properties:
        fqdn:
          type: string
          description: Fqdn which needs to be routed
          maxLength: 255
        type:
          type: string
          description: "Type of routing entry: internal, external, external_via_connector,
            conflicting"
          example: internal
          enum:
            - internal
            - external
            - external_via_connector
            - conflicting
            - internal_bypass_proxy
        flag:
          type: string
          description: Routing entry is enabled or disabled
          default: enabled
          example: enabled
          enum:
            - enabled
            - disabled
        locationIds:
          type: array
          description: List of Resource location UUIDs
          default: []
          items:
            type: string
        error:
          type: string
          description: Any error associated with this routing entry
          default: none
          example: none
          enum:
            - none
            - multiple_rl
            - conflicting
            - missing_rl
            - conflicting and multiple_rl
            - conflicting and missing_rl
            - COMPLETE_OVERLAP
            - WARNING_PARTIAL_OVERLAP
            - WARNING_SUBSET_OVERLAP
            - WARNING_PARTIAL_AND_SUBSET_OVERLAP
        comment:
          type: string
          description: Admin to add some description to a routing entry
          default: ""
          maxLength: 64
        appType:
          type: string
          description: type of app binding to this routing entry
          default: ""
          example: ztna
          enum:
            - ztna
            - web
            - saas
            - ""
        ip:
          type: boolean
          description: whether the secure access app has ip based configuration
          default: false
      type: object
    Graph_Routing_Domain_List_with_ID:
      allOf:
        - $ref: "#/components/schemas/Routing_Domain_List"
        - properties:
            id:
              type: string
              description: Routing Domain identifier (unique)
            status:
              $ref: "#/components/schemas/Routing_Entry_Status"
          type: object
    Routing_Domain_List:
      required:
        - items
      properties:
        items:
          type: array
          default: []
          items:
            $ref: "#/components/schemas/Routing_Detail"
      type: object
    Routing_Entry_Status:
      required:
        - errCount
        - statusCode
        - statusText
      properties:
        statusCode:
          type: integer
        statusText:
          type: string
          example: Status OK
          enum:
            - Status OK
            - Status not checked
            - No routing entries exist
            - Error occurred during status check
            - Conflicting routing entries
            - Missing resource location
            - Multiple resource locations
            - IP/domain completely overlaps with existing entries. Please change
              the existing routing IP entry or configure a different destination
            - Partial overlap of IP domain with existing entries
            - Subset overlap of IP domain with existing entries
            - Partial and Subset overlaps of IP domains with existing entries
            - Conflicting routing entries and missing resource location
            - Conflicting routing entries and multiple resource locations
            - Missing as well as multiple resource locations
            - Conflicting routing entries. And Missing as well as multiple
              resource locations
        errCount:
          type: integer
      type: object
    FQDN_List:
      required:
        - fqdnList
      properties:
        fqdnList:
          type: array
          default: []
          items:
            type: string
      type: object
    newMultirulePolicyRequest:
      required:
        - accessRules
        - active
        - apps
        - name
        - priority
      properties:
        apps:
          type: array
          minItems: 1
          items:
            type: string
        name:
          type: string
          description: Name of this Policy
          minLength: 1
          maxLength: 512
        description:
          type: string
          maxLength: 512
        priority:
          type: integer
        active:
          type: boolean
        accessRules:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/accessRulesRequest"
      type: object
    accessRulesRequest:
      required:
        - access
        - active
        - priority
        - rules
      properties:
        name:
          type: string
          description: Name of access rule
          minLength: 1
          maxLength: 512
        id:
          type: string
        description:
          type: string
          maxLength: 512
        priority:
          type: integer
        active:
          type: boolean
        access:
          type: string
          example: ACCESS_DENY
          enum:
            - ACCESS_DENY
            - ACCESS_ALLOW
        accessNative:
          type: string
          example: ACCESS_DENY
          enum:
            - ACCESS_DENY
            - ACCESS_ALLOW
        restrictions:
          $ref: "#/components/schemas/RestrictionsRequest"
        rules:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/Rules"
        conditions:
          type: array
          items:
            $ref: "#/components/schemas/New_conditions"
      type: object
    RestrictionsRequest:
      properties:
        redirectSBS:
          type: boolean
        enhancedSecuritySettings:
          $ref: "#/components/schemas/enhancedSecuritySettingsRequest"
      type: object
    enhancedSecuritySettingsRequest:
      properties:
        clipboardV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        downloadV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        printingV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        toolbarV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        watermarkV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        keyLoggingV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        screenCaptureV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        uploadV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
      type: object
    Rules:
      required:
        - operator
        - type
        - values
      properties:
        type:
          type: string
          example: TYPE_TAG
          enum:
            - TYPE_TAG
            - TYPE_USERGROUP
            - TYPE_PLATFORM
            - TYPE_MACHINEGROUP
        operator:
          type: string
          example: OPERATOR_EQ
          enum:
            - OPERATOR_EQ
            - OPERATOR_IN
            - OPERATOR_CONTAINS
            - OPERATOR_LTE
            - OPERATOR_GTE
            - OPERATOR_NOT
            - OPERATOR_RANGE
        tagSource:
          type: string
        tagKey:
          type: string
        values:
          type: array
          minItems: 1
          items:
            type: string
        metadata:
          example: {}
          oneOf:
            - type: object
            - type: array
              items: {}
            - type: string
          nullable: true
      type: object
    New_conditions:
      properties:
        userAndGroups:
          example: {}
          oneOf:
            - type: object
            - type: array
              items: {}
            - type: string
          nullable: true
        platformFilter:
          type: string
          example: PLATFORM_FILTER_MOBILE
          enum:
            - PLATFORM_FILTER_MOBILE
            - PLATFORM_FILTER_PC
            - PLATFORM_FILTER_ANY
      type: object
    existing_multirule_policies:
      properties:
        items:
          type: array
          items:
            $ref: "#/components/schemas/newMultirulePolicyWithId"
        totalNum:
          type: integer
      type: object
    newMultirulePolicyWithId:
      allOf:
        - $ref: "#/components/schemas/newMultirulePolicyResponse"
        - required:
            - id
            - modified
          properties:
            id:
              type: string
              description: Policy identifier (unique)
            modified:
              type: object
          type: object
    newMultirulePolicyResponse:
      required:
        - accessRules
        - active
        - apps
        - name
        - priority
      properties:
        apps:
          type: array
          minItems: 1
          items:
            type: string
        name:
          type: string
          description: Name of this Policy
          minLength: 1
          maxLength: 512
        description:
          type: string
          maxLength: 512
        priority:
          type: integer
        active:
          type: boolean
        accessRules:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/accessRulesResponse"
      type: object
    accessRulesResponse:
      required:
        - access
        - active
        - priority
        - rules
      properties:
        name:
          type: string
          description: Name of access rule
          minLength: 1
          maxLength: 512
        id:
          type: string
        description:
          type: string
          maxLength: 512
        priority:
          type: integer
        active:
          type: boolean
        access:
          type: string
          example: ACCESS_DENY
          enum:
            - ACCESS_DENY
            - ACCESS_ALLOW
        accessNative:
          type: string
          example: ACCESS_DENY
          enum:
            - ACCESS_DENY
            - ACCESS_ALLOW
        restrictions:
          $ref: "#/components/schemas/RestrictionsResponse"
        rules:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/Rules"
        conditions:
          type: array
          items:
            $ref: "#/components/schemas/New_conditions"
      type: object
    RestrictionsResponse:
      properties:
        redirectSBS:
          type: boolean
        enhancedSecuritySettings:
          $ref: "#/components/schemas/enhancedSecuritySettingsResponse"
      type: object
    enhancedSecuritySettingsResponse:
      properties:
        _browserV1:
          type: string
          example: embeddedBrowser
          enum:
            - embeddedBrowser
        clipboardV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        downloadV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        printingV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        toolbarV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        watermarkV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        keyLoggingV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        screenCaptureV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
        proxyTrafficV1:
          type: string
          example: direct
          enum:
            - direct
            - secureBrowse
        uploadV1:
          type: string
          example: disabled
          enum:
            - disabled
            - enabled
      type: object
    existingMultirulePolicy:
      required:
        - accessRules
        - active
        - apps
        - name
        - priority
      properties:
        apps:
          type: array
          minItems: 1
          items:
            type: string
        name:
          type: string
          description: Name of this Policy
          minLength: 1
          maxLength: 512
        description:
          type: string
          maxLength: 512
        priority:
          type: integer
        active:
          type: boolean
        accessRules:
          type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/accessRulesRequest"
      x-mask: "{id}"
      type: object