TechStacks!

<back to all web services

GetTechnology

Tech
The following routes are available for this service:
All Verbs/technology/{Slug}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetTechnology : IRegisterStats, IGet
{
    open var slug:String? = null
}

open class GetTechnologyResponse
{
    open var created:Date? = null
    open var technology:Technology? = null
    open var technologyStacks:ArrayList<TechnologyStack>? = null
    open var responseStatus:ResponseStatus? = 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,
}

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 GetTechnology 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 /technology/{Slug} HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	created: 0001-01-01,
	technology: 
	{
		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
	},
	technologyStacks: 
	[
		{
			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
		}
	}
}