| GET | /api_metadata/{record_class} | ||
|---|---|---|---|
| GET | /api_metadata/{record_class}/{record_group_id} |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports WS_RESTRICTED_API
Namespace Global
Namespace WS_RESTRICTED_API
Public Partial Class api_metadata
Public Overridable Property am_operation_type As String
Public Overridable Property am_operation_timestamp As Date?
Public Overridable Property am_record_class As String
Public Overridable Property am_record_group_id As Integer?
Public Overridable Property am_record_id As String
Public Overridable Property am_record_json As String
End Class
Public Partial Class api_metadatas
Public Overridable Property record_class As String
Public Overridable Property record_group_id As Integer?
End Class
Public Partial Class api_metadatasResponse
Inherits List(Of api_metadata)
End Class
End Namespace
End Namespace
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 []