← Назад до огляду для розробників програмного забезпечення

Журнал змін API WayToCare

Усі зміни Provider API v1, що стосуються розробників програмного забезпечення, у зворотному хронологічному порядку.

Наші зобов'язання щодо версій

  • API v1 є стабільною. Нові ендпоінти, поля, події та коди помилок можуть додаватися будь-коли; будь ласка, ігноруйте невідомі поля та значення.
  • Зміни, які можуть вплинути на існуючі інтеграції, ми вносимо лише в новій версії (наприклад, v2) або повідомляємо про них не менш ніж за шість місяців — тут і електронною поштою.
  • Застарілу версію ми підтримуємо щонайменше дванадцять місяців після виходу нової версії.
  • Виняток: якщо це стосується безпеки або законодавчих вимог, ми вносимо зміни в короткі строки та повідомляємо про це якомога раніше.
  • Розробників з тестовим доступом ми повідомляємо про важливі зміни електронною поштою. Інші розробники можуть зареєструватися для отримання повідомлень за адресою admin@waytocare.de.

Зміни (v1.0)

Окремі записи доступні німецькою та англійською мовами.

    • НовеMCP server at /api/mcp: AI assistants can search facilities and free places. With an API key and the new permission mcp:write (in addition to availability:write, never preselected) they change free places in two steps: preview, then confirmation with a one-time token. See docs/api/MCP.md.
    • ЗміненоWebhook availability.changed now comes the same way from every channel (API, dashboard, occupancy import, MCP), only when numbers really changed, and always contains previous_available, current_available, total_places, care_places (care_type, available, total) and source (api, dashboard, import, mcp, admin); PATCH, batch and MCP add updated_types. Now also sent for PATCH /api/v1/facilities/{id} and changes in the simple dashboard mode.
    • ВиправленоStricter checks of place counts in all writing endpoints: whole numbers from 0 to 10000, a known care type once per entry, free places at most the capacity (also against the stored capacity when total_places is missing). The batch update now rejects invalid entries per facility (success: false, code, error) instead of saving them.
    • Нове"Connect with WayToCare": the facility confirms the connection on WayToCare, your backend exchanges the one-time code via POST /api/v1/connect/token for an API key for that facility (OAuth 2.0 authorization code, PKCE optional). On the test system, POST /api/v1/connect/sandbox-authorize simulates the confirmation. Credentials (client_id, client_secret) on request.
    • БезпекаМоже вплинути на існуючі інтеграціїA key restricted to one facility now only reaches that facility: other facilities of the same provider answer 404 under /facilities/{id}/…, in the batch update and for reviews, and GET /facilities lists only its own. Creating and deleting facilities requires a provider-wide key (403 FACILITY_SCOPED_KEY).
    • НовеAt a facility's request, WayToCare can create the API key on its behalf; the facility sees it in its dashboard as "set up by WayToCare" and can revoke it.
    • НовеEvery test access now also contains a fictitious home-care service (SANDBOX-2) for testing the intake status.
    • НовеExample programs "report intake status" in curl, Python, C#, Java, PHP, TypeScript and Go; Postman collection with its own folder for home-care services.
    • ВиправленоThe API documentation at /api/v1/docs (without trailing slash) stayed blank.
    • НовеIntake status for home-care services: field intake in GET and PATCH /api/v1/facilities/{id} (open, from_date, waitlist, closed; optional weekends, evenings) plus availability_confirmed_at.
    • НовеInstitutionskennzeichen: ik_number in all facility responses, writable; ik:<IK> can be used as the facility identifier.
    • НовеClient libraries for C#/.NET, Java, PHP, Python, TypeScript and Go, plus example programs "report free places".
    • ВиправленоOpenAPI: operationIds for all operations, correct types for null values, availability history with the parameters from and to.
    • НовеSelf-service test access with a test system (test2.waytocare.de) and fictitious data.
    • НовеJob ads (GET/POST/PUT /api/v1/jobs, sync from HR systems), GET /api/v1/premium and a uniform error object (error.code, message, details).
    • НовеWaiting list with status changes, statistics and regional demand; webhooks for new waiting-list entries, enquiries, messages, reviews and availability, signed and with retries.