Authentication in Custom Connectors
The authentication method of the Blink API is not natively supported by Power Automate. An action is therefore required to log in.
The following Swagger 2 definition can be used for authentication.
Attention: Adjust the host address for your Blink system in the definition file before the import or after the import in your Custom Connector!
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: []