PATCH /me/calendar/events/{id}/this-and-future
Divide série a partir de `split` (this-and-future).
- Acesso: Login
- Serviço:
https://api-calendar.axuz.net
Autenticação aceita
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Trunca a série antiga com UNTIL=split-1s e cria uma nova série a partir de split. Apenas creator pode dividir.
Parâmetros
| Nome | Em | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
id | path | string | sim |
Corpo da requisição
application/json · Obrigatório
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
split | string<date-time> | sim | |
summary | string | null | não | |
description | string | null | não | |
location | string | null | não | |
dtstart | string<date-time> | null | não | |
dtend | string<date-time> | null | não | |
all_day | boolean | null | não | |
rrule | string | null | não |
{
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": true,
"rrule": "string"
}Respostas
201
Nova série criada.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
(corpo) | oneOf | não |
400
Body inválido ou event não recorrente.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
401
Faltando ou token inválido.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
403
Sem permissão para o recurso.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
404
Recurso não encontrado.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim | Mensagem humana curta; sem stack. |
429
Limite de requisições excedido.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
error | string | sim |
Exemplos
O "Try it" está desligado nesta referência. Use os exemplos com a sua credencial de teste.
curl
curl -sS -X PATCH 'https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future' \
-H "Authorization: Bearer $AXUZ_TOKEN" \
-H "Content-Type: application/json" \
-d '{"split":"2026-01-15T12:00:00Z","summary":"string","description":"string","location":"string","dtstart":"2026-01-15T12:00:00Z","dtend":"2026-01-15T12:00:00Z","all_day":true,"rrule":"string"}'Node.js
const res = await fetch("https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": true,
"rrule": "string"
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"PATCH",
"https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
json={
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": True,
"rrule": "string",
},
timeout=30,
)
res.raise_for_status()
print(res.json())