Required role: | Admin |
All Verbs | /sync/discourse/{Site} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Site | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TimeTaken | form | string | No | |
UserLogs | form | List<string> | No | |
PostsLogs | form | List<string> | No | |
ResponseStatus | form | ResponseStatus | 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.
POST /sync/discourse/{Site} HTTP/1.1
Host: techstacks.io
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
site: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { timeTaken: String, userLogs: [ String ], postsLogs: [ String ], responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } } }