Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FetchMedia = ResultType("application/vnd.goa.fetch", func() {
Description("FetchResponse contains the HTTP status code returned by the fetched service and the href to the archived results in the archiver service")
TypeName("FetchMedia")
Attributes(func() {
Attribute("status", Int, "HTTP status code returned by fetched service", func() {
Minimum(0)
Example(200)
})
Attribute("archive_href", String, "The href to the corresponding archive in the archiver service", func() {
Pattern("^/archive/[0-9]+$")
Example("/archive/1")
})
Required("status", "archive_href")
})
View("default", func() {
Attribute("status")
Attribute("archive_href")
})
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.