| POST | /{Workspace}/ImageList | ||
|---|---|---|---|
| GET | /{Workspace}/ImageList/{DocumentId} |
import java.math.*
import java.util.*
import net.servicestack.client.*
/**
* Service representing an image list request in a workspace. Returns a .ZIP file containing all the images in the request.
*/
open class ImageList
{
var Workspace:String? = null
var ImageIds:ArrayList<String> = ArrayList<String>()
var DocumentId:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /{Workspace}/ImageList HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Workspace: String,
ImageIds:
[
String
],
DocumentId: String
}