TechStacks!

<back to all web services

AddFavoriteTechStack

User
Requires Authentication
The following routes are available for this service:
PUT/favorites/techtacks/{TechnologyStackId}
"use strict";
export class TechnologyStackBase {
    /** @param {{id?:number,name?:string,vendorName?:string,description?:string,appUrl?:string,screenshotUrl?:string,created?:string,createdBy?:string,lastModified?:string,lastModifiedBy?:string,isLocked?:boolean,ownerId?:string,slug?:string,details?:string,detailsHtml?:string,lastStatusUpdate?:string,organizationId?:number,commentsPostId?:number,viewCount?:number,favCount?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    name;
    /** @type {string} */
    vendorName;
    /** @type {string} */
    description;
    /** @type {string} */
    appUrl;
    /** @type {string} */
    screenshotUrl;
    /** @type {string} */
    created;
    /** @type {string} */
    createdBy;
    /** @type {string} */
    lastModified;
    /** @type {string} */
    lastModifiedBy;
    /** @type {boolean} */
    isLocked;
    /** @type {string} */
    ownerId;
    /** @type {string} */
    slug;
    /** @type {string} */
    details;
    /** @type {string} */
    detailsHtml;
    /** @type {?string} */
    lastStatusUpdate;
    /** @type {?number} */
    organizationId;
    /** @type {?number} */
    commentsPostId;
    /** @type {number} */
    viewCount;
    /** @type {number} */
    favCount;
}
export class TechnologyStack extends TechnologyStackBase {
    /** @param {{id?:number,name?:string,vendorName?:string,description?:string,appUrl?:string,screenshotUrl?:string,created?:string,createdBy?:string,lastModified?:string,lastModifiedBy?:string,isLocked?:boolean,ownerId?:string,slug?:string,details?:string,detailsHtml?:string,lastStatusUpdate?:string,organizationId?:number,commentsPostId?:number,viewCount?:number,favCount?:number,id?:number,name?:string,vendorName?:string,description?:string,appUrl?:string,screenshotUrl?:string,created?:string,createdBy?:string,lastModified?:string,lastModifiedBy?:string,isLocked?:boolean,ownerId?:string,slug?:string,details?:string,detailsHtml?:string,lastStatusUpdate?:string,organizationId?:number,commentsPostId?:number,viewCount?:number,favCount?:number}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    name;
    /** @type {string} */
    vendorName;
    /** @type {string} */
    description;
    /** @type {string} */
    appUrl;
    /** @type {string} */
    screenshotUrl;
    /** @type {string} */
    created;
    /** @type {string} */
    createdBy;
    /** @type {string} */
    lastModified;
    /** @type {string} */
    lastModifiedBy;
    /** @type {boolean} */
    isLocked;
    /** @type {string} */
    ownerId;
    /** @type {string} */
    slug;
    /** @type {string} */
    details;
    /** @type {string} */
    detailsHtml;
    /** @type {?string} */
    lastStatusUpdate;
    /** @type {?number} */
    organizationId;
    /** @type {?number} */
    commentsPostId;
    /** @type {number} */
    viewCount;
    /** @type {number} */
    favCount;
}
export class FavoriteTechStackResponse {
    /** @param {{result?:TechnologyStack}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {TechnologyStack} */
    result;
}
export class AddFavoriteTechStack {
    /** @param {{technologyStackId?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    technologyStackId;
}

JavaScript AddFavoriteTechStack 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.

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

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

{
	result: 
	{
		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
	}
}