TechStacks!

<back to all web services

LogoUrlApproval

Tech
Requires Authentication
Required role:Admin
The following routes are available for this service:
All Verbs/admin/technology/{TechnologyId}/logo

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

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 Technology extends 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<Technology>) { super(init); (Object as any).assign(this, init); }
}

export class LogoUrlApprovalResponse
{
    public result: Technology;

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

export class LogoUrlApproval implements IPut
{
    public technologyId: number;
    public approved: boolean;

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

TypeScript LogoUrlApproval 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 /admin/technology/{TechnologyId}/logo HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	technologyId: 0,
	approved: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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