Quiz: Sketching APIs
Test your knowledge about sketching APIs.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which option is a valid sketch for creating an API action given that the response messages are likely to have several link
elements in them?
A.
{
"link" : {"id" : "TestAPI", "href" : "http://api.example.org/start"}
}
B.
{
"links" : [
{"id" : "TestAPI", "href" : "http://api.example.org/start"}
]
}
C.
{
links : [
{id : "TestAPI", "href" : "http://api.example.org/start"}
]
}
D.
{
links : [
{id : "TestAPI", href : "http://api.example.org/start"}
]
}
1 / 3