Get the day offs of a month

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-docs.kitsu.cloud/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Kitsu API MCP server": {
    "url": "https://api-docs.kitsu.cloud/mcp"
  }
}

Close
GET /data/persons/day-offs/{year}/{month}

Get the day offs of a month. An administrator gets all the day offs. A manager gets the day offs of the persons of their projects. A supervisor gets the dates only, for the persons of their projects who share one of their departments. A supervisor without department gets all the persons of their projects. Other users get their own day offs.

Path parameters

  • year integer Required

    Year, for example 2026

  • month integer Required

    Month, from 1 to 12

    Minimum value is 1, maximum value is 12.

Responses

  • 200 application/json

    The list of day offs

  • 400

    The year or the month is not valid

GET /data/persons/day-offs/{year}/{month}
curl -X GET "http://api.example.com/data/persons/day-offs/2022/7" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
import requests

url = "http://api.example.com/data/persons/day-offs/2022/7"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
params = {}
payload = None

response = requests.get(
    url,
    headers=headers,
    params=params,
    json=payload
)

response.raise_for_status()

if response.content:
    print(response.json())
Response examples (200)
[
  {}
]