How to add intent and entites from rasa x api

Thank you for your reply. I want to add from API, not from git. I have seen the endpoint https://api/projects/{project_id}/training_examples. But I have sample data. I don’t know how to send data, like params id, hash, intent_mapped_to, start, end, and entity_synonym

What they are saying

{ “rasa_nlu_data”: { “common_examples”: [ { “id”: “string”, “text”: “string”, “intent”: “string”, “entities”: [ { “start”: “string”, “end”: “string”, “entity”: “string”, “value”: “string”, “entity_synonym”: 0 } ], “hash”: “string”, “intent_mapped_to”: “string” } ] } }

But I have data like this

{ “rasa_nlu_data”: { “common_examples”: [ { “text”: “sample”, “intent”: “SAMPLE_INTENT”, “entities”: [ { “entity”: “string”, “value”: “string”, } ] } ] } }

Please help me how to send data