Chatwork 用 Azure Logic Apps カスタムコネクタ


あちこちに引っ越しがちなのでメモ。

swagger: '2.0'
info: {title: Default title, description: major chatwork APIs, version: '1.0'}
host: api.chatwork.com
basePath: /v2
schemes: [https]
consumes: []
produces: []
paths:
  /rooms/{room_id}/messages:
    post:
      responses:
        default:
          description: default
          schema: {}
      summary: Post Chat Message
      description: 指定のRoomIDにメッセージを投稿します。
      operationId: PostChat
      x-ms-visibility: important
      parameters:
      - {name: room_id, in: path, required: true, type: string}
      - {name: body, in: query, required: true, type: string, description: 'メッセージ本文。書式は、https://developer.chatwork.com/ja/messagenotation.html
          を参照。', x-ms-summary: Body, x-ms-visibility: important}
      - {name: self_unread, in: query, required: false, type: integer, default: 1,
        description: 追加したメッセージを自分から見て未読とするか, x-ms-summary: self_unread, x-ms-visibility: advanced,
        format: int32}
definitions: {}
parameters: {}
responses: {}
securityDefinitions:
  API Key: {type: apiKey, in: header, name: X-ChatWorkToken}
security:
- API Key: []
tags: []