跳转到主要内容
POST
Reference example

请求规范

  • 方法与路径: POST /apis/v1/social/calendar/availability
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/social/calendar/availability
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
durationMinutes
integer
必填
必填范围: 5 <= x <= 480
from
string<date-time>
必填
participants
object[]
必填
Required array length: 1 - 10 elements
to
string<date-time>
必填
buffer
object
defaultOpenHours
object[]
intervalMinutes
integer
默认值:30
必填范围: 5 <= x <= 240
method
enum<string>
默认值:collective
可用选项:
collective,
max_availability
roundTo
integer

Rounds the first candidate slot up to this many minutes.

必填范围: 5 <= x <= 60

响应

Candidate slots

data
object