TechStacks!

<back to all web services

Overview

Site
The following routes are available for this service:
All Verbs/overview

export class UserInfo
{
    public userName: string;
    public avatarUrl: string;
    public stacksCount: number;

    public constructor(init?: Partial<UserInfo>) { (Object as any).assign(this, init); }
}

export enum TechnologyTier
{
    ProgrammingLanguage = 'ProgrammingLanguage',
    Client = 'Client',
    Http = 'Http',
    Server = 'Server',
    Data = 'Data',
    SoftwareInfrastructure = 'SoftwareInfrastructure',
    OperatingSystem = 'OperatingSystem',
    HardwareInfrastructure = 'HardwareInfrastructure',
    ThirdPartyServices = 'ThirdPartyServices',
}

export class TechnologyInfo
{
    public tier: TechnologyTier;
    public slug: string;
    public name: string;
    public logoUrl: string;
    public stacksCount: number;

    public constructor(init?: Partial<TechnologyInfo>) { (Object as any).assign(this, init); }
}

export class TechnologyStackBase
{
    public id: number;
    public name: string;
    public vendorName: string;
    public description: string;
    public appUrl: string;
    public screenshotUrl: string;
    public created: string;
    public createdBy: string;
    public lastModified: string;
    public lastModifiedBy: string;
    public isLocked: boolean;
    public ownerId: string;
    public slug: string;
    // @StringLength(2147483647)
    public details: string;

    // @StringLength(2147483647)
    public detailsHtml: string;

    public lastStatusUpdate?: string;
    public organizationId?: number;
    public commentsPostId?: number;
    public viewCount: number;
    public favCount: number;

    public constructor(init?: Partial<TechnologyStackBase>) { (Object as any).assign(this, init); }
}

export class TechnologyBase
{
    public id: number;
    public name: string;
    public vendorName: string;
    public vendorUrl: string;
    public productUrl: string;
    public logoUrl: string;
    public description: string;
    public created: string;
    public createdBy: string;
    public lastModified: string;
    public lastModifiedBy: string;
    public ownerId: string;
    public slug: string;
    public logoApproved: boolean;
    public isLocked: boolean;
    public tier: TechnologyTier;
    public lastStatusUpdate?: string;
    public organizationId?: number;
    public commentsPostId?: number;
    public viewCount: number;
    public favCount: number;

    public constructor(init?: Partial<TechnologyBase>) { (Object as any).assign(this, init); }
}

export class TechnologyInStack extends TechnologyBase
{
    public technologyId: number;
    public technologyStackId: number;
    public justification: string;

    public constructor(init?: Partial<TechnologyInStack>) { super(init); (Object as any).assign(this, init); }
}

export class TechStackDetails extends TechnologyStackBase
{
    public technologyChoices: TechnologyInStack[];

    public constructor(init?: Partial<TechStackDetails>) { super(init); (Object as any).assign(this, init); }
}

export class TechnologyStack extends TechnologyStackBase
{

    public constructor(init?: Partial<TechnologyStack>) { super(init); (Object as any).assign(this, init); }
}

export class LabelInfo
{
    public slug: string;
    public color: string;

    public constructor(init?: Partial<LabelInfo>) { (Object as any).assign(this, init); }
}

export class CategoryInfo
{
    public id: number;
    public name: string;
    public slug: string;

    public constructor(init?: Partial<CategoryInfo>) { (Object as any).assign(this, init); }
}

export class OrganizationInfo
{
    public id: number;
    public name: string;
    public slug: string;
    public refId?: number;
    public refSource: string;
    public upVotes?: number;
    public downVotes?: number;
    public membersCount: number;
    public rank: number;
    public disableInvites?: boolean;
    public lang: string;
    public postTypes: string[];
    public moderatorPostTypes: string[];
    public locked?: string;
    public labels: LabelInfo[];
    public categories: CategoryInfo[];

    public constructor(init?: Partial<OrganizationInfo>) { (Object as any).assign(this, init); }
}

export class OverviewResponse
{
    public created: string;
    public topUsers: UserInfo[];
    public topTechnologies: TechnologyInfo[];
    public latestTechStacks: TechStackDetails[];
    public popularTechStacks: TechnologyStack[];
    public allOrganizations: OrganizationInfo[];
    public topTechnologiesByTier: { [index:string]: TechnologyInfo[]; };
    public responseStatus: ResponseStatus;

    public constructor(init?: Partial<OverviewResponse>) { (Object as any).assign(this, init); }
}

export class Overview implements IGet
{
    public reload: boolean;

    public constructor(init?: Partial<Overview>) { (Object as any).assign(this, init); }
}

TypeScript Overview 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 /overview HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	created: 0001-01-01,
	topUsers: 
	[
		{
			userName: String,
			avatarUrl: String,
			stacksCount: 0
		}
	],
	topTechnologies: 
	[
		{
			tier: ProgrammingLanguage,
			slug: String,
			name: String,
			logoUrl: String,
			stacksCount: 0
		}
	],
	latestTechStacks: 
	[
		{
			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
		}
	],
	popularTechStacks: 
	[
		{
			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
		}
	],
	allOrganizations: 
	[
		{
			id: 0,
			name: String,
			slug: String,
			refId: 0,
			refSource: String,
			upVotes: 0,
			downVotes: 0,
			membersCount: 0,
			rank: 0,
			disableInvites: False,
			lang: String,
			postTypes: 
			[
				String
			],
			moderatorPostTypes: 
			[
				String
			],
			locked: 0001-01-01,
			labels: 
			[
				{
					slug: String,
					color: String
				}
			],
			categories: 
			[
				{
					id: 0,
					name: String,
					slug: String
				}
			]
		}
	],
	topTechnologiesByTier: 
	{
		String: 
		[
			{
				tier: ProgrammingLanguage,
				slug: String,
				name: String,
				logoUrl: String,
				stacksCount: 0
			}
		]
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}