| GET | /{Workspace}/apidoc/document/{Binding} |
|---|
namespace Field2Office.API.Model.Documentation
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ControlDocumentation() =
member val Binding:String = null with get,set
member val InputFormat:String = null with get,set
member val InputContraints:String = null with get,set
member val InputExample:String = null with get,set
///<summary>
///This dto documents a set of controls that match the given workspace and binding.
///</summary>
[<AllowNullLiteral>]
type BindingDocumentation() =
member val Workspace:String = null with get,set
member val Binding:String = null with get,set
member val Controls:ResizeArray<ControlDocumentation> = new ResizeArray<ControlDocumentation>() with get,set
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}/apidoc/document/{Binding} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv