サービス作成
POST /api/v1/services
POST
/api/v1/services
サービス (モニターのグループ) を新規作成します。write スコープが必要です。
作成されるサービスは非公開 (isPublic: 0) です。公開設定の変更は PUT /api/v1/services/{id} を使用してください。
プランのサービス数上限 (free: 1 / pro: 5) を超える場合は 402 を返します。
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
name
required
string
Example
Todoke slug
required
URL スラッグ (小文字英数字とハイフン)
string
Example
todoke description
string
Responses
Section titled “ Responses ”作成されたサービス
object
service
object
id
string
teamId
string
name
string
slug
string
description
string
isPublic
integer
maintenanceUntil
ISO 8601 timestamp until which the service is under maintenance. Null when not in maintenance.
string format: date-time
autoResolveMaintenance
Whether maintenance auto-resolves (1) or requires manual resolution (0).
integer
createdAt
string format: date-time
updatedAt
string format: date-time
サービス数上限に到達 (プランアップグレードが必要)
Write スコープが必要
Slug が既に使用されている