GET | /favorites/technology |
---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetFavoriteTechnologies : IGet
{
open var technologyId:Int? = null
}
open class GetFavoriteTechnologiesResponse
{
open var results:ArrayList<Technology>? = null
}
open class Technology : TechnologyBase()
{
}
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 GetFavoriteTechnologies DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /favorites/technology HTTP/1.1 Host: techstacks.io Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"results":[{"id":0,"name":"String","vendorName":"String","vendorUrl":"String","productUrl":"String","logoUrl":"String","description":"String","created":"0001-01-01T00:00:00.0000000","createdBy":"String","lastModified":"0001-01-01T00:00:00.0000000","lastModifiedBy":"String","ownerId":"String","slug":"String","logoApproved":false,"isLocked":false,"tier":"ProgrammingLanguage","lastStatusUpdate":"0001-01-01T00:00:00.0000000","organizationId":0,"commentsPostId":0,"viewCount":0,"favCount":0}]}