TechStacks!

<back to all web services

SessionInfo

User
Requires Authentication
The following routes are available for this service:
All Verbs/my-session
SessionInfoResponse Parameters:
NameParameterData TypeRequiredDescription
CreatedformDateTimeNo
IdformstringNo
ReferrerUrlformstringNo
UserAuthIdformstringNo
UserAuthNameformstringNo
UserNameformstringNo
DisplayNameformstringNo
FirstNameformstringNo
LastNameformstringNo
EmailformstringNo
CreatedAtformDateTimeNo
LastModifiedformDateTimeNo
RolesformList<string>No
PermissionsformList<string>No
IsAuthenticatedformboolNo
AuthProviderformstringNo
ProfileUrlformstringNo
GithubProfileUrlformstringNo
TwitterProfileUrlformstringNo
AccessTokenformstringNo
AvatarUrlformstringNo
TechStacksformList<TechnologyStack>No
FavoriteTechStacksformList<TechnologyStack>No
FavoriteTechnologiesformList<Technology>No
UserActivityformUserActivityNo
MembersformList<OrganizationMember>No
MemberInvitesformList<OrganizationMemberInvite>No
SubscriptionsformList<OrganizationSubscription>No
ResponseStatusformResponseStatusNo
TechnologyStackBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringNo
VendorNameformstringNo
DescriptionformstringNo
AppUrlformstringNo
ScreenshotUrlformstringNo
CreatedformDateTimeNo
CreatedByformstringNo
LastModifiedformDateTimeNo
LastModifiedByformstringNo
IsLockedformboolNo
OwnerIdformstringNo
SlugformstringNo
DetailsformstringNo
DetailsHtmlformstringNo
LastStatusUpdateformDateTime?No
OrganizationIdformint?No
CommentsPostIdformlong?No
ViewCountformintNo
FavCountformintNo
TechnologyBase Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
NameformstringNo
VendorNameformstringNo
VendorUrlformstringNo
ProductUrlformstringNo
LogoUrlformstringNo
DescriptionformstringNo
CreatedformDateTimeNo
CreatedByformstringNo
LastModifiedformDateTimeNo
LastModifiedByformstringNo
OwnerIdformstringNo
SlugformstringNo
LogoApprovedformboolNo
IsLockedformboolNo
TierformTechnologyTierNo
LastStatusUpdateformDateTime?No
OrganizationIdformint?No
CommentsPostIdformlong?No
ViewCountformintNo
FavCountformintNo
TechnologyTier Enum:
ProgrammingLanguageProgramming Languages
ClientClient Libraries
HttpHTTP Server Technologies
ServerServer Libraries
DataDatabases and NoSQL Datastores
SoftwareInfrastructureServer Software
OperatingSystemOperating Systems
HardwareInfrastructureCloud/Hardware Infrastructure
ThirdPartyServices3rd Party APIs/Services
UserActivity Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserNameformstringNo
KarmaformintNo
TechnologyCountformintNo
TechStacksCountformintNo
PostsCountformintNo
PostUpVotesformintNo
PostDownVotesformintNo
CommentUpVotesformintNo
CommentDownVotesformintNo
PostCommentsCountformintNo
PinnedCommentCountformintNo
PostReportCountformintNo
PostCommentReportCountformintNo
CreatedformDateTimeNo
ModifiedformDateTimeNo
OrganizationMember Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
IsOwnerformboolNo
IsModeratorformboolNo
DenyAllformboolNo
DenyPostsformboolNo
DenyCommentsformboolNo
NotesformstringNo
OrganizationMemberInvite Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
DismissedformDateTime?No
OrganizationSubscription Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
PostTypesformstring[]No
FrequencyDaysformint?No
LastSyncedIdformlong?No
LastSyncedformDateTime?No
CreatedformDateTimeNo

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 /my-session HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	created: 0001-01-01,
	id: String,
	referrerUrl: String,
	userAuthId: String,
	userAuthName: String,
	userName: String,
	displayName: String,
	firstName: String,
	lastName: String,
	email: String,
	createdAt: 0001-01-01,
	lastModified: 0001-01-01,
	roles: 
	[
		String
	],
	permissions: 
	[
		String
	],
	isAuthenticated: False,
	authProvider: String,
	profileUrl: String,
	githubProfileUrl: String,
	twitterProfileUrl: String,
	accessToken: String,
	avatarUrl: String,
	techStacks: 
	[
		{
			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
		}
	],
	favoriteTechStacks: 
	[
		{
			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
		}
	],
	favoriteTechnologies: 
	[
		{
			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
		}
	],
	userActivity: 
	{
		id: 0,
		userName: String,
		karma: 0,
		technologyCount: 0,
		techStacksCount: 0,
		postsCount: 0,
		postUpVotes: 0,
		postDownVotes: 0,
		commentUpVotes: 0,
		commentDownVotes: 0,
		postCommentsCount: 0,
		pinnedCommentCount: 0,
		postReportCount: 0,
		postCommentReportCount: 0,
		created: 0001-01-01,
		modified: 0001-01-01
	},
	members: 
	[
		{
			id: 0,
			organizationId: 0,
			userId: 0,
			userName: String,
			isOwner: False,
			isModerator: False,
			denyAll: False,
			denyPosts: False,
			denyComments: False,
			notes: String
		}
	],
	memberInvites: 
	[
		{
			id: 0,
			organizationId: 0,
			userId: 0,
			userName: String,
			dismissed: 0001-01-01
		}
	],
	subscriptions: 
	[
		{
			id: 0,
			organizationId: 0,
			userId: 0,
			userName: String,
			postTypes: 
			[
				String
			],
			frequencyDays: 0,
			lastSyncedId: 0,
			lastSynced: 0001-01-01,
			created: 0001-01-01
		}
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}