Here is the function i want:
this is my page with many cards.
Each card have same skeleton but different contents, i control cards with giving them numbers starting from 1. like card 1, card 2, card 3.
At cards there are randomized numbers that i set. when i refresh page those numbers change.
What i want is not refreshing whole page but just the card so other cards wont get effected and user wont need to load whole page for just one card.
To make this i found how to load page in card. but it loads whole page in card so it look like this:

To solve this problem we thought we can create pages for each card.
For example this page's uri is ww.asdf.comm/grt
for first card we may create a web page named: ww.asdf.comm/grt/1-adfasdf
In short that is called "endpoint" i think.
So i need to create endpoints for each card.
So with that, card will only load its own page and not whole page.
To do this i need a plugin and i need help to build that.
I hope someone would help.
Thanks for reading.