@hackmd/api
    Preparing search index...

    Type Alias UpdateNoteData

    type UpdateNoteData = {
        body: {
            content?: string;
            description?: string | null;
            parentFolderId?: string | null;
            permalink?: string;
            readPermission?: NotePermissionRole;
            tags?: string[];
            title?: string;
            writePermission?: NotePermissionRole;
        };
        path: { noteId: string };
        query?: never;
        url: "/notes/{noteId}";
    }
    Index
    body: {
        content?: string;
        description?: string | null;
        parentFolderId?: string | null;
        permalink?: string;
        readPermission?: NotePermissionRole;
        tags?: string[];
        title?: string;
        writePermission?: NotePermissionRole;
    }

    The properties to update on the note. Omit description to leave it unchanged, use a string (including an empty string) to set it, or null to remove its metadata.

    path: { noteId: string }

    Type Declaration

    • noteId: string

      The ID of the note to update.

    query?: never
    url: "/notes/{noteId}"