We want to upload downloadable content in batch since we have a lot of unity assets to add. At this moment, we need to upload each and every unity assets package one by one which is tedious. Is there a way to do so via a web service or a rest command?
Best Answer
C
Customer Support
said
over 8 years ago
Christian,
There is a way to do this. There is a REST API you can reference. Documentation for this does not yet exist, so to see how to use it you can look at the code in the GameSparks SDK for Unity. In Unity, if you got to GameSparks > REST Api you will see a UI screen which accesses the REST api allowing you to upload files. The code behind this screen is in the GameSparksRestApi script which is in the Editor sub-folder of GameSparks.
There is a way to do this. There is a REST API you can reference. Documentation for this does not yet exist, so to see how to use it you can look at the code in the GameSparks SDK for Unity. In Unity, if you got to GameSparks > REST Api you will see a UI screen which accesses the REST api allowing you to upload files. The code behind this screen is in the GameSparksRestApi script which is in the Editor sub-folder of GameSparks.
Let me know if you need more help.
John.
C
Christian Gauthier
said
over 8 years ago
Thanks its working fine.
K
Katharine Neil
said
over 7 years ago
I notice that we can only replace files already there - i.e. you can't upload a file with with a short code that doesn't yet exist. Is there a way to use the REST API to create a new downloadable (and short code)?
I
Ivo Swartjes
said
almost 7 years ago
Hi Katharine, see https://support.gamesparks.net/support/discussions/topics/1000073670
Christian Gauthier
We want to upload downloadable content in batch since we have a lot of unity assets to add. At this moment, we need to upload each and every unity assets package one by one which is tedious. Is there a way to do so via a web service or a rest command?
Christian,
There is a way to do this. There is a REST API you can reference. Documentation for this does not yet exist, so to see how to use it you can look at the code in the GameSparks SDK for Unity. In Unity, if you got to GameSparks > REST Api you will see a UI screen which accesses the REST api allowing you to upload files. The code behind this screen is in the GameSparksRestApi script which is in the Editor sub-folder of GameSparks.
Let me know if you need more help.
John.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Christian,
There is a way to do this. There is a REST API you can reference. Documentation for this does not yet exist, so to see how to use it you can look at the code in the GameSparks SDK for Unity. In Unity, if you got to GameSparks > REST Api you will see a UI screen which accesses the REST api allowing you to upload files. The code behind this screen is in the GameSparksRestApi script which is in the Editor sub-folder of GameSparks.
Let me know if you need more help.
John.
Christian Gauthier
Thanks its working fine.
Katharine Neil
I notice that we can only replace files already there - i.e. you can't upload a file with with a short code that doesn't yet exist. Is there a way to use the REST API to create a new downloadable (and short code)?
Ivo Swartjes
Hi Katharine, see https://support.gamesparks.net/support/discussions/topics/1000073670
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics