TechStacks!

<back to all web services

GetOrganizationAdmin

Organization
Requires Authentication
The following routes are available for this service:
GET/orgs/{Id}/admin
GetOrganizationAdmin Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
GetOrganizationAdminResponse Parameters:
NameParameterData TypeRequiredDescription
LabelsformList<OrganizationLabel>No
MembersformList<OrganizationMember>No
MemberInvitesformList<OrganizationMemberInvite>No
ReportedPostsformList<PostReportInfo>No
ReportedPostCommentsformList<PostCommentReportInfo>No
ResponseStatusformResponseStatusNo
OrganizationLabel Parameters:
NameParameterData TypeRequiredDescription
SlugformstringNo
OrganizationIdformintNo
DescriptionformstringNo
ColorformstringNo
OrganizationMember Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
IsOwnerformboolNo
IsModeratorformboolNo
DenyAllformboolNo
DenyPostsformboolNo
DenyCommentsformboolNo
NotesformstringNo
OrganizationMemberInvite Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
DismissedformDateTime?No
PostReportInfo Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
OrganizationIdformintNo
PostIdformlongNo
UserIdformintNo
UserNameformstringNo
FlagTypeformFlagTypeNo
ReportNotesformstringNo
CreatedformDateTimeNo
AcknowledgedformDateTime?No
AcknowledgedByformstringNo
DismissedformDateTime?No
DismissedByformstringNo
TitleformstringNo
ReportCountformintNo
CreatedByformstringNo
FlagType Enum:
ViolationViolates Rules or Conduct
SpamThis is Spam
AbusiveThis is abusive or harmful
ConfidentialThis contains something private that shouldn't be posted in public
OffTopicThis is off topic
OtherOther Issues
PostCommentReportInfo Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
OrganizationIdformintNo
PostIdformlongNo
PostCommentIdformlongNo
UserIdformintNo
UserNameformstringNo
FlagTypeformFlagTypeNo
ReportNotesformstringNo
CreatedformDateTimeNo
AcknowledgedformDateTime?No
AcknowledgedByformstringNo
DismissedformDateTime?No
DismissedByformstringNo
ContentHtmlformstringNo
ReportCountformintNo
CreatedByformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

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

{"labels":[{"slug":"String","organizationId":0,"description":"String","color":"String"}],"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-01T00:00:00.0000000"}],"reportedPosts":[{"id":0,"organizationId":0,"postId":0,"userId":0,"userName":"String","flagType":"Violation","reportNotes":"String","created":"0001-01-01T00:00:00.0000000","acknowledged":"0001-01-01T00:00:00.0000000","acknowledgedBy":"String","dismissed":"0001-01-01T00:00:00.0000000","dismissedBy":"String","title":"String","reportCount":0,"createdBy":"String"}],"reportedPostComments":[{"id":0,"organizationId":0,"postId":0,"postCommentId":0,"userId":0,"userName":"String","flagType":"Violation","reportNotes":"String","created":"0001-01-01T00:00:00.0000000","acknowledged":"0001-01-01T00:00:00.0000000","acknowledgedBy":"String","dismissed":"0001-01-01T00:00:00.0000000","dismissedBy":"String","contentHtml":"String","reportCount":0,"createdBy":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}