All Verbs | /app-overview |
---|
export enum TechnologyTier
{
ProgrammingLanguage = 'ProgrammingLanguage',
Client = 'Client',
Http = 'Http',
Server = 'Server',
Data = 'Data',
SoftwareInfrastructure = 'SoftwareInfrastructure',
OperatingSystem = 'OperatingSystem',
HardwareInfrastructure = 'HardwareInfrastructure',
ThirdPartyServices = 'ThirdPartyServices',
}
// @DataContract
export class Option
{
// @DataMember(Name="name")
public name: string;
// @DataMember(Name="title")
public title: string;
// @DataMember(Name="value")
public value?: TechnologyTier;
public constructor(init?: Partial<Option>) { (Object as any).assign(this, init); }
}
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 AppOverviewResponse
{
public created: string;
public allTiers: Option[];
public topTechnologies: TechnologyInfo[];
public responseStatus: ResponseStatus;
public constructor(init?: Partial<AppOverviewResponse>) { (Object as any).assign(this, init); }
}
export class AppOverview implements IGet
{
public reload: boolean;
public constructor(init?: Partial<AppOverview>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /app-overview HTTP/1.1
Host: techstacks.io
Accept: application/json
Content-Type: application/json
Content-Length: length
{"reload":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"created":"0001-01-01T00:00:00.0000000","allTiers":[{"name":"String","title":"String","value":"ProgrammingLanguage"}],"topTechnologies":[{"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"}}}