| GET | /api_metadata/{record_class} | ||
|---|---|---|---|
| GET | /api_metadata/{record_class}/{record_group_id} |
namespace WS_RESTRICTED_API
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type api_metadata() =
member val am_operation_type:String = null with get,set
member val am_operation_timestamp:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val am_record_class:String = null with get,set
member val am_record_group_id:Nullable<Int32> = new Nullable<Int32>() with get,set
member val am_record_id:String = null with get,set
member val am_record_json:String = null with get,set
[<AllowNullLiteral>]
type api_metadatasResponse() =
inherit ResizeArray<api_metadata>()
[<AllowNullLiteral>]
type api_metadatas() =
member val record_class:String = null with get,set
member val record_group_id:Nullable<Int32> = new Nullable<Int32>() with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api_metadata/{record_class} HTTP/1.1
Host: milliet.io
Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length []