All Verbs | /app-overview |
---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TechStacks.ServiceModel
Imports TechStacks.ServiceModel.Types
Namespace Global
Namespace TechStacks.ServiceModel
Public Partial Class AppOverview
Implements IGet
Public Overridable Property Reload As Boolean
End Class
Public Partial Class AppOverviewResponse
Public Overridable Property Created As Date
Public Overridable Property AllTiers As List(Of Option)
Public Overridable Property TopTechnologies As List(Of TechnologyInfo)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
<DataContract>
Public Partial Class Option
<DataMember(Name:="name")>
Public Overridable Property Name As String
<DataMember(Name:="title")>
Public Overridable Property Title As String
<DataMember(Name:="value")>
Public Overridable Property Value As TechnologyTier?
End Class
Public Partial Class TechnologyInfo
Public Overridable Property Tier As TechnologyTier
Public Overridable Property Slug As String
Public Overridable Property Name As String
Public Overridable Property LogoUrl As String
Public Overridable Property StacksCount As Integer
End Class
End Namespace
Namespace TechStacks.ServiceModel.Types
Public Enum TechnologyTier
ProgrammingLanguage
Client
Http
Server
Data
SoftwareInfrastructure
OperatingSystem
HardwareInfrastructure
ThirdPartyServices
End Enum
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv
Content-Type: text/csv
Content-Length: length
{"reload":false}
HTTP/1.1 200 OK Content-Type: text/csv 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"}}}