GET | /techstacks/{Slug}/previous-versions |
---|
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 TechnologyStackHistory extends TechnologyStackBase
{
public technologyStackId: number;
public operation: string;
public technologyIds: number[];
public constructor(init?: Partial<TechnologyStackHistory>) { super(init); (Object as any).assign(this, init); }
}
export class GetTechnologyStackPreviousVersionsResponse
{
public results: TechnologyStackHistory[];
public constructor(init?: Partial<GetTechnologyStackPreviousVersionsResponse>) { (Object as any).assign(this, init); }
}
export class GetTechnologyStackPreviousVersions implements IGet
{
public slug: string;
public constructor(init?: Partial<GetTechnologyStackPreviousVersions>) { (Object as any).assign(this, init); }
}
TypeScript GetTechnologyStackPreviousVersions DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /techstacks/{Slug}/previous-versions HTTP/1.1 Host: techstacks.io Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"results":[{"technologyStackId":0,"operation":"String","technologyIds":[0],"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}]}