GET | /techstacks/{Slug}/previous-versions |
---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetTechnologyStackPreviousVersions : IGet
{
open var slug:String? = null
}
open class GetTechnologyStackPreviousVersionsResponse
{
open var results:ArrayList<TechnologyStackHistory>? = null
}
open class TechnologyStackHistory : TechnologyStackBase()
{
open var technologyStackId:Long? = null
open var operation:String? = null
open var technologyIds:ArrayList<Long>? = null
}
open class TechnologyStackBase
{
open var id:Long? = null
open var name:String? = null
open var vendorName:String? = null
open var description:String? = null
open var appUrl:String? = null
open var screenshotUrl:String? = null
open var created:Date? = null
open var createdBy:String? = null
open var lastModified:Date? = null
open var lastModifiedBy:String? = null
open var isLocked:Boolean? = null
open var ownerId:String? = null
open var slug:String? = null
@StringLength(MaximumLength=2147483647)
open var details:String? = null
@StringLength(MaximumLength=2147483647)
open var detailsHtml:String? = null
open var lastStatusUpdate:Date? = null
open var organizationId:Int? = null
open var commentsPostId:Long? = null
open var viewCount:Int? = null
open var favCount:Int? = null
}
Kotlin GetTechnologyStackPreviousVersions DTOs
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.
GET /techstacks/{Slug}/previous-versions HTTP/1.1 Host: techstacks.io Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { results: [ { technologyStackId: 0, operation: String, technologyIds: [ 0 ], id: 0, name: String, vendorName: String, description: String, appUrl: String, screenshotUrl: String, created: 0001-01-01, createdBy: String, lastModified: 0001-01-01, lastModifiedBy: String, isLocked: False, ownerId: String, slug: String, details: String, detailsHtml: String, lastStatusUpdate: 0001-01-01, organizationId: 0, commentsPostId: 0, viewCount: 0, favCount: 0 } ] }