What is the most common and wise way to specify many entities' ids in an API request?
For a singular entity request I have:
GET /v1/entities/{entity_id}
My suggestions for requesting many entities:
GET /v1/entities?entity_ids={entity_id1},{entity_id2}
With the same variable name entity_id:
GET /v1/entities?entity_id={entity_id1},{entity_id2}
More looks like for singular endpoint:
GET /v1/entities/{entity_id1},{entity_id2}
Or is there any other way to design for such endpoints?