TechStacks!

<back to all web services

AddFavoriteTechStack

User
Requires Authentication
The following routes are available for this service:
PUT/favorites/techtacks/{TechnologyStackId}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class AddFavoriteTechStack : IPut
{
    open var technologyStackId:Int? = null
}

open class FavoriteTechStackResponse
{
    open var result:TechnologyStack? = null
}

open class TechnologyStack : TechnologyStackBase()
{
}

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 AddFavoriteTechStack DTOs

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

HTTP + OTHER

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

PUT /favorites/techtacks/{TechnologyStackId} HTTP/1.1 
Host: techstacks.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"technologyStackId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"result":{"id":0,"name":"String","vendorName":"String","description":"String","appUrl":"String","screenshotUrl":"String","created":"0001-01-01T00:00:00.0000000","createdBy":"String","lastModified":"0001-01-01T00:00:00.0000000","lastModifiedBy":"String","isLocked":false,"ownerId":"String","slug":"String","details":"String","detailsHtml":"String","lastStatusUpdate":"0001-01-01T00:00:00.0000000","organizationId":0,"commentsPostId":0,"viewCount":0,"favCount":0}}