GET | /orgs/{Id}/admin |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Labels | form | List<OrganizationLabel> | No | |
Members | form | List<OrganizationMember> | No | |
MemberInvites | form | List<OrganizationMemberInvite> | No | |
ReportedPosts | form | List<PostReportInfo> | No | |
ReportedPostComments | form | List<PostCommentReportInfo> | No | |
ResponseStatus | form | ResponseStatus | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Slug | form | string | No | |
OrganizationId | form | int | No | |
Description | form | string | No | |
Color | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
OrganizationId | form | int | No | |
UserId | form | int | No | |
UserName | form | string | No | |
IsOwner | form | bool | No | |
IsModerator | form | bool | No | |
DenyAll | form | bool | No | |
DenyPosts | form | bool | No | |
DenyComments | form | bool | No | |
Notes | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
OrganizationId | form | int | No | |
UserId | form | int | No | |
UserName | form | string | No | |
Dismissed | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
OrganizationId | form | int | No | |
PostId | form | long | No | |
UserId | form | int | No | |
UserName | form | string | No | |
FlagType | form | FlagType | No | |
ReportNotes | form | string | No | |
Created | form | DateTime | No | |
Acknowledged | form | DateTime? | No | |
AcknowledgedBy | form | string | No | |
Dismissed | form | DateTime? | No | |
DismissedBy | form | string | No | |
Title | form | string | No | |
ReportCount | form | int | No | |
CreatedBy | form | string | No |
Violation | Violates Rules or Conduct |
Spam | This is Spam |
Abusive | This is abusive or harmful |
Confidential | This contains something private that shouldn't be posted in public |
OffTopic | This is off topic |
Other | Other Issues |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
OrganizationId | form | int | No | |
PostId | form | long | No | |
PostCommentId | form | long | No | |
UserId | form | int | No | |
UserName | form | string | No | |
FlagType | form | FlagType | No | |
ReportNotes | form | string | No | |
Created | form | DateTime | No | |
Acknowledged | form | DateTime? | No | |
AcknowledgedBy | form | string | No | |
Dismissed | form | DateTime? | No | |
DismissedBy | form | string | No | |
ContentHtml | form | string | No | |
ReportCount | form | int | No | |
CreatedBy | form | string | No |
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.
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"}}}