ServiceStack Home (Live)

<back to all web services

GetRepoArchive

The following routes are available for this service:
All Verbs/archive/{User}/{Repo}
GET/GetRepoArchive
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetRepoArchive
{
    @Validate(Validator="NotEmpty")
    open var user:String? = null

    @Validate(Validator="NotEmpty")
    open var repo:String? = null

    open var name:String? = null
    open var tag:String? = null
    open var okai:String? = null
    open var mix:ArrayList<String>? = null
}

Kotlin GetRepoArchive DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /archive/{User}/{Repo} HTTP/1.1 
Host: account.servicestack.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	user: String,
	repo: String,
	name: String,
	tag: String,
	okai: String,
	mix: 
	[
		String
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(byte[])