I don't think we need the metadata (for now). To ease the development we make the data a first class attribute.
The specification reads:
{
data: [
{
"id" : "{portal id}",
"name": "{portal name}",
"description": "{portal description}",
"url": "/api/v1/portals/{portal id}"
}
]
count: 1
}
I propose:
[
{
"id" : "{portal id}",
"name": "{portal name}",
"description": "{portal description}",
"url": "/api/v1/portals/{portal id}"
}
]
I don't think we need the metadata (for now). To ease the development we make the data a first class attribute.
The specification reads:
I propose: