TechStacks!

<back to all web services

GetOrganization

Organization
The following routes are available for this service:
GET/orgs/{Id}
GetOrganization Parameters:
NameParameterData TypeRequiredDescription
Idpathint?No
GetOrganizationResponse Parameters:
NameParameterData TypeRequiredDescription
CacheformlongNo
IdformintNo
SlugformstringNo
OrganizationformOrganizationNo
LabelsformList<OrganizationLabel>No
CategoriesformList<Category>No
OwnersformList<OrganizationMember>No
ModeratorsformList<OrganizationMember>No
MembersCountformlongNo
ResponseStatusformResponseStatusNo
Organization Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
SlugformstringNo
DescriptionformstringNo
DescriptionHtmlformstringNo
ColorformstringNo
TextColorformstringNo
LinkColorformstringNo
BackgroundColorformstringNo
BackgroundUrlformstringNo
LogoUrlformstringNo
HeroUrlformstringNo
LangformstringNo
DefaultPostTypeformstringNo
DefaultSubscriptionPostTypesformstring[]No
PostTypesformstring[]No
ModeratorPostTypesformstring[]No
DeletePostsWithReportCountformintNo
DisableInvitesformbool?No
UpVotesformlongNo
DownVotesformlongNo
ViewsformlongNo
FavoritesformlongNo
SubscribersformintNo
CommentsCountformintNo
PostsCountformintNo
ScoreformintNo
RankformintNo
RefIdformlong?No
RefSourceformstringNo
HiddenformDateTime?No
HiddenByformstringNo
LockedformDateTime?No
LockedByformstringNo
DeletedformDateTime?No
DeletedByformstringNo
CreatedformDateTimeNo
CreatedByformstringNo
ModifiedformDateTimeNo
ModifiedByformstringNo
OrganizationLabel Parameters:
NameParameterData TypeRequiredDescription
SlugformstringNo
OrganizationIdformintNo
DescriptionformstringNo
ColorformstringNo
Category Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
NameformstringNo
SlugformstringNo
DescriptionformstringNo
ColorformstringNo
TechnologyIdsformint[]No
CommentsCountformintNo
PostsCountformintNo
ScoreformintNo
RankformintNo
OrganizationMember Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
IsOwnerformboolNo
IsModeratorformboolNo
DenyAllformboolNo
DenyPostsformboolNo
DenyCommentsformboolNo
NotesformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /orgs/{Id} HTTP/1.1 
Host: techstacks.io 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"cache":0,"id":0,"slug":"String","organization":{"id":0,"name":"String","slug":"String","description":"String","descriptionHtml":"String","color":"String","textColor":"String","linkColor":"String","backgroundColor":"String","backgroundUrl":"String","logoUrl":"String","heroUrl":"String","lang":"String","defaultPostType":"String","defaultSubscriptionPostTypes":["String"],"postTypes":["String"],"moderatorPostTypes":["String"],"deletePostsWithReportCount":0,"disableInvites":false,"upVotes":0,"downVotes":0,"views":0,"favorites":0,"subscribers":0,"commentsCount":0,"postsCount":0,"score":0,"rank":0,"refId":0,"refSource":"String","hidden":"0001-01-01T00:00:00.0000000","hiddenBy":"String","locked":"0001-01-01T00:00:00.0000000","lockedBy":"String","deleted":"0001-01-01T00:00:00.0000000","deletedBy":"String","created":"0001-01-01T00:00:00.0000000","createdBy":"String","modified":"0001-01-01T00:00:00.0000000","modifiedBy":"String"},"labels":[{"slug":"String","organizationId":0,"description":"String","color":"String"}],"categories":[{"id":0,"organizationId":0,"name":"String","slug":"String","description":"String","color":"String","technologyIds":[0],"commentsCount":0,"postsCount":0,"score":0,"rank":0}],"owners":[{"id":0,"organizationId":0,"userId":0,"userName":"String","isOwner":false,"isModerator":false,"denyAll":false,"denyPosts":false,"denyComments":false,"notes":"String"}],"moderators":[{"id":0,"organizationId":0,"userId":0,"userName":"String","isOwner":false,"isModerator":false,"denyAll":false,"denyPosts":false,"denyComments":false,"notes":"String"}],"membersCount":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}