Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
How do i go for doing the following things through scripting:
1) Mashup creation through scripting
2) Widget(s) placing on mashup through scripting
3) Property binding to widgets on mashup through scripting
4) Setting/Altering widget parameters on mashup through scripting
5) Creation of media entities & style definitions through scripting
There isn't any snippets for that.
To create the mashup itself, you will need to look at REST API call that the composer it's doing.
About adding Widgets, Properties and other mashup thing's you will have to look at Mashup XML Format (Export Source Code) and reproduce it's edition, which will be kind of hard. You won't find REST API calls for that, as it's a Composer/Client UI feature, it's not done on the server side.
Can't i go for writing services under a thing entity which could do any of the above things?
Because, when i go for developing industrial applications, i may need to create tons of mashups. So, is there any way i could do them through service scripting?