| GET | /{Workspace}/History/{OwningClass}/{OwningId} |
|---|
import Foundation
import ServiceStack
/**
* Returns an HTML report showing the history of changes for the object with Class = OwningClass, Id = OwningId.
*/
public class History : Codable
{
public var owningId:String
public var owningClass:String
public var workspace:String
required public init(){}
}
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 /{Workspace}/History/{OwningClass}/{OwningId} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv