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 .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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-01 } ], reportedPosts: [ { id: 0, organizationId: 0, postId: 0, userId: 0, userName: String, flagType: Violation, reportNotes: String, created: 0001-01-01, acknowledged: 0001-01-01, acknowledgedBy: String, dismissed: 0001-01-01, 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-01, acknowledged: 0001-01-01, acknowledgedBy: String, dismissed: 0001-01-01, 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 } } }