Swift raw data format of POST payload


#1

I have been trying out your Swift library.

I have successfully tried out your demo, strangely described as an API Reference. Having walked through basic GET and POST examples I tried to write something that allows me to GET the config from a deployment, change a value and then post an update. This is proving impossible without further information on the API.
First problem is that GET deployments gives me all deployments. Fine, simply convert the output to an object, search for the correct deployment and save the deployment values. The problem is that values have to be POSTed as “raw”.

Can I for example change this

values: {
     raw:

to another format? (other than raw). If not how can I convert back from a js object back to a format it will handle?