TechStacks!

<back to all web services

GetUserFeed

User
Requires Authentication
The following routes are available for this service:
All Verbs/my-feed
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


@ValidateRequest(Validator="IsAuthenticated")
open class GetUserFeed : IGet
{
}

open class GetUserFeedResponse
{
    open var results:ArrayList<TechStackDetails>? = 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 GetUserFeed 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 /my-feed HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			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
		}
	]
}