Would it be possibel to have multiple channels on same surface? I mean each chest in a "channel" has the same content.
A link ID is exactly what you meant by a "channel", sharing the same content.
Because if all chests have the same content it is only slightly useful.
The "link chest" feature of this mod is exactly already doing this. Linking chests will set them to the same link ID, sharing the same inventory.
I have had a look at the API for this purpose
My idea would be: each placed chest gets a new link_id.
This mod already gives an unique randomized link ID to each placed chest, in case you do not yet notice.
for compatibility with other mods, there should be a configurable range of numbers.
What do you mean?
If you mean other mod chests using the same ID as mine?
Each item prototype already has its own set of 2^32 inventories. E.g., link ID = 0 of vanilla linked chest is DIFFERENT from link ID = 0 of my autolinked chest.
If you mean allowing users to configure the link ID directly (the 32 checkboxes like in vanilla linked chest GUI), it will kind of defeat the purpose of this mod. Users can just use the vanilla linked chest anyway.