Download OpenAPI specification:
Copyright SAKURA internet Inc.
「EventBus」は、さくらのクラウド上でイベント駆動型の処理を実現するためのサービスです。 EventBusのリソース(実行設定・スケジュール)を作成・削除するには、さくらのクラウド コントロールパネルか下記APIを利用します。 詳細はEventBus クラウドマニュアルを参照してください。
APIを利用するためには、認証のための「APIキー」が必要です。事前にキーを発行しておきます。 APIキーは「ユーザーID」「パスワード」に相当する「トークン」と呼ばれる認証情報で構成されています。
| 項目名 | APIキー発行時の項目名 | このドキュメント内での例 |
|---|---|---|
| ユーザーID | アクセストークン(UUID) | 01234567-89ab-cdef-0123-456789abcdef |
| パスワード | アクセストークンシークレット | SAMPLETOKENSAMPLETOKENSAMPLETOKENSAM |
Provider.Classでeventbusschedule、eventbustriggerまたはeventbusprocessconfigurationを指定してフィルタ可能。
クエリパラメータに下記のようにフィルタを設定することでスケジュール、トリガーまたは実行設定のリソースのみを取得できます
/commonserviceitem?{"Filter":{"Provider.Class":"eventbusschedule"}}
/commonserviceitem?{"Filter":{"Provider.Class":"eventbustrigger"}}
/commonserviceitem?{"Filter":{"Provider.Class":"eventbusprocessconfiguration"}}
{- "From": 0,
- "Count": 0,
- "Total": 0,
- "CommonServiceItems": [
- {
- "ID": "string",
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "SettingsHash": "string",
- "Status": {
- "Success": true,
- "Message": "string",
- "UpdatedAt": "string"
}, - "ServiceClass": "string",
- "Availability": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ModifiedAt": "2019-08-24T14:15:22Z",
- "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}
], - "is_ok": true
}required | object |
{- "CommonServiceItem": {
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}
}{- "CommonServiceItem": {
- "ID": "string",
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "SettingsHash": "string",
- "Status": {
- "Success": true,
- "Message": "string",
- "UpdatedAt": "string"
}, - "ServiceClass": "string",
- "Availability": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ModifiedAt": "2019-08-24T14:15:22Z",
- "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}, - "Success": true,
- "is_ok": true
}{- "CommonServiceItem": {
- "ID": "string",
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "SettingsHash": "string",
- "Status": {
- "Success": true,
- "Message": "string",
- "UpdatedAt": "string"
}, - "ServiceClass": "string",
- "Availability": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ModifiedAt": "2019-08-24T14:15:22Z",
- "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}, - "is_ok": true
}| id required | string キューのリソースID |
required | object |
{- "CommonServiceItem": {
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}
}{- "CommonServiceItem": {
- "ID": "string",
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "SettingsHash": "string",
- "Status": {
- "Success": true,
- "Message": "string",
- "UpdatedAt": "string"
}, - "ServiceClass": "string",
- "Availability": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ModifiedAt": "2019-08-24T14:15:22Z",
- "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}, - "Success": true,
- "is_ok": true
}{- "CommonServiceItem": {
- "ID": "string",
- "Name": "string",
- "Description": "string",
- "Settings": {
- "Destination": "simplenotification",
- "Parameters": "string"
}, - "SettingsHash": "string",
- "Status": {
- "Success": true,
- "Message": "string",
- "UpdatedAt": "string"
}, - "ServiceClass": "string",
- "Availability": "string",
- "CreatedAt": "2019-08-24T14:15:22Z",
- "ModifiedAt": "2019-08-24T14:15:22Z",
- "Provider": {
- "ID": 0,
- "Class": "eventbusprocessconfiguration",
- "Name": "string",
- "ServiceClass": "string"
}, - "Icon": {
- "ID": "string",
- "URL": "string",
- "Name": "string",
- "Scope": "string",
- "Tags": [
- "string"
]
}, - "Tags": [
- "string"
]
}, - "Success": true,
- "is_ok": true
}| id required | string キューのリソースID |
required | SacloudAPISecret (object) or SimpleMQSecret (object) 設定するシークレット値 |
{- "Secret": {
- "AccessToken": "アクセストークン",
- "AccessTokenSecret": "アクセストークンシークレット"
}
}{- "process": {
- "result": "string"
}, - "is_ok": true
}