GET | /techstacks/{Slug} |
---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetTechnologyStack : IRegisterStats, IGet
{
open var slug:String? = null
}
open class GetTechnologyStackResponse
{
open var created:Date? = null
open var result:TechStackDetails? = null
open var responseStatus:ResponseStatus? = null
}
open class TechStackDetails : TechnologyStackBase()
{
open var technologyChoices:ArrayList<TechnologyInStack>? = 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
}
open class TechnologyInStack : TechnologyBase()
{
open var technologyId:Long? = null
open var technologyStackId:Long? = null
open var justification:String? = null
}
open class TechnologyBase
{
open var id:Long? = null
open var name:String? = null
open var vendorName:String? = null
open var vendorUrl:String? = null
open var productUrl:String? = null
open var logoUrl:String? = null
open var description:String? = null
open var created:Date? = null
open var createdBy:String? = null
open var lastModified:Date? = null
open var lastModifiedBy:String? = null
open var ownerId:String? = null
open var slug:String? = null
open var logoApproved:Boolean? = null
open var isLocked:Boolean? = null
open var tier:TechnologyTier? = 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
}
enum class TechnologyTier
{
ProgrammingLanguage,
Client,
Http,
Server,
Data,
SoftwareInfrastructure,
OperatingSystem,
HardwareInfrastructure,
ThirdPartyServices,
}
Kotlin GetTechnologyStack 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} HTTP/1.1 Host: techstacks.io Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { created: 0001-01-01, result: { technologyChoices: [ { technologyId: 0, technologyStackId: 0, justification: String, id: 0, name: String, vendorName: String, vendorUrl: String, productUrl: String, logoUrl: String, description: String, created: 0001-01-01, createdBy: String, lastModified: 0001-01-01, lastModifiedBy: String, ownerId: String, slug: String, logoApproved: False, isLocked: False, tier: ProgrammingLanguage, lastStatusUpdate: 0001-01-01, organizationId: 0, commentsPostId: 0, viewCount: 0, favCount: 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 }, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }