Breadcrumbs

Authentifizierung in Custom Connectors

Die Authentifizierungsmethode der Blink API wird von Power Automate nicht nativ unterstützt. Daher ist eine Aktion zum Anmelden erforderlich.

Die folgende Swagger 2 Definition kann für die Authentifizierung verwendet werden.

Achtung: Passt die Host-Adresse für euer Blink-System in der Definitionsdatei vor dem Import oder nach dem Import in eurem Custom Connector an!

YAML
swagger: '2.0'
info:
  title: Blink Core Power App
  description: Use the Blink Core API Power App to access APIs of Blink Core.
  version: 1.0.0
host: spielwiese-api.blink.online
basePath: /
schemes:
  - https
consumes: []
produces: []
paths:
  /api/v2/auth:
    post:
      responses:
        default:
          description: default
          schema:
            type: object
            properties:
              id_token:
                type: string
                description: id_token
      summary: Blink Authentication
      operationId: BlinkCoreApiAuthV2
      parameters:
        - name: body
          in: body
          required: false
          schema:
            type: object
            properties:
              Username:
                type: string
                description: Username
                title: Benutzername
                x-ms-visibility: important
              Password:
                type: string
                description: Password
                title: Passwort
                format: password
                x-ms-visibility: important
              Device:
                type: object
                properties:
                  Number:
                    type: string
                    description: Number
                    title: ''
                    x-ms-visibility: internal
                    default: Microsoft Power Automate
                  Type:
                    type: string
                    description: Type
                    title: ''
                    default: Web
                    x-ms-visibility: internal
                  DeviceInfo:
                    type: string
                    description: DeviceInfo
                    title: ''
                    x-ms-visibility: internal
                    default: '{"appVersion":"1.0.0"}'
                description: Device
                required:
                  - Number
                  - Type
                  - DeviceInfo
              AuthMode:
                type: string
                description: AuthMode
                title: ''
                default: pwd
                x-ms-visibility: internal
            required:
              - AuthMode
              - Device
              - Password
              - Username
      x-ms-visibility: important
  /api/LocationEmployeeDetailsOverview: {}
definitions: {}
parameters: {}
responses: {}
securityDefinitions: {}
security: []
tags: []