APIPathV1: {
    ASSUME_ROLE: "/v1/assumed-roles";
    group: (groupId: string) => string;
    groupAutomation: (groupId: string) => string;
    groupAutomationId: (groupId: string, automationId: string) => string;
    groupNode: (groupId: string, nodeId: string) => string;
    groupNodeAssocConfirm: (groupId: string, requestId: string) => string;
    groupNodeAssocRequests: (groupId: string) => string;
    groupNodeAssocVerify: (groupId: string, requestId: string) => string;
    groupNodeConfig: (groupId: string, nodeId: string) => string;
    groupNodeSchedules: (groupId: string, nodeId: string) => string;
    groupNodeTimeseriesAggregates: (groupId: string, nodeId: string) => string;
    groupNodeTimeseriesLatest: (groupId: string, nodeId: string) => string;
    groupNodeTimeseriesRaw: (groupId: string, nodeId: string) => string;
    groupNodeTriggers: (groupId: string, nodeId: string) => string;
    GROUPS: "/v1/groups";
    groupSharingRequests: (groupId: string) => string;
    groupSubgroup: (groupId: string, subgroupId: string) => string;
    groupSubgroupNode: (
        groupId: string,
        subgroupId: string,
        nodeId: string,
    ) => string;
    groupSubgroups: (groupId: string) => string;
    groupSubgroupSharingRequests: (
        groupId: string,
        subgroupId: string,
    ) => string;
    groupSubgroupUser: (
        groupId: string,
        subgroupId: string,
        userId: string,
    ) => string;
    groupSubgroupUsers: (groupId: string, subgroupId: string) => string;
    groupUser: (groupId: string, userId: string) => string;
    groupUsers: (groupId: string) => string;
    integrationEndpoint: (integrationId: string, endpointId: string) => string;
    integrationEndpoints: (integrationId: string) => string;
    INTEGRATIONS: "/v1/integrations";
    SHARING_REQUESTS_RECEIVED: "/v1/sharing-requests/received";
    sharingRequestAccept: (requestId: string) => string;
    sharingRequestReject: (requestId: string) => string;
    user: (userId: string) => string;
    USER_AUTH_PASSWORD: "/v1/user/auth/password";
    USER_AUTH_PASSWORD_RECOVERY: "/v1/user/auth/password-recovery";
    USER_AUTH_PASSWORD_RECOVERY_CONFIRMATION: "/v1/user/auth/password-recovery/confirmation";
    USER_AUTH_SIGNOUT: "/v1/user/auth/signout";
    USER_AUTH_SIGNUP: "/v1/user/auth/signup";
    USER_AUTH_SIGNUP_VERIFY: "/v1/user/auth/signup/verify";
    USER_AUTH_TOKEN: "/v1/user/auth/token";
    USER_AUTH_TOKEN_REFRESH: "/v1/user/auth/token/refresh";
    USER_CREDENTIALS: "/v1/user/credentials";
    USER_NODE_MAPPING_INITIATE: (groupId: string) => string;
    USER_NODE_MAPPING_VERIFY: (groupId: string, requestId: string) => string;
} = ...

Centralized v1 API path literals and path builder functions. Use these instead of hard-coding path strings to simplify future path changes (e.g. /v1 → /v2).

Type declaration

  • ReadonlyASSUME_ROLE: "/v1/assumed-roles"

    POST /v1/assumed-roles

  • Readonlygroup: (groupId: string) => string

    /v1/groups/{groupId}

  • ReadonlygroupAutomation: (groupId: string) => string

    /v1/groups/{groupId}/service/automations

  • ReadonlygroupAutomationId: (groupId: string, automationId: string) => string

    /v1/groups/{groupId}/service/automations/{automationId}

  • ReadonlygroupNode: (groupId: string, nodeId: string) => string

    DELETE /v1/groups/{groupId}/nodes/{nodeId} - Remove node from group (disassociation)

  • ReadonlygroupNodeAssocConfirm: (groupId: string, requestId: string) => string

    POST /v1/groups/{groupId}/node-assoc-requests/{requestId}/confirm - Confirms user-node mapping (Matter commissioning)

  • ReadonlygroupNodeAssocRequests: (groupId: string) => string

    /v1/groups/{groupId}/node-assoc-requests

  • ReadonlygroupNodeAssocVerify: (groupId: string, requestId: string) => string

    /v1/groups/{groupId}/node-assoc-requests/{requestId}/verify - Challenge_response (traditional) or nocsr_elements (Matter)

  • ReadonlygroupNodeConfig: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/config

  • ReadonlygroupNodeSchedules: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/schedules

  • ReadonlygroupNodeTimeseriesAggregates: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/timeseries/aggregates

  • ReadonlygroupNodeTimeseriesLatest: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/timeseries/latest

  • ReadonlygroupNodeTimeseriesRaw: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/timeseries/raw

  • ReadonlygroupNodeTriggers: (groupId: string, nodeId: string) => string

    /v1/groups/{groupId}/nodes/{nodeId}/triggers

  • ReadonlyGROUPS: "/v1/groups"

    GET/POST /v1/groups

  • ReadonlygroupSharingRequests: (groupId: string) => string

    /v1/groups/{groupId}/sharing-requests

  • ReadonlygroupSubgroup: (groupId: string, subgroupId: string) => string

    /v1/groups/{groupId}/subgroups/{subgroupId}

  • ReadonlygroupSubgroupNode: (groupId: string, subgroupId: string, nodeId: string) => string

    /v1/groups/{groupId}/subgroups/{subgroupId}/nodes/{nodeId}

  • ReadonlygroupSubgroups: (groupId: string) => string

    /v1/groups/{groupId}/subgroups

  • ReadonlygroupSubgroupSharingRequests: (groupId: string, subgroupId: string) => string

    /v1/groups/{groupId}/subgroups/{subgroupId}/sharing-requests

  • ReadonlygroupSubgroupUser: (groupId: string, subgroupId: string, userId: string) => string

    /v1/groups/{groupId}/subgroups/{subgroupId}/users/{userId} - Remove member (use 'me' to leave)

  • ReadonlygroupSubgroupUsers: (groupId: string, subgroupId: string) => string

    GET /v1/groups/{groupId}/subgroups/{subgroupId}/users — list users with access to the subgroup

  • ReadonlygroupUser: (groupId: string, userId: string) => string

    /v1/groups/{groupId}/users/{userId} - Remove member (use 'me' to leave)

  • ReadonlygroupUsers: (groupId: string) => string

    GET /v1/groups/{groupId}/users — list users with access to the group

  • ReadonlyintegrationEndpoint: (integrationId: string, endpointId: string) => string

    DELETE unregister endpoint — /v1/integrations/{integrationId}/endpoints/{endpointId}

  • ReadonlyintegrationEndpoints: (integrationId: string) => string

    PUT register endpoint — /v1/integrations/{integrationId}/endpoints

  • ReadonlyINTEGRATIONS: "/v1/integrations"

    GET /v1/integrations — list configured integrations (non-admin)

  • ReadonlySHARING_REQUESTS_RECEIVED: "/v1/sharing-requests/received"

    GET /v1/sharing-requests/received — list sharing requests for the current user

  • ReadonlysharingRequestAccept: (requestId: string) => string

    POST /v1/sharing-requests/{requestId}/accept

  • ReadonlysharingRequestReject: (requestId: string) => string

    POST /v1/sharing-requests/{requestId}/reject

  • Readonlyuser: (userId: string) => string

    GET /v1/users/{userId} — user profile (me for the authenticated caller)

  • ReadonlyUSER_AUTH_PASSWORD: "/v1/user/auth/password"

    POST /v1/user/auth/password

  • ReadonlyUSER_AUTH_PASSWORD_RECOVERY: "/v1/user/auth/password-recovery"

    POST /v1/user/auth/password-recovery

  • ReadonlyUSER_AUTH_PASSWORD_RECOVERY_CONFIRMATION: "/v1/user/auth/password-recovery/confirmation"

    POST /v1/user/auth/password-recovery/confirmation

  • ReadonlyUSER_AUTH_SIGNOUT: "/v1/user/auth/signout"

    POST /v1/user/auth/signout

  • ReadonlyUSER_AUTH_SIGNUP: "/v1/user/auth/signup"

    POST /v1/user/auth/signup

  • ReadonlyUSER_AUTH_SIGNUP_VERIFY: "/v1/user/auth/signup/verify"

    POST /v1/user/auth/signup/verify

  • ReadonlyUSER_AUTH_TOKEN: "/v1/user/auth/token"

    POST /v1/user/auth/token

  • ReadonlyUSER_AUTH_TOKEN_REFRESH: "/v1/user/auth/token/refresh"

    POST /v1/user/auth/token/refresh

  • ReadonlyUSER_CREDENTIALS: "/v1/user/credentials"

    POST /v1/user/credentials (main API, not the user-auth API)

  • ReadonlyUSER_NODE_MAPPING_INITIATE: (groupId: string) => string

    POST /v1/groups/{groupId}/node-assoc-requests - Initiates user node mapping

  • ReadonlyUSER_NODE_MAPPING_VERIFY: (groupId: string, requestId: string) => string

    POST /v1/groups/{groupId}/node-assoc-requests/{requestId}/verify - Verifies user node mapping